Author: lisu                         Date: Mon Oct  9 20:02:20 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- .desktop file added
- rel++

---- Files affected:
SPECS:
   pengupop.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/pengupop.spec
diff -u SPECS/pengupop.spec:1.1 SPECS/pengupop.spec:1.2
--- SPECS/pengupop.spec:1.1     Mon Oct  9 21:43:12 2006
+++ SPECS/pengupop.spec Mon Oct  9 22:02:14 2006
@@ -3,11 +3,12 @@
 Summary(pl):   Klon gry Bust a Move
 Name:          pengupop
 Version:       2.1.8
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://www.junoplay.com/files/%{name}-%{version}.tar.gz
 # Source0-md5: 9ee4366168973228d4790fd60e624f90
+Patch0:                %{name}-desktop.patch
 URL:           http://www.junoplay.com/
 BuildRequires: SDL-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,6 +27,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -36,10 +38,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -47,6 +53,8 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +62,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/09 20:02:14  lisu
+- .desktop file added
+- rel++
+
 Revision 1.1  2006/10/09 19:43:12  lisu
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pengupop.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to