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