SPECS: asc.spec - up to 2.0.1.0 version - remove music package - B...

lisu lisu at pld-linux.org
Tue Nov 6 01:52:15 CET 2007


Author: lisu                         Date: Tue Nov  6 00:52:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.0.1.0 version
- remove music package
- BRs updated
- changes in files section
- use icon

---- Files affected:
SPECS:
   asc.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/asc.spec
diff -u SPECS/asc.spec:1.31 SPECS/asc.spec:1.32
--- SPECS/asc.spec:1.31	Mon Feb 12 22:23:47 2007
+++ SPECS/asc.spec	Tue Nov  6 01:52:09 2007
@@ -1,34 +1,33 @@
 # $Revision$, $Date$
 # TODO:
-# - check build
-# package probalby Req:  paragui1-devel not paragui-devel
+# - 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:	1.15.3.0
+Version:	2.0.1.0
 Release:	0.1
-License:	GPL
+License:	GPL v2+
 Group:		X11/Applications/Games/Strategy
-Source0:	http://dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
-# Source0-md5:	5b1259915e48dfd9a44d5ac72ceaea6c
+Source0:	http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
+# Source0-md5:	2758e2bbbd5892ccba8d9b4ac5a6d6af
 Source1:	%{name}.desktop
-Source2:	http://www.asc-hq.org/frontiers.mp3
-# Source2-md5:	560f5783836b309906e57e77417f3864
-Source3:	http://www.asc-hq.org/time_to_strike.mp3
-# Source3-md5:	f0ab3c633f51430af0445ecaa02e3197
-Source4:	http://www.asc-hq.org/machine_wars.mp3
-# Source4-md5:	c383139928613c7b081835c3d4a28fa8
+Source2:	%{name}.xpm
 URL:		http://www.asc-hq.org/
-BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
-BuildRequires:	SDL_mixer-devel
-BuildRequires:	SDLmm-devel
+BuildRequires:	SDL_mixer-devel >= 1.2
+BuildRequires:	SDL_sound-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	libsigc++12-devel
+BuildRequires:	boost-regex-devel
+BuildRequires:	expat-devel
+BuildRequires:	freetype-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libsigc++12-devel >= 1.2
 BuildRequires:	libtool
-BuildRequires:	paragui-devel >= 1.0.1
+BuildRequires:	physfs-devel
+Obsoletes:	asc-music
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,63 +40,41 @@
 Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem
 (przy jednym komputerze, lub przez pocztę).
 
-%package music
-Summary:	Music for Advanced Strategic Command
-Summary(pl.UTF-8):	Muzyka do Advanced Strategic Command
-Group:		X11/Applications/Games/Strategy
-Requires:	%{name}
-
-%description music
-Music for Advanced Strategic Command in MP3 format.
-
-%description music -l pl.UTF-8
-Muzyka do Advanced Strategic Command w formacie MP3.
-
 %prep
 %setup -q
 
-cp %{SOURCE2} %{SOURCE3} %{SOURCE4} data/music
-
 %build
-#%{__libtoolize}
-#%{__aclocal}
-#%{__automake}
-#%{__autoconf}
-cp -f /usr/share/automake/config.sub .
-
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
-
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install data/legacy.con $RPM_BUILD_ROOT%{_datadir}/games/asc
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog source/TODO doc/graphics doc/*.{html,css}
-%attr(2755,root,games) %{_bindir}/asc
+%doc ChangeLog source/TODO 
+%attr(2755,root,games) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/asc_mapedit
-%dir %{_datadir}/games/asc
-%dir %{_datadir}/games/asc/music
-%{_datadir}/games/asc/*.gfx
-%{_datadir}/games/asc/*.zip
-%{_datadir}/games/asc/*.con
-%{_applnkdir}/Games/Strategy/*
-
-%files music
-%defattr(644,root,root,755)
-%{_datadir}/games/asc/music/*
+%{_datadir}/games/%{name}
+%{_desktopdir}/%{name}.desktop
+%{_mandir}/man6/%{name}.6.gz
+%{_mandir}/man6/asc_mapedit.6.gz
+%{_pixmapsdir}/%{name}.xpm
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +82,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2007/11/06 00:52:09  lisu
+- up to 2.0.1.0 version
+- remove music package
+- BRs updated
+- changes in files section
+- use icon
+
 Revision 1.31  2007/02/12 21:23:47  glen
 - tabs in preamble
 
================================================================

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



More information about the pld-cvs-commit mailing list