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