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