packages: linuxdcpp/linuxdcpp.spec - package additional files (icon, man pa...

gotar gotar at pld-linux.org
Sat Feb 4 13:07:23 CET 2012


Author: gotar                        Date: Sat Feb  4 12:07:23 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package additional files (icon, man page, locales), verbose %files

---- Files affected:
packages/linuxdcpp:
   linuxdcpp.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/linuxdcpp/linuxdcpp.spec
diff -u packages/linuxdcpp/linuxdcpp.spec:1.18 packages/linuxdcpp/linuxdcpp.spec:1.19
--- packages/linuxdcpp/linuxdcpp.spec:1.18	Sat Feb  4 12:55:21 2012
+++ packages/linuxdcpp/linuxdcpp.spec	Sat Feb  4 13:07:17 2012
@@ -41,7 +41,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/man1}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
@@ -49,17 +49,26 @@
 scons install \
 	FAKE_ROOT=$RPM_BUILD_ROOT
 
+install data/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install icons/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+
 rm -rf $RPM_BUILD_ROOT%{_docdir}/linuxdcpp
 
+%find_lang %{name} --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc Changelog.txt Credits.txt Readme.txt
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/linuxdcpp
-%{_desktopdir}/*.desktop
+%doc Changelog.txt Credits.txt Readme.txt data/magnet.protocol
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_iconsdir}/hicolor/*x*/apps/%{name}.png
+%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
+%{_pixmapsdir}/%{name}.xpm
+%{_mandir}/man1/%{name}.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2012/02/04 12:07:17  gotar
+- package additional files (icon, man page, locales), verbose %files
+
 Revision 1.18  2012/02/04 11:55:21  gotar
 - upgraded to 1.1.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/linuxdcpp/linuxdcpp.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list