SPECS: pioneers.spec - %lang for subpackage

wolvverine wolvverine at pld-linux.org
Mon Aug 6 13:27:23 CEST 2007


Author: wolvverine                   Date: Mon Aug  6 11:27:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %lang for subpackage

---- Files affected:
SPECS:
   pioneers.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/pioneers.spec
diff -u SPECS/pioneers.spec:1.5 SPECS/pioneers.spec:1.6
--- SPECS/pioneers.spec:1.5	Mon Aug  6 12:37:44 2007
+++ SPECS/pioneers.spec	Mon Aug  6 13:27:18 2007
@@ -3,6 +3,7 @@
 # - description, R, BR, ctrl+H in client
 # - add init file for server
 %define		_gamesdir	%{_datadir}/games
+%define		_gnomehelpsdir	%{_datadir}/gnome/help
 Summary:	Pioneers - emulation of the board game "The Settlers of Catan".
 Summary(pl.UTF-8):	Pioneers - emulacja planszowej gry "Osadnicy z Catanu".
 Name:		pioneers
@@ -122,7 +123,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %dir %{_gamesdir}/%{name}
@@ -145,9 +146,10 @@
 %attr(755,root,root) %{_bindir}/pioneers-server-console
 %{_mandir}/man6/pioneers-server-console.6.gz
 
-%files help 
+%files help -f  %{name}.lang
 %dir %{_omf_dest_dir}/%{name}
 %{_omf_dest_dir}/%{name}/pioneers-C.omf 
+%exclude %{_datadir}/locale
 
 %files ai
 %attr(755,root,root) %{_bindir}/pioneersai
@@ -158,7 +160,7 @@
 %attr(755,root,root) %{_bindir}/pioneers-meta-server
 %{_mandir}/man6/pioneers-meta-server.6.gz
 
-%files client
+%files client -f %{name}.lang
 %attr(755,root,root) %{_bindir}/pioneers
 %{_desktopdir}/pioneers.desktop
 %dir %{_gamesdir}/%{name}/themes
@@ -173,6 +175,7 @@
 %{_pixmapsdir}/%{name}/*.png
 %{_pixmapsdir}/pioneers.png
 %{_mandir}/man6/pioneers.6.gz
+%exclude %{_gnomehelpsdir}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -180,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/08/06 11:27:18  wolvverine
+- %lang for subpackage
+
 Revision 1.5  2007/08/06 10:37:44  wolvverine
 - subpackages, BR, NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pioneers.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list