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