]> git.pld-linux.org Git - packages/asc.git/blob - asc.spec
- s/unc\.dl/dl/ in Source URL (unc is no longer browsable)
[packages/asc.git] / asc.spec
1 Summary:        Advanced Strategic Command - a free, turn based strategy game
2 Summary(pl):    Advanced Strategic Command - turowa gra strategiczna
3 Name:           asc
4 Version:        1.14.0.0
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
9 # Source0-md5:  d0863303a7452226fcefafa5a7d31354
10 Source1:        %{name}.desktop
11 Source2:        http://www.asc-hq.org/frontiers.mp3
12 # Source2-md5:  560f5783836b309906e57e77417f3864
13 Source3:        http://www.asc-hq.org/time_to_strike.mp3
14 # Source3-md5:  f0ab3c633f51430af0445ecaa02e3197
15 Source4:        http://www.asc-hq.org/machine_wars.mp3
16 # Source4-md5:  c383139928613c7b081835c3d4a28fa8
17 URL:            http://www.asc-hq.org/
18 BuildRequires:  SDL-devel
19 BuildRequires:  SDL_image-devel
20 BuildRequires:  SDL_mixer-devel
21 BuildRequires:  SDLmm-devel
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libsigc++12-devel
25 BuildRequires:  libtool
26 BuildRequires:  paragui-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
31 It can be played against the computer or against other human players
32 (either hotseat or by mail).
33
34 %description -l pl
35 ASC jest turow± gr± strategiczn± maj±c± korzenie w Battle Isle 2/3.
36 Graj±c w ni± mo¿na siê zmierzyæ z komputerem lub z innym cz³owiekiem
37 (przy jednym komputerze, lub przez pocztê).
38
39 %package music
40 Summary:        Music for Advanced Strategic Command
41 Summary(pl):    Muzyka do Advanced Strategic Command
42 Group:          X11/Applications/Games/Strategy
43 Requires:       %{name}
44
45 %description music
46 Music for Advanced Strategic Command in MP3 format.
47
48 %description music -l pl
49 Muzyka do Advanced Strategic Command w formacie MP3.
50
51 %prep
52 %setup -q
53
54 cp %{SOURCE2} %{SOURCE3} %{SOURCE4} data/music
55
56 %build
57 #%{__libtoolize}
58 #%{__aclocal}
59 #%{__automake}
60 #%{__autoconf}
61 cp -f /usr/share/automake/config.sub .
62
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install data/legacy.con $RPM_BUILD_ROOT%{_datadir}/games/asc
74
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS ChangeLog source/TODO doc/graphics doc/*.{html,css}
83 %attr(2755,root,games) %{_bindir}/asc
84 %attr(755,root,root) %{_bindir}/asc_mapedit
85 %dir %{_datadir}/games/asc
86 %dir %{_datadir}/games/asc/music
87 %{_datadir}/games/asc/*.gfx
88 %{_datadir}/games/asc/*.zip
89 %{_datadir}/games/asc/*.con
90 %{_applnkdir}/Games/Strategy/*
91
92 %files music
93 %defattr(644,root,root,755)
94 %{_datadir}/games/asc/music/*
This page took 0.075206 seconds and 4 git commands to generate.