packages: pykaraoke/pykaraoke.spec - -desktop.patch, place icon into proper...

lisu lisu at pld-linux.org
Thu Aug 27 16:48:18 CEST 2009


Author: lisu                         Date: Thu Aug 27 14:48:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- -desktop.patch, place icon into proper dir

---- Files affected:
packages/pykaraoke:
   pykaraoke.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/pykaraoke/pykaraoke.spec
diff -u packages/pykaraoke/pykaraoke.spec:1.8 packages/pykaraoke/pykaraoke.spec:1.9
--- packages/pykaraoke/pykaraoke.spec:1.8	Thu Aug 27 16:28:01 2009
+++ packages/pykaraoke/pykaraoke.spec	Thu Aug 27 16:48:12 2009
@@ -9,6 +9,7 @@
 Source0:	http://dl.sourceforge.net/pykaraoke/%{name}-%{version}.zip
 # Source0-md5:	28c57afe676f324030a1706f706d7e93
 Patch0:		%{name}-mid_charset.patch
+Patch1:		%{name}-desktop.patch
 URL:		http://www.kibosh.org/pykaraoke/
 BuildRequires:	SDL-devel
 BuildRequires:	python-pygame-devel
@@ -58,17 +59,21 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
+install icons/pykaraoke.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
@@ -82,6 +87,7 @@
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_desktopdir}/*.desktop
+%{_pixmapsdir}/%{name}.xpm
 %{py_sitedir}/*.py[co]
 %if "%{py_ver}" > "2.4"
 %{py_sitedir}/*.egg-info
@@ -93,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/08/27 14:48:12  lisu
+- -desktop.patch, place icon into proper dir
+
 Revision 1.8  2009/08/27 14:28:01  lisu
 - use compression macros, and %%py_postclean
 - include .egg-info
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pykaraoke/pykaraoke.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list