SPECS: ultimatestunts.spec - up to 0.5.5 - removed separate data p...
patrys
patrys at pld-linux.org
Thu Jul 21 21:33:57 CEST 2005
Author: patrys Date: Thu Jul 21 19:33:57 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.5.5
- removed separate data package (now distributed with sources)
- commented the gcc patch (does not apply and I'm not sure if it's still needed)
- reverted config file to it's original location, maintaining this patch would be a major PITA, symlinked to /etc instead
- this game is 3vil and I'd love to rewrite the makefile from scratch
---- Files affected:
SPECS:
ultimatestunts.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/ultimatestunts.spec
diff -u SPECS/ultimatestunts.spec:1.7 SPECS/ultimatestunts.spec:1.8
--- SPECS/ultimatestunts.spec:1.7 Thu Jul 21 16:40:53 2005
+++ SPECS/ultimatestunts.spec Thu Jul 21 21:33:52 2005
@@ -1,22 +1,21 @@
# $Revision$, $Date$
-%define src_ver 0461
-%define data_ver 0461
+%define src_ver 0551
Summary: Remake of the famous game stunts
Summary(pl): Nowa wersja sławnej gry stunts
Name: ultimatestunts
-Version: 0.4.6
+Version: 0.5.5
Release: 1
License: GPL
Group: X11/Applications/Games
-Source0: http://dl.sourceforge.net/ultimatestunts/%{name}-src-%{src_ver}.tar.gz
-# Source0-md5: ad068409b5dde905d481a7dbee702a0f
-Source1: http://dl.sourceforge.net/ultimatestunts/%{name}-data-%{data_ver}.tar.gz
-# Source1-md5: 44fcbb1329864f8cf74b4ee75a71bffc
+Source0: http://dl.sourceforge.net/ultimatestunts/%{name}-srcdata-%{src_ver}.tar.gz
+# Source0-md5: fc2098a0cad33408e9acf339924488c8
Patch0: %{name}-directories.patch
-Patch1: %{name}-gcc34.patch
+#Patch1: %{name}-gcc34.patch
URL: http://www.ultimatestunts.nl/
+Obsoletes: %{name}-data
+BuildRequires: OpenAL-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: autoconf
@@ -44,28 +43,17 @@
Ta, nowsza wersja daje więcej nowych urozmaiceń, takich jak grafika
OpenGL, dźwięk 3D, czy gra przez Internet.
-%package data
-Summary: Data files for UltimateStunts
-Summary(pl): Pliki z danymi dla UltimateStunts
-Group: X11/Applications/Games
-Requires: %{name} = %{version}-%{release}
-
-%description data
-Data files for UltimateStunts.
-
-%description data -l pl
-Pliki z danymi dla UltimateStunts.
-
%prep
-%setup -q -n %{name}-src-%{src_ver} -a 1
+%setup -q -n %{name}-srcdata-%{src_ver}
%patch0 -p1
-%patch1 -p1
+#%%patch1 -p1
%build
-rm -rf autom4te.cache
+# Warning: internal automake voodoo performed
+#rm -rf autom4te.cache
%{__aclocal}
%{__autoconf}
-%{__automake}
+#%%{__automake}
%configure
%{__make}
@@ -74,11 +62,12 @@
install -d $RPM_BUILD_ROOT{%{_datadir}/games/%{name},%{_sysconfdir}}
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ bindir=$RPM_BUILD_ROOT/%{_bindir} \
+ datadir=$RPM_BUILD_ROOT/%{_datadir}
-cp -R cars environment music sounds textures tiles tracks \
- $RPM_BUILD_ROOT%{_datadir}/games/%{name}
-install %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
+rm -f $RPM_BUILD_ROOT%{_datadir}/games/%{name}/data/Makefile*
+
+ln -s %{_datadir}/games/%{name}/ultimatestunts.conf $RPM_BUILD_ROOT%{_sysconfdir}/ultimatestunts.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -87,10 +76,10 @@
%defattr(644,root,root,755)
%doc AUTHORS README
%attr(755,root,root) %{_bindir}/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
+# Just a symlink
+%attr(755,root,root) %{_sysconfdir}/*
+%config(noreplace) %verify(not size mtime md5) %{_datadir}/games/%{name}/*.conf
-%files data
-%defattr(644,root,root,755)
%{_datadir}/games/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -99,6 +88,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/07/21 19:33:52 patrys
+- up to 0.5.5
+- removed separate data package (now distributed with sources)
+- commented the gcc patch (does not apply and I'm not sure if it's still needed)
+- reverted config file to it's original location, maintaining this patch would be a major PITA, symlinked to /etc instead
+- this game is 3vil and I'd love to rewrite the makefile from scratch
+
Revision 1.7 2005/07/21 14:40:53 darekr
- gpm-friendly Sources
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ultimatestunts.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list