SPECS: asc.spec - up to 2.2.0.0 - remove macro which checks curl dep (-conf...

lisu lisu at pld-linux.org
Mon Dec 15 14:19:20 CET 2008


Author: lisu                         Date: Mon Dec 15 13:19:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.2.0.0
- remove macro which checks curl dep (-configure.patch)
- BR: curl-devel, zlib-devel
- autotools work again
- add tools package 

---- Files affected:
SPECS:
   asc.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/asc.spec
diff -u SPECS/asc.spec:1.36 SPECS/asc.spec:1.37
--- SPECS/asc.spec:1.36	Tue Apr 29 16:06:06 2008
+++ SPECS/asc.spec	Mon Dec 15 14:19:14 2008
@@ -1,36 +1,38 @@
 # $Revision$, $Date$
 # TODO:
 # - check sounds - doesn't work for me
-# - check unpacked files
 
 Summary:	Advanced Strategic Command - a free, turn based strategy game
 Summary(pl.UTF-8):	Advanced Strategic Command - turowa gra strategiczna
 Name:		asc
-Version:	2.1.0.0
-Release:	0.1
+Version:	2.2.0.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games/Strategy
 Source0:	http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
-# Source0-md5:	d76cf500bebdddd8e7d2a094b532e6af
+# Source0-md5:	a5207e63109bb81b432542d0b43e9970
 Source1:	%{name}.desktop
 Source2:	%{name}.xpm
+Patch0:		%{name}-configure.patch
 URL:		http://www.asc-hq.org/
+BuildRequires:	SDL-devel >= 1.2.2
 BuildRequires:	SDL_image-devel
 BuildRequires:	SDL_mixer-devel >= 1.2
 BuildRequires:	SDL_sound-devel
-BuildRequires:	SDL-devel >= 1.2.2
-#BuildRequires:	autoconf
-#BuildRequires:	automake
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	boost-devel >= 1.35.0
 BuildRequires:	bzip2-devel >= 1.0.0
+BuildRequires:	curl-devel >= 7.10.0
 BuildRequires:	expat-devel
 BuildRequires:	freetype-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libsigc++12-devel >= 1.2
-#BuildRequires:	libtool >= 2:1.5
+BuildRequires:	libtool >= 2:1.5
 BuildRequires:	physfs-devel
 BuildRequires:	pkgconfig
+BuildRequires:	zlib-devel
 Obsoletes:	asc-music
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,21 +42,31 @@
 (either hotseat or by mail).
 
 %description -l pl.UTF-8
-ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3.
-Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem
-(przy jednym komputerze, lub przez pocztę).
+ASC jest turową grą strategiczną mającą korzenie w Battle Isle
+2/3. Grając w nią można się zmierzyć z komputerem lub z innym
+człowiekiem (przy jednym komputerze, lub przez pocztę).
+
+%package tools
+Summary:	Tools for ASC
+Summary(pl.UTF-8):	Narzedzia dla ASC
+Group:		X11/Applications/Games/Strategy
+
+%description tools
+Map editor and other tools for ASC.
+
+%description tools -l pl.UTF-8
+Edytor map i inne narzedzia dla ASC
 
 %prep
 %setup -q
+%patch0 -p1
 
-# some problems with autotools in this version,
-# probably different versions of one of the build tools
 %build
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -73,21 +85,37 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog source/TODO 
+%doc ChangeLog source/TODO
 %attr(2755,root,games) %{_bindir}/%{name}
-%attr(755,root,root) %{_bindir}/asc_mapedit
 %{_datadir}/games/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_mandir}/man6/%{name}.6*
-%{_mandir}/man6/asc_mapedit.6*
 %{_pixmapsdir}/%{name}.xpm
 
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/asc_demount
+%attr(755,root,root) %{_bindir}/asc_mapedit
+%attr(755,root,root) %{_bindir}/asc_mount
+%attr(755,root,root) %{_bindir}/asc_weaponguide
+%{_mandir}/man6/asc_demount.6*
+%{_mandir}/man6/asc_mapedit.6*
+%{_mandir}/man6/asc_mount.6*
+%{_mandir}/man6/asc_weaponguide.6*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2008/12/15 13:19:14  lisu
+- up to 2.2.0.0
+- remove macro which checks curl dep (-configure.patch)
+- BR: curl-devel, zlib-devel
+- autotools work again
+- add tools package
+
 Revision 1.36  2008/04/29 14:06:06  pluto
 - reorganize boost BRs (boost-devel >= 1.35.0).
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asc.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list