SPECS: gnurobbo.spec - 0.60
wolf
wolf at pld-linux.org
Sat Feb 28 14:47:32 CET 2009
Author: wolf Date: Sat Feb 28 13:47:32 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.60
---- Files affected:
SPECS:
gnurobbo.spec (1.21 -> 1.22)
---- Diffs:
================================================================
Index: SPECS/gnurobbo.spec
diff -u SPECS/gnurobbo.spec:1.21 SPECS/gnurobbo.spec:1.22
--- SPECS/gnurobbo.spec:1.21 Tue Feb 13 08:16:47 2007
+++ SPECS/gnurobbo.spec Sat Feb 28 14:47:26 2009
@@ -2,15 +2,14 @@
Summary: A clone of the famous 8bit Atari game Robbo
Summary(pl.UTF-8): Klon słynnej gry Robbo znanej z 8-bitowych Atari
Name: gnurobbo
-Version: 0.57
-Release: 4
+Version: 0.60
+Release: 1
License: GPL
Group: X11/Applications/Games
-Source0: http://dl.sourceforge.net/gnurobbo/%{name}-%{version}.tar.bz2
-# Source0-md5: 575547d729528a13a0a56281311cc52e
+Source0: http://dl.sourceforge.net/gnurobbo/%{name}-rc1.tar.gz
+# Source0-md5: 025f3832dd9776bec07d19aae93b2ac0
Source1: %{name}.desktop
Source2: %{name}.png
-Patch0: %{name}-stdlib.patch
URL: http://gnurobbo.sourceforge.net/
BuildRequires: SDL_ttf-devel
BuildRequires: autoconf >= 2.50
@@ -28,30 +27,25 @@
ratunkowej.
%prep
-#%setup -q
-# blegh, tarball contains icons in /... don't mess in %_builddir
-%setup -q -c
-%patch0 -p1
+%setup -q -n %{name}-rc1
+rm *.o
%build
-cd %{name}-%{version}
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-#cp config.h{,.in}
-%{__autoheader}
-%{__automake}
-%configure \
- LDFLAGS="%{rpmldflags}"
-
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ PACKAGE_DATA_DIR=%{_datadir}/%{name}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
-%{__make} -C %{name}-%{version} install \
- DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ PACKAGE_DATA_DIR=$RPM_BUILD_ROOT%{_datadir}/%{name} \
+ BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+ DOCDIR=data
+
+cp -r data/skins/tronic $RPM_BUILD_ROOT%{_datadir}/%{name}/skins/
+cp -r data/locales $RPM_BUILD_ROOT%{_datadir}/%{name}/
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
@@ -61,7 +55,7 @@
%files
%defattr(644,root,root,755)
-%doc %{name}-%{version}/{AUTHORS,Bugs,ChangeLog,README,TODO}
+%doc AUTHORS Bugs ChangeLog README TODO
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_desktopdir}/*.desktop
@@ -73,7 +67,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.21 2007/02/13 07:16:47 glen
+Revision 1.22 2009/02/28 13:47:26 wolf
+- 0.60
+
+Revision 1.21 2007-02-13 07:16:47 glen
- tabs in preamble
Revision 1.20 2007/02/12 00:48:53 baggins
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnurobbo.spec?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list