packages (DEVEL): supertux/supertux.spec - updated to 0.3.3 - scons build s...
lisu
lisu at pld-linux.org
Mon Mar 8 15:42:30 CET 2010
Author: lisu Date: Mon Mar 8 14:42:30 2010 GMT
Module: packages Tag: DEVEL
---- Log message:
- updated to 0.3.3
- scons build system
- changes in %%files section
- more TODO
---- Files affected:
packages/supertux:
supertux.spec (1.12.2.3 -> 1.12.2.4)
---- Diffs:
================================================================
Index: packages/supertux/supertux.spec
diff -u packages/supertux/supertux.spec:1.12.2.3 packages/supertux/supertux.spec:1.12.2.4
--- packages/supertux/supertux.spec:1.12.2.3 Mon Jan 7 02:49:27 2008
+++ packages/supertux/supertux.spec Mon Mar 8 15:42:25 2010
@@ -1,24 +1,24 @@
# $Revision$, $Date$
# TODO
# - check locale names
-# - is it debug bcond missing?
+# - check if it works
+# - rename it to supertux2?
Summary: Game similar to the original game Super Mario Bros
-Summary(pl.UTF-8): Gra podobna do oryginalnej gry Super Mario Bros
+Summary(pl.UTF-8): Gra podobna do oryginalnej gry Super Mario Bros
Name: supertux
-Version: 0.3.1
+Version: 0.3.3
Release: 0.1
License: GPL v2+
Group: X11/Applications/Games
-Source0: http://download.berlios.de/supertux/%{name}-%{version}d.tar.bz2
-# Source0-md5: 6741f3874f64bc5371d72d664a6424bc
+Source0: http://download.berlios.de/supertux/%{name}-%{version}.tar.bz2
+# Source0-md5: f3f803e629ee51a9de0b366a036e393d
Patch0: %{name}-desktop.patch
URL: http://supertux.berlios.de/
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL-devel >= 1.2.5
BuildRequires: SDL_image-devel >= 1.2.1
-BuildRequires: autoconf >= 2.54
-BuildRequires: jam >= 2.5
+BuildRequires: cmake >= 2.6
BuildRequires: libstdc++-devel >= 5:3.2
BuildRequires: libvorbis-devel
BuildRequires: physfs-devel >= 1.0.0
@@ -38,23 +38,28 @@
%patch0 -p1
%build
-%{__aclocal} -I mk/autoconf
-%{__autoheader}
-%{__autoconf}
-%configure \
- %{?debug:--enable-debug}%{!?debug:--disable-debug}
-jam
+install -d build
+cd build
+%cmake .. \
+ -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DINSTALL_SUBDIR_BIN="bin"
+%if "%{_lib}" == "lib64"
+ -DLIB_SUFFIX=64
+%endif
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-jam -s DESTDIR=$RPM_BUILD_ROOT install
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
# the same as supertux.png
rm -f $RPM_BUILD_ROOT%{_pixmapsdir}/supertux.xpm
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/locale/messages.pot
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,33 +68,39 @@
%defattr(644,root,root,755)
%doc README WHATSNEW.txt
%attr(755,root,root) %{_bindir}/supertux2
-%dir %{_datadir}/%{name}2
-%{_datadir}/%{name}2/camera.cfg
-%{_datadir}/%{name}2/images
-%{_datadir}/%{name}2/levels
-%dir %{_datadir}/%{name}2/locale
-%lang(ca) %{_datadir}/%{name}2/locale/ca.po
-%lang(cs) %{_datadir}/%{name}2/locale/cs.po
-%lang(da) %{_datadir}/%{name}2/locale/da.po
-%lang(de) %{_datadir}/%{name}2/locale/de.po
-%lang(es) %{_datadir}/%{name}2/locale/es.po
-%lang(fi) %{_datadir}/%{name}2/locale/fi.po
-%lang(fr) %{_datadir}/%{name}2/locale/fr.po
-%lang(hu) %{_datadir}/%{name}2/locale/hu.po
-%lang(it) %{_datadir}/%{name}2/locale/it.po
-%lang(lt) %{_datadir}/%{name}2/locale/lt.po
-%lang(nb) %{_datadir}/%{name}2/locale/nb.po
-%lang(nl) %{_datadir}/%{name}2/locale/nl.po
-%lang(nn) %{_datadir}/%{name}2/locale/nn.po
-%lang(pt) %{_datadir}/%{name}2/locale/pt.po
-%lang(pt_BR) %{_datadir}/%{name}2/locale/pt_BR.po
-%lang(ro) %{_datadir}/%{name}2/locale/ro.po
-%lang(sl) %{_datadir}/%{name}2/locale/sl.po
-%lang(sv) %{_datadir}/%{name}2/locale/sv.po
-%{_datadir}/%{name}2/music
-%{_datadir}/%{name}2/scripts
-%{_datadir}/%{name}2/sounds
-%{_datadir}/%{name}2/credits.txt
+%dir %{_datadir}/games/%{name}2
+%{_datadir}/games/%{name}2/fonts
+%{_datadir}/games/%{name}2/images
+%{_datadir}/games/%{name}2/levels
+%{_datadir}/games/%{name}2/music
+%{_datadir}/games/%{name}2/scripts
+%{_datadir}/games/%{name}2/sounds
+%{_datadir}/games/%{name}2/speech
+%dir %{_datadir}/games/%{name}2/locale
+%lang(ca) %{_datadir}/games/%{name}2/locale/ca.po
+%lang(cs) %{_datadir}/games/%{name}2/locale/cs.po
+%lang(da) %{_datadir}/games/%{name}2/locale/da.po
+%lang(de) %{_datadir}/games/%{name}2/locale/de.po
+%lang(es) %{_datadir}/games/%{name}2/locale/es.po
+%lang(fi) %{_datadir}/games/%{name}2/locale/fi.po
+%lang(fr) %{_datadir}/games/%{name}2/locale/fr.po
+%lang(hu) %{_datadir}/games/%{name}2/locale/hu.po
+%lang(it) %{_datadir}/games/%{name}2/locale/it.po
+%lang(lt) %{_datadir}/games/%{name}2/locale/lt.po
+%lang(nb) %{_datadir}/games/%{name}2/locale/nb.po
+%lang(ne) %{_datadir}/games/%{name}2/locale/ne.po
+%lang(nl) %{_datadir}/games/%{name}2/locale/nl.po
+%lang(nn) %{_datadir}/games/%{name}2/locale/nn.po
+%lang(pl) %{_datadir}/games/%{name}2/locale/pl.po
+%lang(pt) %{_datadir}/games/%{name}2/locale/pt.po
+%lang(pt_BR) %{_datadir}/games/%{name}2/locale/pt_BR.po
+%lang(ro) %{_datadir}/games/%{name}2/locale/ro.po
+%lang(ru) %{_datadir}/games/%{name}2/locale/ru.po
+%lang(sl) %{_datadir}/games/%{name}2/locale/sl.po
+%lang(sv) %{_datadir}/games/%{name}2/locale/sv.po
+%lang(tr) %{_datadir}/games/%{name}2/locale/tr.po
+%lang(uk) %{_datadir}/games/%{name}2/locale/uk.po
+%lang(zh_CN) %{_datadir}/games/%{name}2/locale/zh_CN.po
%{_desktopdir}/supertux2.desktop
%{_pixmapsdir}/supertux.png
@@ -99,6 +110,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12.2.4 2010/03/08 14:42:25 lisu
+- updated to 0.3.3
+- scons build system
+- changes in %%files section
+- more TODO
+
Revision 1.12.2.3 2008/01/07 01:49:27 lisu
- up to 0.3.1
- more lang files added
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/supertux/supertux.spec?r1=1.12.2.3&r2=1.12.2.4&f=u
More information about the pld-cvs-commit
mailing list