]> git.pld-linux.org Git - packages/asc.git/blame_incremental - asc.spec
- files fix
[packages/asc.git] / asc.spec
... / ...
CommitLineData
1# TODO:
2# - check sounds - doesn't work for me
3# - check unpacked files
4
5Summary: Advanced Strategic Command - a free, turn based strategy game
6Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna
7Name: asc
8Version: 2.0.1.0
9Release: 0.1
10License: GPL v2+
11Group: X11/Applications/Games/Strategy
12Source0: http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
13# Source0-md5: 2758e2bbbd5892ccba8d9b4ac5a6d6af
14Source1: %{name}.desktop
15Source2: %{name}.xpm
16URL: http://www.asc-hq.org/
17BuildRequires: SDL_image-devel
18BuildRequires: SDL_mixer-devel >= 1.2
19BuildRequires: SDL_sound-devel
20BuildRequires: autoconf
21BuildRequires: automake
22BuildRequires: boost-regex-devel
23BuildRequires: expat-devel
24BuildRequires: freetype-devel
25BuildRequires: libjpeg-devel
26BuildRequires: libsigc++12-devel >= 1.2
27BuildRequires: libtool
28BuildRequires: physfs-devel
29Obsoletes: asc-music
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
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).
36
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ę).
41
42%prep
43%setup -q
44
45%build
46%{__libtoolize}
47%{__aclocal}
48%{__autoconf}
49%{__autoheader}
50%{__automake}
51%configure
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
62install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
69%doc ChangeLog source/TODO
70%attr(2755,root,games) %{_bindir}/%{name}
71%attr(755,root,root) %{_bindir}/asc_mapedit
72%{_datadir}/games/%{name}
73%{_desktopdir}/%{name}.desktop
74%{_mandir}/man6/%{name}.6*
75%{_mandir}/man6/asc_mapedit.6*
76%{_pixmapsdir}/%{name}.xpm
This page took 0.096047 seconds and 4 git commands to generate.