SPECS: toppler.spec - BR: autoconf, removed bogus intltoolize/libt...

qboosh qboosh at pld-linux.org
Mon Jul 17 09:52:42 CEST 2006


Author: qboosh                       Date: Mon Jul 17 07:52:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: autoconf, removed bogus intltoolize/libtoolize calls
- fixed high score dir location (FHS) and saving

---- Files affected:
SPECS:
   toppler.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/toppler.spec
diff -u SPECS/toppler.spec:1.14 SPECS/toppler.spec:1.15
--- SPECS/toppler.spec:1.14	Mon Jul 17 04:27:43 2006
+++ SPECS/toppler.spec	Mon Jul 17 09:52:36 2006
@@ -13,12 +13,15 @@
 URL:		http://toppler.sourceforge.net/
 BuildRequires:	SDL-devel >= 1.2
 BuildRequires:	SDL_mixer-devel >= 1.2
+BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
-BuildRequires:	gettext-devel
+BuildRequires:	gettext-devel >= 0.11.5
 BuildRequires:	libstdc++-devel
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_localstatedir	/var/games
+
 %description
 In this game player helps a cute little green animal switch off some
 kind of "evil" mechanism. The "power off switch" is hidden somewhere
@@ -41,14 +44,11 @@
 %setup -q
 
 %build
-%{__intltoolize}
 %{__gettextize}
-%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-cp -f /usr/share/automake/config.sub .
 %configure
 %{__make}
 
@@ -69,12 +69,13 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%attr(2755,root,games) %{_bindir}/*
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_mandir}/man6/%{name}.6*
 %{_pixmapsdir}/%{name}.xpm
-%{_var}/%{name}/%{name}.hsc
+%dir %{_var}/games/%{name}
+%attr(664,root,games) %{_var}/games/%{name}/%{name}.hsc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +83,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/07/17 07:52:36  qboosh
+- BR: autoconf, removed bogus intltoolize/libtoolize calls
+- fixed high score dir location (FHS) and saving
+
 Revision 1.14  2006/07/17 02:27:43  shadzik
 - up to 1.1.2a by Michał "lisu" Lisowski <lisu87 at gmail.com>
 - cosmetics
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/toppler.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list