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