SPECS: smplayer.spec - more %files - better %install

shadzik shadzik at pld-linux.org
Thu Mar 15 17:54:59 CET 2007


Author: shadzik                      Date: Thu Mar 15 16:54:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more %files
- better %install

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

---- Diffs:

================================================================
Index: SPECS/smplayer.spec
diff -u SPECS/smplayer.spec:1.1 SPECS/smplayer.spec:1.2
--- SPECS/smplayer.spec:1.1	Thu Mar 15 17:45:39 2007
+++ SPECS/smplayer.spec	Thu Mar 15 17:54:53 2007
@@ -39,10 +39,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	PREFIX=$RPM_BUILD_ROOT%{_prefix} \
-	KDE_PREFIX=$RPM_BUILD_ROOT%{_prefix} \
-	CONF_PREFIX=$RPM_BUILD_ROOT%{_prefix}
+	PREFIX=$RPM_BUILD_ROOT%{_prefix}/ \
+	KDE_PREFIX=$RPM_BUILD_ROOT%{_prefix}/ \
+	CONF_PREFIX=$RPM_BUILD_ROOT%{_prefix}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,6 +49,16 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/smplayer.desktop
+%{_docdir}/packages/smplayer/Changelog
+%{_docdir}/packages/smplayer/Copying.txt
+%{_docdir}/packages/smplayer/Not_so_obvious_things.txt
+%{_docdir}/packages/smplayer/README.txt
+%{_iconsdir}/hicolor/*/apps/smplayer.png
+%{_datadir}/smplayer/input.conf
+%lang(de) %{_datadir}/smplayer/translations/smplayer_de.qm
+%lang(es) %{_datadir}/smplayer/translations/smplayer_es.qm
+%lang(sk) %{_datadir}/smplayer/translations/smplayer_sk.qm
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,6 +66,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/03/15 16:54:53  shadzik
+- more %files
+- better %install
+
 Revision 1.1  2007/03/15 16:45:39  shadzik
 - initial
 - NFY
================================================================

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



More information about the pld-cvs-commit mailing list