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