]> git.pld-linux.org Git - packages/pingus.git/blobdiff - pingus.spec
- rebuild with boost 1.56.0
[packages/pingus.git] / pingus.spec
index 0919c9f97f74b13f7185f49ad54ecdda0bd7a0a4..fb903e181a4c9f44e64114535c2f51900fffca3e 100644 (file)
@@ -7,7 +7,7 @@ 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.6
-Release:       2
+Release:       10
 License:       GPL v3+
 Group:         X11/Applications/Games
 Source0:       http://pingus.googlecode.com/files/%{name}-%{version}.tar.bz2
@@ -15,7 +15,7 @@ Source0:      http://pingus.googlecode.com/files/%{name}-%{version}.tar.bz2
 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
@@ -30,6 +30,8 @@ Requires:     libmikmod
 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!
 
@@ -43,15 +45,13 @@ pingüins.
 %prep
 %setup -q
 %patch0 -p1
-#%%patch1 -p1
+%patch1 -p1
 
 # note: it loads *.po files directly, no need to use msgfmt
 mv -f data/po/sr{,@latin}.po
 rm -f data/po/pingus.pot
 
 %build
-export CXXFLAGS="%{rpmcxxflags} -std=c++0x"
-#%%scons with_xinput=true
 %scons
 
 %install
This page took 0.02956 seconds and 4 git commands to generate.