]> git.pld-linux.org Git - packages/asc.git/blobdiff - asc.spec
- up to 1.15.3.0
[packages/asc.git] / asc.spec
index c5688768320145195af35f263f8c74d98e3a363f..eed411ae0cdf59771790d01fbf2d04d35f7dbd50 100644 (file)
--- a/asc.spec
+++ b/asc.spec
@@ -1,12 +1,16 @@
+# 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
@@ -23,11 +27,9 @@ BuildRequires:       autoconf
 BuildRequires: automake
 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.034396 seconds and 4 git commands to generate.