]> git.pld-linux.org Git - packages/pingus.git/blame - pingus.spec
- release 5
[packages/pingus.git] / pingus.spec
CommitLineData
74506ef8 1Summary: Pingus, a lemmings style game with penguins
0d384163
ER
2Summary(pl.UTF-8): Gra typu lemmingi z pingwinami w roli głównej
3Summary(pt_BR.UTF-8): Um clone de lemmings com pingüins
088b4de1 4Name: pingus
b2940d63 5Version: 0.7.3
56f1ff6d 6Release: 5
d56ab242 7License: GPL v2+
088b4de1 8Group: X11/Applications/Games
249ab579 9Source0: http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
b2940d63 10# Source0-md5: 7d1a0b0d658cc46dd09d6274f39acc7d
7f8369ed 11Source1: %{name}.desktop
12Source2: %{name}.png
76f0df3a 13Patch0: %{name}-opt.patch
21f3af16 14Patch1: %{name}-gcc4.patch
088b4de1 15URL: http://pingus.seul.org/
d56ab242 16BuildRequires: SDL_image-devel
74506ef8 17BuildRequires: SDL_mixer-devel
21f3af16 18BuildRequires: boost-devel >= 1.36.0
5359cdf1 19BuildRequires: libpng-devel
74506ef8 20BuildRequires: libstdc++-devel
76f0df3a 21BuildRequires: rpmbuild(macros) >= 1.385
d56ab242 22BuildRequires: scons
7d6dce5f 23BuildRequires: xorg-lib-libXi-devel
5fb0cb66
MB
24# sr@Latn vs. sr@latin
25Conflicts: glibc-misc < 6:2.7
088b4de1
AM
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
088b4de1 28%description
74506ef8 29A cool lemmings game with penguins instead of lemmings!
088b4de1 30
0ecf47c2
JR
31%description -l pl.UTF-8
32Wspaniała gra typu lemmingi z tym, że steruje się pingwinami!
088b4de1 33
0ecf47c2 34%description -l pt_BR.UTF-8
b2940d63 35Pingus é um clone do jogo Lemmings, com a diferença de que você guia
0ecf47c2 36pingüins.
b96d38ee 37
088b4de1 38%prep
5db2c545 39%setup -q
76f0df3a 40%patch0 -p1
21f3af16 41%patch1 -p1
e8b9ee07 42
76f0df3a 43# note: it loads *.po files directly, no need to use msgfmt
5fb0cb66 44mv -f data/po/sr{,@latin}.po
76f0df3a 45rm -f data/po/pingus.pot
088b4de1
AM
46
47%build
7d6dce5f 48%scons with_xinput=true
088b4de1
AM
49
50%install
51rm -rf $RPM_BUILD_ROOT
d56ab242 52install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
088b4de1 53
858914d4 54install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
048a3b96 55install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
d56ab242 56install %{name} $RPM_BUILD_ROOT%{_bindir}
57cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
cb9761eb 58
088b4de1
AM
59%clean
60rm -rf $RPM_BUILD_ROOT
61
d56ab242 62%files
088b4de1 63%defattr(644,root,root,755)
3ce90e12 64%doc AUTHORS ChangeLog NEWS TODO
b2940d63 65%attr(755,root,root) %{_bindir}/pingus
bfeab798 66%{_datadir}/%{name}
858914d4 67%{_desktopdir}/%{name}.desktop
68%{_pixmapsdir}/%{name}.png
This page took 0.44653 seconds and 4 git commands to generate.