]> git.pld-linux.org Git - packages/asc.git/blobdiff - asc.spec
- up to 1.15.3.0
[packages/asc.git] / asc.spec
index a17a0fbcb080f8404733899f1af23664d22b35be..eed411ae0cdf59771790d01fbf2d04d35f7dbd50 100644 (file)
--- a/asc.spec
+++ b/asc.spec
@@ -1,19 +1,23 @@
+# TODO:
+# - check build
+# package probalby Req:  paragui1-devel not paragui-devel
+
 Summary:       Advanced Strategic Command - a free, turn based strategy game
 Summary(pl):   Advanced Strategic Command - turowa gra strategiczna
 Name:          asc
-Version:       1.14.0.0
-Release:       1
+Version:       1.15.3.0
+Release:       0.1
 License:       GPL
 Group:         X11/Applications/Games/Strategy
-Source0:       http://unc.dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
-# Source0-md5: d0863303a7452226fcefafa5a7d31354
+Source0:       http://dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
+# Source0-md5: 5b1259915e48dfd9a44d5ac72ceaea6c
 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: c383139928613c7b081835c3d4a28fa8
+# Source3-md5: f0ab3c633f51430af0445ecaa02e3197
 Source4:       http://www.asc-hq.org/machine_wars.mp3
-# Source4-md5: f0ab3c633f51430af0445ecaa02e3197
+# Source4-md5: c383139928613c7b081835c3d4a28fa8
 URL:           http://www.asc-hq.org/
 BuildRequires: SDL-devel
 BuildRequires: SDL_image-devel
@@ -21,13 +25,11 @@ BuildRequires:      SDL_mixer-devel
 BuildRequires: SDLmm-devel
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libsigc++-devel
+BuildRequires: libsigc++12-devel
 BuildRequires: libtool
-BuildRequires: paragui-devel
+BuildRequires: paragui-devel >= 1.0.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _datadir        /usr/share
-
 %description
 ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
 It can be played against the computer or against other human players
@@ -45,10 +47,10 @@ Group:              X11/Applications/Games/Strategy
 Requires:      %{name}
 
 %description music
-Music for Advanced Strategic Command in mp3 format.
+Music for Advanced Strategic Command in MP3 format.
 
 %description music -l pl
-Muzyka do Advanced Strategic Command w formacie mp3.
+Muzyka do Advanced Strategic Command w formacie MP3.
 
 %prep
 %setup -q
@@ -60,7 +62,13 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE4} data/music
 #%{__aclocal}
 #%{__automake}
 #%{__autoconf}
+cp -f /usr/share/automake/config.sub .
+
+DISPLAY=:0
+export DISPLAY
+
 %configure
+
 %{__make}
 
 %install
@@ -90,4 +98,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_applnkdir}/Games/Strategy/*
 
 %files music
+%defattr(644,root,root,755)
 %{_datadir}/games/asc/music/*
This page took 0.046102 seconds and 4 git commands to generate.