]> git.pld-linux.org Git - packages/asc.git/blame_incremental - asc.spec
- converted to UTF-8
[packages/asc.git] / asc.spec
... / ...
CommitLineData
1# TODO:
2# - check build
3# package probalby Req: paragui1-devel not paragui-devel
4
5Summary: Advanced Strategic Command - a free, turn based strategy game
6Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna
7Name: asc
8Version: 1.15.3.0
9Release: 0.1
10License: GPL
11Group: X11/Applications/Games/Strategy
12Source0: http://dl.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
13# Source0-md5: 5b1259915e48dfd9a44d5ac72ceaea6c
14Source1: %{name}.desktop
15Source2: http://www.asc-hq.org/frontiers.mp3
16# Source2-md5: 560f5783836b309906e57e77417f3864
17Source3: http://www.asc-hq.org/time_to_strike.mp3
18# Source3-md5: f0ab3c633f51430af0445ecaa02e3197
19Source4: http://www.asc-hq.org/machine_wars.mp3
20# Source4-md5: c383139928613c7b081835c3d4a28fa8
21URL: http://www.asc-hq.org/
22BuildRequires: SDL-devel
23BuildRequires: SDL_image-devel
24BuildRequires: SDL_mixer-devel
25BuildRequires: SDLmm-devel
26BuildRequires: autoconf
27BuildRequires: automake
28BuildRequires: libsigc++12-devel
29BuildRequires: libtool
30BuildRequires: paragui-devel >= 1.0.1
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
35It can be played against the computer or against other human players
36(either hotseat or by mail).
37
38%description -l pl.UTF-8
39ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3.
40Grają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
44Summary: Music for Advanced Strategic Command
45Summary(pl.UTF-8): Muzyka do Advanced Strategic Command
46Group: X11/Applications/Games/Strategy
47Requires: %{name}
48
49%description music
50Music for Advanced Strategic Command in MP3 format.
51
52%description music -l pl.UTF-8
53Muzyka do Advanced Strategic Command w formacie MP3.
54
55%prep
56%setup -q
57
58cp %{SOURCE2} %{SOURCE3} %{SOURCE4} data/music
59
60%build
61#%{__libtoolize}
62#%{__aclocal}
63#%{__automake}
64#%{__autoconf}
65cp -f /usr/share/automake/config.sub .
66
67%configure
68
69%{__make}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78install data/legacy.con $RPM_BUILD_ROOT%{_datadir}/games/asc
79
80install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
81
82%clean
83rm -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.058177 seconds and 4 git commands to generate.