]> git.pld-linux.org Git - packages/pingus.git/blame - pingus.spec
- R: libmikmod for music support
[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
872000b3 10Release: 1
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
21f3af16 18Patch1: %{name}-gcc4.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
088b4de1 33%description
74506ef8 34A cool lemmings game with penguins instead of lemmings!
088b4de1 35
0ecf47c2
JR
36%description -l pl.UTF-8
37Wspaniała gra typu lemmingi z tym, że steruje się pingwinami!
088b4de1 38
0ecf47c2 39%description -l pt_BR.UTF-8
b2940d63 40Pingus é um clone do jogo Lemmings, com a diferença de que você guia
0ecf47c2 41pingüins.
b96d38ee 42
088b4de1 43%prep
5db2c545 44%setup -q
76f0df3a 45%patch0 -p1
5fae83a6 46#%%patch1 -p1
e8b9ee07 47
76f0df3a 48# note: it loads *.po files directly, no need to use msgfmt
5fb0cb66 49mv -f data/po/sr{,@latin}.po
76f0df3a 50rm -f data/po/pingus.pot
088b4de1
AM
51
52%build
d1f151e8 53export CXXFLAGS="%{rpmcxxflags} -std=c++0x"
54#%%scons with_xinput=true
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
088b4de1
AM
66%clean
67rm -rf $RPM_BUILD_ROOT
68
d56ab242 69%files
088b4de1 70%defattr(644,root,root,755)
d1f151e8 71%doc AUTHORS NEWS README TODO
b2940d63 72%attr(755,root,root) %{_bindir}/pingus
bfeab798 73%{_datadir}/%{name}
858914d4 74%{_desktopdir}/%{name}.desktop
75%{_pixmapsdir}/%{name}.png
This page took 0.042525 seconds and 4 git commands to generate.