]> git.pld-linux.org Git - packages/asc.git/blobdiff - asc.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/asc.git] / asc.spec
index a853c65f839401ebe77dc9a125fe4621d9776881..54d3f14a9d0e426303ee7fc6748f1f1732a6e74a 100644 (file)
--- a/asc.spec
+++ b/asc.spec
@@ -1,55 +1,68 @@
 Summary:       Advanced Strategic Command - a free, turn based strategy game
+Summary(pl):   Advanced Strategic Command - turowa gra strategiczna
 Name:          asc
-# there's 1.9.3 on ftp
-Version:       1.5.15beta
+Version:       1.9.4.3
 Release:       1
 License:       GPL
 Group:         X11/Applications/Games/Strategy
 Group(de):     X11/Applikationen/Spiele/Strategie
 Group(pl):     X11/Aplikacje/Gry/Strategiczne
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/asc-hq/develop/%{name}-1.5.15-beta.src.tar.gz
+Source0:       http://prdownloads.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
 Source1:       %{name}.desktop
-URL:           http://www.asc-hq.org
+URL:           http://www.asc-hq.org/
 BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRequires: SDLmm-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
 %define                _mandir         %{_prefix}/man
 
 %description
+ASC is a free, turn based strategy game. It is designed in the
+tradition of the Battle Isle series from Bluebyte and is currently
+available for Windows and Linux.
 
+%description -l pl
+ASC jest darmow±, turow± gr± strategiczn±. Zosta³a zaprojektowana
+w tradycji serii Battle Isle firmy Bluebyte. Obecnie jest dostêpna
+pod Windows i Linuksa.
+      
 %prep
-%setup -qn %{name}-1.5.14-beta
+%setup -q
 
 %build
-CPPFLAGS="-I%{_includedir}"; export CPPFLAGS
-LDFLAGS="-L%{_libdir}"; export CPPFLAGS
-%configure2_13
+aclocal
+automake -a
+autoconf
+%configure CPPFLAGS="-I%{_includedir}" LDFLAGS="-L%{_libdir}"
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_docdir}/%{name}-%{version}/html/graphics}
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
+install doc/manpages/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
 
-install doc/graphics/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/graphics/
-install doc/{*.html,*.css} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/
+# bug in make install, so we do it here
+install data/*.con $RPM_BUILD_ROOT%{_datadir}/games/asc
 
-gzip -9nf TODO
+gzip -9nf TODO README AUTHORS ChangeLog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc *.gz doc/readme.* doc/graphics doc/*.html doc/*.css
 %attr(2755,root,games) %{_bindir}/*
 %{_datadir}/games/asc
 %{_applnkdir}/Games/Strategy/*
+%{_mandir}/man6/*
This page took 0.131542 seconds and 4 git commands to generate.