SPECS: opencity.spec - fixed as-needed patch, cleanup

qboosh qboosh at pld-linux.org
Thu Jan 3 16:33:07 CET 2008


Author: qboosh                       Date: Thu Jan  3 15:33:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed as-needed patch, cleanup

---- Files affected:
SPECS:
   opencity.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/opencity.spec
diff -u SPECS/opencity.spec:1.4 SPECS/opencity.spec:1.5
--- SPECS/opencity.spec:1.4	Tue Jan  1 15:50:18 2008
+++ SPECS/opencity.spec	Thu Jan  3 16:33:02 2008
@@ -1,7 +1,10 @@
 # $Revision$, $Date$
 #
-# TODO
-# - --disable-sdl-mixer option seems not working properly
+# TODO:
+# - unpackaged files:
+#    /etc/opencity/config/graphism.conf
+#    /etc/opencity/config/graphism.xml
+#    /etc/opencity/config/opencity.xml
 #
 # Conditional build:
 %bcond_without	SDL_mixer	# build without SDL_mixer
@@ -45,14 +48,13 @@
 %patch2 -p1
 
 %build
-rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
-	%{?without_SDL_mixer: --disable-sdl-mixer} \
-	LIBS="%{?with_SDL_mixer: -lSDL_mixer}"
+	%{!?with_SDL_mixer:--disable-sdl-mixer}
+
 %{__make}
 
 %install
@@ -72,11 +74,11 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO docs/*.txt
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/opencity
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
-%{_mandir}/man6/*
 %{_pixmapsdir}/%{name}.png
+%{_mandir}/man6/opencity.6*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-01-03 15:33:02  qboosh
+- fixed as-needed patch, cleanup
+
 Revision 1.4  2008-01-01 14:50:18  lisu
 - up to 0.0.5stable
 - better LIBS passing
@@ -105,4 +110,3 @@
 
 Revision 1.1  2006/10/29 15:52:53  lisu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opencity.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list