SPECS: pingus.spec - added opt patch, pass optflags - general cleanup
qboosh
qboosh at pld-linux.org
Fri Sep 14 23:41:55 CEST 2007
Author: qboosh Date: Fri Sep 14 21:41:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added opt patch, pass optflags
- general cleanup
---- Files affected:
SPECS:
pingus.spec (1.48 -> 1.49)
---- Diffs:
================================================================
Index: SPECS/pingus.spec
diff -u SPECS/pingus.spec:1.48 SPECS/pingus.spec:1.49
--- SPECS/pingus.spec:1.48 Thu Aug 30 22:23:30 2007
+++ SPECS/pingus.spec Fri Sep 14 23:41:50 2007
@@ -1,9 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# - xorg deps
-# - install po files in proper directory (needed?)
-# - are we need post and postun sections?
-
Summary: Pingus, a lemmings style game with penguins
Summary(pl.UTF-8): Gra typu lemmingi z pingwinami w roli głównej
Summary(pt_BR.UTF-8): Um clone de lemmings com pingüins
@@ -16,6 +11,7 @@
# Source0-md5: d967a3c233aa094236eb2ce6a3e20dd8
Source1: %{name}.desktop
Source2: %{name}.png
+Patch0: %{name}-opt.patch
URL: http://pingus.seul.org/
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: SDL_image-devel
@@ -23,10 +19,8 @@
BuildRequires: boost-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
-BuildRequires: physfs-devel
-BuildRequires: sed >= 4.0
+BuildRequires: rpmbuild(macros) >= 1.385
BuildRequires: scons
-Requires: guile
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -41,11 +35,15 @@
%prep
%setup -q
+%patch0 -p1
+# note: it loads *.po files directly, no need to use msgfmt
mv -f data/po/sr{, at Latn}.po
+mv -f data/po/{no,nb}.po
+rm -f data/po/pingus.pot
%build
-scons
+%scons
%install
rm -rf $RPM_BUILD_ROOT
@@ -59,12 +57,6 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
-
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
-
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS TODO
@@ -79,6 +71,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.49 2007/09/14 21:41:50 qboosh
+- added opt patch, pass optflags
+- general cleanup
+
Revision 1.48 2007/08/30 20:23:30 cactus
BR: physfs-devel
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pingus.spec?r1=1.48&r2=1.49&f=u
More information about the pld-cvs-commit
mailing list