SPECS: wrogue.spec - up to 0.7.7b version - make release, not debu...
lisu
lisu at pld-linux.org
Thu Nov 1 18:45:41 CET 2007
Author: lisu Date: Thu Nov 1 17:45:41 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.7.7b version
- make release, not debug version
- proper Group
- pass LDFLAGS
---- Files affected:
SPECS:
wrogue.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/wrogue.spec
diff -u SPECS/wrogue.spec:1.4 SPECS/wrogue.spec:1.5
--- SPECS/wrogue.spec:1.4 Tue Mar 13 10:51:25 2007
+++ SPECS/wrogue.spec Thu Nov 1 18:45:36 2007
@@ -2,12 +2,12 @@
Summary: A gothic fantasy roguelike game
Summary(pl.UTF-8): Gotycka gra fantasy typu rogue
Name: wrogue
-Version: 0.7.2b
+Version: 0.7.7b
Release: 1
License: GPL v2+
-Group: X11/Applications/Games
+Group: Applications/Games
Source0: http://dl.sourceforge.net/todoom/%{name}-%{version}.tar.bz2
-# Source0-md5: c406145c0bae4837fc111ee629db799d
+# Source0-md5: 928d1e7bcf4531f15b7473d9e29d0544
Source1: %{name}.desktop
Source2: %{name}.xpm
Patch0: %{name}-makefile.patch
@@ -27,13 +27,15 @@
%prep
%setup -q
%patch0 -p1
-%{__sed} -i 's at ./data@%{_datadir}/%{name}/data@' src/unix/be_unix.c
+%{__sed} -i 's at ./data@%{_datadir}/%{name}/data@' src/platform/unix/pl_unix.c
%build
cd src/
-%{__make} -f unixgcc.mak install \
+%{__make} -f unix.mak \
CC="%{__cc}" \
- OPTFLAGS="%{rpmcflags}"
+ OPTFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags} `sdl-config --libs`" \
+ MAKECMDGOALS="release"
%install
rm -rf $RPM_BUILD_ROOT
@@ -49,7 +51,7 @@
%files
%defattr(644,root,root,755)
-%doc changes.txt readme.txt
+%doc changes.txt
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}
%{_desktopdir}/%{name}.desktop
@@ -61,6 +63,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/11/01 17:45:36 lisu
+- up to 0.7.7b version
+- make release, not debug version
+- proper Group
+- pass LDFLAGS
+
Revision 1.4 2007/03/13 09:51:25 sparky
- place # SourceN-md5: just after SourceN:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wrogue.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list