packages: ultimatestunts/ultimatestunts.spec - updated to 0.7.6 - drop unus...

lisu lisu at pld-linux.org
Mon Feb 14 16:35:05 CET 2011


Author: lisu                         Date: Mon Feb 14 15:35:05 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.7.6
- drop unused sed macro
- more verbose files
- use __rm macro

---- Files affected:
packages/ultimatestunts:
   ultimatestunts.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: packages/ultimatestunts/ultimatestunts.spec
diff -u packages/ultimatestunts/ultimatestunts.spec:1.32 packages/ultimatestunts/ultimatestunts.spec:1.33
--- packages/ultimatestunts/ultimatestunts.spec:1.32	Wed Aug 19 21:52:05 2009
+++ packages/ultimatestunts/ultimatestunts.spec	Mon Feb 14 16:35:00 2011
@@ -1,18 +1,18 @@
 # $Revision$, $Date$
+#
 # TODO:
 # - move config to home etc
-
-%define	src_ver	0751
-
+#
+%define	src_ver	0761
 Summary:	Remake of the famous game stunts
 Summary(pl.UTF-8):	Nowa wersja sławnej gry stunts
 Name:		ultimatestunts
-Version:	0.7.5
-Release:	3
+Version:	0.7.6
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
-Source0:	http://dl.sourceforge.net/ultimatestunts/%{name}-srcdata-%{src_ver}.tar.gz
-# Source0-md5:	e216bbbfc3d2a868be7e647aa79c6bca
+Source0:	http://downloads.sourceforge.net/ultimatestunts/%{name}-srcdata-%{src_ver}.tar.gz
+# Source0-md5:	117745dd282f9904c2d641d7f19714f7
 Source1:	%{name}.png
 Source2:	%{name}.desktop
 Source3:	%{name}-editor.desktop
@@ -54,12 +54,12 @@
 %setup -q -n %{name}-srcdata-%{src_ver}
 %patch0 -p1
 %{__sed} -i 's/fr_FR/fr/' po/LINGUAS
-%{__sed} -i 's#@MKINSTALLDIRS@#/usr/share/automake/mkinstalldirs#' po/Makefile.in.in
 mv po/fr{_FR,}.po
 mv po/fr{_FR,}.gmo
 
 %build
 touch config.rpath
+%{__gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -81,8 +81,8 @@
 	localedir=%{_datadir}/locale \
 	usdatadir=$RPM_BUILD_ROOT%{_datadir}/games/%{name}
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/games/%{name}/lang
-find $RPM_BUILD_ROOT%{_datadir}/games/%{name} -name CVS | xargs rm -rf
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/games/%{name}/lang
+find $RPM_BUILD_ROOT%{_datadir}/games/%{name} -name CVS | xargs %{__rm} -r
 
 %find_lang %{name}
 
@@ -92,11 +92,16 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README doc
-%attr(755,root,root) %{_bindir}/*
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
+%attr(755,root,root) %{_bindir}/ustunts
+%attr(755,root,root) %{_bindir}/ustunts3dedit
+%attr(755,root,root) %{_bindir}/ustuntsai
+%attr(755,root,root) %{_bindir}/ustuntsserver
+%attr(755,root,root) %{_bindir}/ustuntstrackedit
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ultimatestunts.conf
 %{_datadir}/games/%{name}
-%{_pixmapsdir}/%{name}.png
-%{_desktopdir}/*.desktop
+%{_pixmapsdir}/ultimatestunts.png
+%{_desktopdir}/ultimatestunts.desktop
+%{_desktopdir}/ultimatestunts-editor.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +109,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2011/02/14 15:35:00  lisu
+- updated to 0.7.6
+- drop unused sed macro
+- more verbose files
+- use __rm macro
+
 Revision 1.32  2009/08/19 19:52:05  arvenil
 - %{__make} -j1
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ultimatestunts/ultimatestunts.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list