]> git.pld-linux.org Git - packages/freelords.git/blame - freelords.spec
- better %description (pl)
[packages/freelords.git] / freelords.spec
CommitLineData
4c40eaf4 1Summary: Turn-based strategy game
4498a681 2Summary(pl.UTF-8): Turowa gra strategiczna
04679ce6 3Name: freelords
5bd055e7 4Version: 0.3.8
386f91c7 5Release: 2
4c40eaf4 6License: GPL v2+
93c56140 7Group: X11/Applications/Games/Strategy
0d69119b 8Source0: http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2
5bd055e7 9# Source0-md5: e8b0047cd9410d0b33607a206e816c50
9874fcb3 10Source1: %{name}rc.conf
19f18ddb 11Patch0: %{name}-configure_in.patch
6135e7a7 12Patch1: %{name}-types.patch
4c40eaf4 13Patch2: %{name}-undefined_macros.patch
43d7903c 14Patch3: %{name}-desktop.patch
5bd055e7 15Patch4: %{name}-mkinstalldirs.patch
386f91c7 16Patch5: %{name}-makefileam.patch
4c40eaf4 17URL: http://freelords.sourceforge.net/
0d69119b 18BuildRequires: SDL_image-devel >= 1.2.0
d5eb67bb
JB
19BuildRequires: autoconf
20BuildRequires: automake
6396eb8e 21BuildRequires: libsigc++12-devel >= 1.2.1
13ea7692 22BuildRequires: libstdc++-devel
d5eb67bb 23BuildRequires: libtool
960dd1cf 24BuildRequires: paragui-devel >= 1.1.8
7f642762 25BuildRequires: pkgconfig
13ea7692 26BuildRequires: qt-devel >= 2.2.0
04679ce6
AM
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
04679ce6 29%description
93c56140
JB
30FreeLords is a turn-based strategy game. There can be various goals to
31achieve like e.g.: destroying all enemies, gathering a specific amount
32of money, occupying a certain city, ...
04679ce6 33
498d9075 34%description -l pl.UTF-8
386f91c7 35FreeLords to turowa gra strategiczna wzorowana na klasycznej grze
36Warlords. Cele gry mogą być różne np. zniszczenie wszystkich
37przeciwników, zebranie określonej sumy pieniędzy, okupacja określonego
38miasta i inne.
04679ce6
AM
39
40%prep
13ea7692 41%setup -q
4c40eaf4 42%patch0 -p1
6135e7a7 43%patch1 -p1
4c40eaf4 44%patch2 -p1
43d7903c 45%patch3 -p1
5bd055e7 46%patch4 -p1
386f91c7 47%patch5 -p1
04679ce6
AM
48
49%build
40d54b7f 50%{__libtoolize}
386f91c7 51%{__aclocal} -I m4
40d54b7f 52%{__autoconf}
9874fcb3 53%{__automake}
960dd1cf 54%configure
ef9db29a 55%{__make}
04679ce6
AM
56
57%install
58rm -rf $RPM_BUILD_ROOT
43d7903c 59install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
dbe3e1e0 60
85ed33ae
PG
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
04679ce6 63
13ea7692 64install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/freelordsrc
43d7903c 65install dat/various/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
dbe3e1e0 66
d4120ca8
AG
67%find_lang %{name}
68
04679ce6
AM
69%clean
70rm -rf $RPM_BUILD_ROOT
71
d4120ca8 72%files -f %{name}.lang
04679ce6 73%defattr(644,root,root,755)
4c40eaf4 74%doc doc/* AUTHORS ChangeLog NEWS TODO
386f91c7 75%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freelordsrc
76%attr(755,root,root) %{_bindir}/freelords
77%attr(755,root,root) %{_bindir}/freelords_editor
78%attr(755,root,root) %{_bindir}/freelords_server
04679ce6 79%{_datadir}/%{name}
43d7903c 80%{_desktopdir}/%{name}.desktop
81%{_pixmapsdir}/%{name}.png
This page took 0.049478 seconds and 4 git commands to generate.