SPECS (DEVEL): liquidwar6.spec - up to 0.0.3beta - new name (liquidwar -> l...

lisu lisu at pld-linux.org
Tue Jun 10 22:45:10 CEST 2008


Author: lisu                         Date: Tue Jun 10 20:45:10 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- up to 0.0.3beta
- new name (liquidwar -> liquidwar6)
- plenty of changes including new BRs, sed use, auto*
- remove old stuff from spec
- nfy 

---- Files affected:
SPECS:
   liquidwar6.spec (1.17 -> 1.17.2.1) 

---- Diffs:

================================================================
Index: SPECS/liquidwar6.spec
diff -u SPECS/liquidwar6.spec:1.17 SPECS/liquidwar6.spec:1.17.2.1
--- SPECS/liquidwar6.spec:1.17	Thu Jan 24 02:23:00 2008
+++ SPECS/liquidwar6.spec	Tue Jun 10 22:45:04 2008
@@ -1,26 +1,24 @@
 # $Revision$, $Date$
+%define	_beta	beta
 Summary:	A unique multiplayer wargame
 Summary(fr.UTF-8):	Un "wargame" multijoueur inédit
 Summary(de.UTF-8):	Ein einzigartiges Kriegspiel für mehrere Spieler
 Summary(pl.UTF-8):	Unikalna gra wojenna dla wielu graczy
-Name:		liquidwar
-Version:	5.6.4
-Release:	1
-License:	GPL v2+
+Name:		liquidwar6
+Version:	0.0.3
+Release:	0.%{_beta}.1
+License:	GPL v3+
 Group:		X11/Applications/Games
-Source0:	http://download.savannah.nongnu.org/releases/liquidwar/%{name}-%{version}.tar.gz
-# Source0-md5:	6917dd1026e6685404ffbd086f8ba374
-Patch0:		%{name}-man_fix.patch
-Patch1:		%{name}-desktop.patch
+Source0:	http://download.savannah.gnu.org/releases/liquidwar6/%{name}-%{version}%{_beta}.tar.gz
+# Source0-md5:	92c4fe0e0bc781ca1bdd0ec22a4c64e3
 URL:		http://www.ufoot.org/liquidwar/
-BuildRequires:	allegro-devel
-BuildRequires:	allegro-tools
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	python-modules
-BuildRequires:	tetex-dvips
-BuildRequires:	tetex-format-latex
-BuildRequires:	texinfo
+BuildRequires:	curl-devel
+BuildRequires:	guile-devel
+BuildRequires:	ncurses-devel
+BuildRequires:	sed >= 4.0
+BuildRequires:	sqlite3-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,26 +58,18 @@
 wielu graczy, też grających przez sieć.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{name}-%{version}%{_beta}
+%{__sed} -i -e 's#ncurses.h#ncurses/ncurses.h#' configure.ac
 
 %build
-cp -f %{_datadir}/automake/config.sub .
+%{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-%ifnarch %{ix86}
-	--disable-target-opt \
-	--disable-asm
-%endif
 
 %{__make}
 
-cd doc/man
-echo '.so liquidwar.6' > liquidwar-server.6
-echo '.so liquidwar.6' > liquidwar-mapgen.6
-cd ../..
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -89,23 +79,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p	/sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%postun	-p	/sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
 %files
 %defattr(644,root,root,755)
-%doc doc/html/*.html doc/txt/*.txt
-%attr(755,root,root) %{_prefix}/games/liquidwar*
-%attr(755,root,root) %{_bindir}/liquidwar
-%attr(755,root,root) %{_bindir}/liquidwar-server
-%{_datadir}/games/liquidwar
-%{_mandir}/man*/*
-%{_infodir}/liquidwar.info*
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
+#%doc doc/html/*.html doc/txt/*.txt
+#%attr(755,root,root) %{_prefix}/games/liquidwar*
+#%attr(755,root,root) %{_bindir}/liquidwar
+#%attr(755,root,root) %{_bindir}/liquidwar-server
+#%{_datadir}/games/liquidwar
+#%{_mandir}/man*/*
+#%{_infodir}/liquidwar.info*
+#%{_desktopdir}/*.desktop
+#%{_pixmapsdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -113,6 +97,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17.2.1  2008-06-10 20:45:04  lisu
+- up to 0.0.3beta
+- new name (liquidwar -> liquidwar6)
+- plenty of changes including new BRs, sed use, auto*
+- remove old stuff from spec
+- nfy
+
 Revision 1.17  2008-01-24 01:23:00  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/liquidwar6.spec?r1=1.17&r2=1.17.2.1&f=u



More information about the pld-cvs-commit mailing list