SPECS: k9copy.spec - added k9copy.desktop.patch - added missed ico...

rotom rotom at pld-linux.org
Thu Feb 16 13:52:04 CET 2006


Author: rotom                        Date: Thu Feb 16 12:52:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added k9copy.desktop.patch
- added missed icons files
- added en_GB lang file

---- Files affected:
SPECS:
   k9copy.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/k9copy.spec
diff -u SPECS/k9copy.spec:1.2 SPECS/k9copy.spec:1.3
--- SPECS/k9copy.spec:1.2	Thu Feb 16 03:35:21 2006
+++ SPECS/k9copy.spec	Thu Feb 16 13:51:59 2006
@@ -8,6 +8,7 @@
 Source0:	http://k9copy.free.fr/file.php?file=%{name}-%{version}.tar.gz
 # Source0-md5:	1eef6d87ff3cf91594c1a32615356cd0
 URL:		http://k9copy.free.fr/
+Patch0:		%{name}-desktop.patch
 BuildRequires:	dvdauthor
 BuildRequires:	kdelibs-devel
 BuildRequires:	libdvdcss
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -50,14 +52,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir},%{_desktopdir}/kde}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	prefix=%{_prefix} \
 	manprefix=%{_mandir}
+mv $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/k9copy.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
 
 %find_lang %{name} --all-name --with-kde
+echo '%lang(en) /usr/share/locale/en_GB/LC_MESSAGES/k9copy.mo' >> %{name}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,8 +70,8 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/libk9copy.so.0.0.0
-#%{_desktopdir}/k9copy.desktop
-%{_iconsdir}/hicolor/48x48/apps/k9copy.png
+%{_desktopdir}/kde/k9copy.desktop
+%{_iconsdir}/*/*x*/*/k9copy.png
 %{_datadir}/apps/k9copy/k9copyui.rc
 
 %files devel
@@ -82,6 +86,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/02/16 12:51:59  rotom
+- added k9copy.desktop.patch
+- added missed icons files
+- added en_GB lang file
+
 Revision 1.2  2006/02/16 02:35:21  mguevara
 - missing character in R: libdvdnav
 
================================================================

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



More information about the pld-cvs-commit mailing list