]> git.pld-linux.org Git - packages/pingus.git/commitdiff
- disable xinput build due to some missing files in sources
authorlisu <lisu@pld-linux.org>
Thu, 2 Feb 2012 19:36:10 +0000 (19:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pingus.spec -> 1.70

pingus.spec

index 6fd6f4bebad3891adcfc97f698b0008da106c189..91d0a1c197fa16826063ad43e584aab0f1226995 100644 (file)
@@ -1,10 +1,14 @@
+#
+# 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.6
 Release:       0.1
-License:       GPL v2+
+License:       GPL v3+
 Group:         X11/Applications/Games
 Source0:       http://pingus.googlecode.com/files/%{name}-%{version}.tar.bz2
 # Source0-md5: 561798686f34d3fa4e69135d655f47ac
@@ -20,7 +24,7 @@ BuildRequires:        libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: rpmbuild(macros) >= 1.385
 BuildRequires: scons
-BuildRequires: xorg-lib-libXi-devel
+#BuildRequires:        xorg-lib-libXi-devel
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,8 +49,9 @@ mv -f data/po/sr{,@latin}.po
 rm -f data/po/pingus.pot
 
 %build
-export CXXFLAGS="%{rpmcxxflags} -std=c++0x" 
-%scons with_xinput=true
+export CXXFLAGS="%{rpmcxxflags} -std=c++0x"
+#%%scons with_xinput=true
+%scons
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,7 +59,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
@@ -62,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS TODO
+%doc AUTHORS NEWS README TODO
 %attr(755,root,root) %{_bindir}/pingus
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
This page took 0.033494 seconds and 4 git commands to generate.