]> git.pld-linux.org Git - packages/asc.git/blame - asc.spec
- do not check for curl library (it doesn't work). add BR in spec instead
[packages/asc.git] / asc.spec
CommitLineData
89e235bb 1# TODO:
a50209ba 2# - check sounds - doesn't work for me
89e235bb 3
27adf597 4Summary: Advanced Strategic Command - a free, turn based strategy game
ced97a48 5Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna
27adf597 6Name: asc
0553e28b 7Version: 2.2.0.0
8Release: 1
a50209ba 9License: GPL v2+
27adf597 10Group: X11/Applications/Games/Strategy
a50209ba 11Source0: http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2
0553e28b 12# Source0-md5: a5207e63109bb81b432542d0b43e9970
27adf597 13Source1: %{name}.desktop
a50209ba 14Source2: %{name}.xpm
0553e28b 15Patch0: %{name}-configure.patch
ab7992a7 16URL: http://www.asc-hq.org/
0553e28b 17BuildRequires: SDL-devel >= 1.2.2
27adf597 18BuildRequires: SDL_image-devel
a50209ba 19BuildRequires: SDL_mixer-devel >= 1.2
20BuildRequires: SDL_sound-devel
0553e28b 21BuildRequires: autoconf
22BuildRequires: automake
5db7b0b5 23BuildRequires: boost-devel >= 1.35.0
e7358786 24BuildRequires: bzip2-devel >= 1.0.0
0553e28b 25BuildRequires: curl-devel >= 7.10.0
a50209ba 26BuildRequires: expat-devel
27BuildRequires: freetype-devel
28BuildRequires: libjpeg-devel
e7358786 29BuildRequires: libpng-devel
a50209ba 30BuildRequires: libsigc++12-devel >= 1.2
0553e28b 31BuildRequires: libtool >= 2:1.5
a50209ba 32BuildRequires: physfs-devel
e7358786 33BuildRequires: pkgconfig
0553e28b 34BuildRequires: zlib-devel
a50209ba 35Obsoletes: asc-music
27adf597
JK
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
27adf597 38%description
e8e0b55f 39ASC is a turn-based strategy game in the tradition of Battle Isle 2/3.
40It can be played against the computer or against other human players
41(either hotseat or by mail).
27adf597 42
d3f215ae 43%description -l pl.UTF-8
0553e28b 44ASC jest turową grą strategiczną mającą korzenie w Battle Isle
452/3. Grając w nią można się zmierzyć z komputerem lub z innym
46człowiekiem (przy jednym komputerze, lub przez pocztę).
47
48%package tools
49Summary: Tools for ASC
50Summary(pl.UTF-8): Narzedzia dla ASC
51Group: X11/Applications/Games/Strategy
52
53%description tools
54Map editor and other tools for ASC.
55
56%description tools -l pl.UTF-8
57Edytor map i inne narzedzia dla ASC
f58158f1 58
27adf597 59%prep
e8e0b55f 60%setup -q
0553e28b 61%patch0 -p1
e8e0b55f 62
27adf597 63%build
0553e28b 64%{__libtoolize}
65%{__aclocal}
66%{__autoconf}
67%{__autoheader}
68%{__automake}
e8e0b55f 69%configure
27adf597
JK
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
a50209ba 74install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
27adf597
JK
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
a50209ba 79install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
80install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
27adf597 81
27adf597
JK
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
0553e28b 87%doc ChangeLog source/TODO
a50209ba 88%attr(2755,root,games) %{_bindir}/%{name}
a50209ba 89%{_datadir}/games/%{name}
90%{_desktopdir}/%{name}.desktop
67320543 91%{_mandir}/man6/%{name}.6*
a50209ba 92%{_pixmapsdir}/%{name}.xpm
0553e28b 93
94%files tools
95%defattr(644,root,root,755)
96%attr(755,root,root) %{_bindir}/asc_demount
97%attr(755,root,root) %{_bindir}/asc_mapedit
98%attr(755,root,root) %{_bindir}/asc_mount
99%attr(755,root,root) %{_bindir}/asc_weaponguide
100%{_mandir}/man6/asc_demount.6*
101%{_mandir}/man6/asc_mapedit.6*
102%{_mandir}/man6/asc_mount.6*
103%{_mandir}/man6/asc_weaponguide.6*
This page took 0.545609 seconds and 4 git commands to generate.