]> git.pld-linux.org Git - packages/pingus.git/blobdiff - pingus.spec
- rebuild with boost 1.56.0
[packages/pingus.git] / pingus.spec
index 6207ff3f21b9f59f622ec5d1336197498ec4c295..fb903e181a4c9f44e64114535c2f51900fffca3e 100644 (file)
@@ -1,17 +1,21 @@
+#
+# TODO: when build with_xinput=true:
+#      src/engine/input/xinput/xinput_driver.cpp:20:28: fatal error: pingus/debug.hpp
+#
 Summary:       Pingus, a lemmings style game with penguins
 Summary(pl.UTF-8):     Gra typu lemmingi z pingwinami w roli głównej
 Summary(pt_BR.UTF-8):  Um clone de lemmings com pingüins
 Name:          pingus
-Version:       0.7.2
-Release:       6
-License:       GPL v2+
+Version:       0.7.6
+Release:       10
+License:       GPL v3+
 Group:         X11/Applications/Games
-Source0:       http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 88756802d483f922d0910a14cd26a951
+Source0:       http://pingus.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 561798686f34d3fa4e69135d655f47ac
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-opt.patch
-Patch1:                %{name}-gcc4.patch
+Patch1:                %{name}-gcc4.7.patch
 URL:           http://pingus.seul.org/
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
@@ -20,11 +24,14 @@ BuildRequires:      libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: rpmbuild(macros) >= 1.385
 BuildRequires: scons
-BuildRequires: xorg-lib-libXi-devel
+#BuildRequires:        xorg-lib-libXi-devel
+Requires:      libmikmod
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fpermissive -std=c++11
+
 %description
 A cool lemmings game with penguins instead of lemmings!
 
@@ -32,7 +39,7 @@ A cool lemmings game with penguins instead of lemmings!
 Wspaniała gra typu lemmingi z tym, że steruje się pingwinami!
 
 %description -l pt_BR.UTF-8
-Pingus é um clone do jogo Lemmings, com a diferença de que você guia 
+Pingus é um clone do jogo Lemmings, com a diferença de que você guia
 pingüins.
 
 %prep
@@ -45,7 +52,7 @@ mv -f data/po/sr{,@latin}.po
 rm -f data/po/pingus.pot
 
 %build
-%scons with_xinput=true
+%scons
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -53,7 +60,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixm
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-install        %{name} $RPM_BUILD_ROOT%{_bindir}
+install        build/%{name} $RPM_BUILD_ROOT%{_bindir}
 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
@@ -61,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS TODO
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS NEWS README TODO
+%attr(755,root,root) %{_bindir}/pingus
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
This page took 0.094205 seconds and 4 git commands to generate.