]> git.pld-linux.org Git - packages/asc.git/blame - asc.spec
- adapted for current specifications
[packages/asc.git] / asc.spec
CommitLineData
89e235bb 1# TODO:
a50209ba 2# - check sounds - doesn't work for me
3# - check unpacked files
89e235bb 4
27adf597 5Summary: Advanced Strategic Command - a free, turn based strategy game
ced97a48 6Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna
27adf597 7Name: asc
a50209ba 8Version: 2.0.1.0
89e235bb 9Release: 0.1
a50209ba 10License: GPL v2+
27adf597 11Group: X11/Applications/Games/Strategy
a50209ba 12Source0: http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
13# Source0-md5: 2758e2bbbd5892ccba8d9b4ac5a6d6af
27adf597 14Source1: %{name}.desktop
a50209ba 15Source2: %{name}.xpm
ab7992a7 16URL: http://www.asc-hq.org/
27adf597 17BuildRequires: SDL_image-devel
a50209ba 18BuildRequires: SDL_mixer-devel >= 1.2
19BuildRequires: SDL_sound-devel
ab7992a7
JB
20BuildRequires: autoconf
21BuildRequires: automake
a50209ba 22BuildRequires: boost-regex-devel
23BuildRequires: expat-devel
24BuildRequires: freetype-devel
25BuildRequires: libjpeg-devel
26BuildRequires: libsigc++12-devel >= 1.2
8e8df233 27BuildRequires: libtool
a50209ba 28BuildRequires: physfs-devel
29Obsoletes: asc-music
27adf597
JK
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
27adf597 32%description
e8e0b55f 33ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
34It can be played against the computer or against other human players
35(either hotseat or by mail).
27adf597 36
d3f215ae
JR
37%description -l pl.UTF-8
38ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3.
39Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem
40(przy jednym komputerze, lub przez pocztę).
f58158f1 41
27adf597 42%prep
e8e0b55f 43%setup -q
44
27adf597 45%build
a50209ba 46%{__libtoolize}
47%{__aclocal}
48%{__autoconf}
49%{__autoheader}
50%{__automake}
e8e0b55f 51%configure
27adf597
JK
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
a50209ba 56install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
27adf597
JK
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
a50209ba 61install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
62install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
27adf597 63
27adf597
JK
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
a50209ba 69%doc ChangeLog source/TODO
70%attr(2755,root,games) %{_bindir}/%{name}
e8e0b55f 71%attr(755,root,root) %{_bindir}/asc_mapedit
a50209ba 72%{_datadir}/games/%{name}
73%{_desktopdir}/%{name}.desktop
74%{_mandir}/man6/%{name}.6.gz
75%{_mandir}/man6/asc_mapedit.6.gz
76%{_pixmapsdir}/%{name}.xpm
This page took 0.079484 seconds and 4 git commands to generate.