]> git.pld-linux.org Git - packages/asc.git/blob - asc.spec
- removed all Group fields translations (oure rpm now can handle translating
[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.9.4.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://prdownloads.sourceforge.net/asc-hq/%{name}-source-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 URL:            http://www.asc-hq.org/
11 BuildRequires:  SDL-devel
12 BuildRequires:  SDL_image-devel
13 BuildRequires:  SDL_mixer-devel
14 BuildRequires:  SDLmm-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 ASC is a free, turn based strategy game. It is designed in the
24 tradition of the Battle Isle series from Bluebyte and is currently
25 available for Windows and Linux.
26
27 %description -l pl
28 ASC jest darmow±, turow± gr± strategiczn±. Zosta³a zaprojektowana
29 w tradycji serii Battle Isle firmy Bluebyte. Obecnie jest dostêpna
30 pod Windows i Linuksa.
31       
32 %prep
33 %setup -q
34
35 %build
36 aclocal
37 automake -a
38 autoconf
39 %configure CPPFLAGS="-I%{_includedir}" LDFLAGS="-L%{_libdir}"
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
50 install doc/manpages/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
51
52 # bug in make install, so we do it here
53 install data/*.con $RPM_BUILD_ROOT%{_datadir}/games/asc
54
55 gzip -9nf TODO README AUTHORS ChangeLog
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.gz doc/readme.* doc/graphics doc/*.html doc/*.css
63 %attr(2755,root,games) %{_bindir}/*
64 %{_datadir}/games/asc
65 %{_applnkdir}/Games/Strategy/*
66 %{_mandir}/man6/*
This page took 0.052206 seconds and 4 git commands to generate.