]> git.pld-linux.org Git - packages/asc.git/blame - asc.spec
- more BRs
[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
e7358786 20BuildRequires: SDL-devel >= 1.2.2
ab7992a7
JB
21BuildRequires: autoconf
22BuildRequires: automake
a50209ba 23BuildRequires: boost-regex-devel
e7358786 24BuildRequires: bzip2-devel >= 1.0.0
a50209ba 25BuildRequires: expat-devel
26BuildRequires: freetype-devel
27BuildRequires: libjpeg-devel
e7358786 28BuildRequires: libpng-devel
a50209ba 29BuildRequires: libsigc++12-devel >= 1.2
e7358786 30BuildRequires: libtool >= 2:1.5
a50209ba 31BuildRequires: physfs-devel
e7358786 32BuildRequires: pkgconfig
a50209ba 33Obsoletes: asc-music
27adf597
JK
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
27adf597 36%description
e8e0b55f 37ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
38It can be played against the computer or against other human players
39(either hotseat or by mail).
27adf597 40
d3f215ae
JR
41%description -l pl.UTF-8
42ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3.
43Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem
44(przy jednym komputerze, lub przez pocztę).
f58158f1 45
27adf597 46%prep
e8e0b55f 47%setup -q
48
27adf597 49%build
a50209ba 50%{__libtoolize}
51%{__aclocal}
52%{__autoconf}
53%{__autoheader}
54%{__automake}
e8e0b55f 55%configure
27adf597
JK
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
a50209ba 60install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
27adf597
JK
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
a50209ba 65install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
66install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
27adf597 67
27adf597
JK
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
a50209ba 73%doc ChangeLog source/TODO
74%attr(2755,root,games) %{_bindir}/%{name}
e8e0b55f 75%attr(755,root,root) %{_bindir}/asc_mapedit
a50209ba 76%{_datadir}/games/%{name}
77%{_desktopdir}/%{name}.desktop
67320543
JB
78%{_mandir}/man6/%{name}.6*
79%{_mandir}/man6/asc_mapedit.6*
a50209ba 80%{_pixmapsdir}/%{name}.xpm
This page took 0.390789 seconds and 4 git commands to generate.