SPECS: pingus.spec - up to 0.7.0 - switch from ClanLib to SDL (no ...
lisu
lisu at pld-linux.org
Sun Aug 26 01:01:45 CEST 2007
Author: lisu Date: Sat Aug 25 23:01:45 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.7.0
- switch from ClanLib to SDL (no ClanLib deps)
- new build way (now it uses scons)
- TODO
---- Files affected:
SPECS:
pingus.spec (1.44 -> 1.45)
---- Diffs:
================================================================
Index: SPECS/pingus.spec
diff -u SPECS/pingus.spec:1.44 SPECS/pingus.spec:1.45
--- SPECS/pingus.spec:1.44 Tue Feb 13 09:06:40 2007
+++ SPECS/pingus.spec Sun Aug 26 01:01:39 2007
@@ -1,36 +1,31 @@
# $Revision$, $Date$
+# TODO:
+# - xorg deps
+# - install po files in proper directory (needed?)
+# - are we need post and postun sections?
+
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.6.0
-Release: 5
-License: GPL
+Version: 0.7.0
+Release: 1
+License: GPL v2+
Group: X11/Applications/Games
Source0: http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 9cd678272b97dbdb53f42324be31eacd
+# Source0-md5: d967a3c233aa094236eb2ce6a3e20dd8
Source1: %{name}.desktop
Source2: %{name}.png
-Patch0: %{name}-datadir.patch
-Patch1: %{name}-assert.patch
-Patch2: %{name}-locale_names.patch
-Patch3: %{name}-types.patch
URL: http://pingus.seul.org/
-BuildRequires: ClanLib-MikMod-devel
-BuildRequires: ClanLib-Vorbis-devel
-BuildRequires: ClanLib-devel >= 0.6.5
-BuildRequires: ClanLib-devel < 0.7.0
-BuildRequires: Hermes-devel
BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
-BuildRequires: XFree86-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
+BuildRequires: boost-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
-BuildRequires: libtool
-BuildRequires: libxml2-devel
+BuildRequires: sed >= 4.0
+BuildRequires: scons
+Requires: guile
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -45,39 +40,20 @@
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-mv -f po/sr{, at Latn}.po
+mv -f data/po/sr{, at Latn}.po
%build
-rm -f missing
-%{__libtoolize}
-%{__gettextize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
-CPPFLAGS="-I/usr/X11R6/include"
-%configure \
- --with-clanGL
-%{__make}
+scons
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- bindir=%{_bindir}
-
-mv -f $RPM_BUILD_ROOT%{_datadir}/games/pingus $RPM_BUILD_ROOT%{_datadir}/pingus
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-
-%find_lang %{name}
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -88,12 +64,11 @@
%postun
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
-%files -f %{name}.lang
+%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
-%{_mandir}/man*/*
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
@@ -103,6 +78,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.45 2007/08/25 23:01:39 lisu
+- up to 0.7.0
+- switch from ClanLib to SDL (no ClanLib deps)
+- new build way (now it uses scons)
+- TODO
+
Revision 1.44 2007/02/13 08:06:40 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pingus.spec?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list