SPECS: warzone2100.spec - removed unsupported locales - cleanup

arvenil arvenil at pld-linux.org
Sun Jan 4 00:29:08 CET 2009


Author: arvenil                      Date: Sat Jan  3 23:29:07 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed unsupported locales
- cleanup

---- Files affected:
SPECS:
   warzone2100.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/warzone2100.spec
diff -u SPECS/warzone2100.spec:1.25 SPECS/warzone2100.spec:1.26
--- SPECS/warzone2100.spec:1.25	Thu Dec 25 10:43:17 2008
+++ SPECS/warzone2100.spec	Sun Jan  4 00:29:02 2009
@@ -1,4 +1,4 @@
-#$Revision$, $Date$
+# $Revision$, $Date$
 Summary:	3D realtime strategy on a future Earth
 Summary(pl.UTF-8):	Gra RTS, której akcja toczy się w przyszłości
 Name:		warzone2100
@@ -54,32 +54,36 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure --with-distributor="PLD"
+%configure \
+	--with-distributor="PLD" \
+	--docdir=%{_docdir}/%{name}-%{version} \
+	--with-icondir=%{_pixmapsdir}
 %{__make} \
 	OPENAL_LIBS="`openal-config --libs`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
         DESTDIR=$RPM_BUILD_ROOT
 
-install icons/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
-install icons/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+# there is already sv locale
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/sv_SE
+# unsupported ?
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/la
 
-%find_lang %{name} --all-name
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog doc/*
+%doc %{_docdir}/%{name}-%{version}
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{name}.*
+%{_pixmapsdir}/%{name}.png
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -87,6 +91,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2009/01/03 23:29:02  arvenil
+- removed unsupported locales
+- cleanup
+
 Revision 1.25  2008/12/25 09:43:17  qboosh
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/warzone2100.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list