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