packages: xut/xut.spec - up to 0.2.1 - install data files into /usr/share/g...
lisu
lisu at pld-linux.org
Wed Jul 21 16:45:49 CEST 2010
Author: lisu Date: Wed Jul 21 14:45:49 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.2.1
- install data files into /usr/share/games/xut
- add icon and desktop
---- Files affected:
packages/xut:
xut.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/xut/xut.spec
diff -u packages/xut/xut.spec:1.5 packages/xut/xut.spec:1.6
--- packages/xut/xut.spec:1.5 Thu Nov 5 14:04:19 2009
+++ packages/xut/xut.spec Wed Jul 21 16:45:44 2010
@@ -2,19 +2,20 @@
#
# TODO: - fix auto tools
#
-%define file_version %(echo %{version} | tr . _)
Summary: A button football simulation
Summary(hu.UTF-8): Gombfoci szimuláció
Summary(pl.UTF-8): Symulator piłki nożnej
Name: xut
-Version: 0.2
+Version: 0.2.1
Release: 0.1
License: GPL v3+
Group: X11/Applications/Games
-Source0: http://downloads.sourceforge.net/digenv/%{name}_%{file_version}_src.tar.bz2
-# Source0-md5: 66c4bcd2ebc0fb5762bdea1df0db5a94
+Source0: http://downloads.sourceforge.net/digenv/%{name}-%{version}.tar.bz2
+# Source0-md5: 407d9f543ec533f85358c9166ff27a5c
+Source1: %{name}.desktop
Patch0: %{name}-makefile.patch
Patch1: %{name}-link.patch
+Patch2: %{name}-datadir.patch
URL: http://xut.dnteam.org
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-GLU-devel
@@ -28,7 +29,6 @@
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -44,9 +44,7 @@
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
-
-# remove ugly special chars from echo outputs
-%{__sed} -i 's/\[0;32m//;s/\[0;0m//;s/\\e//g' `find -name Makefile.in`
+%patch2 -p1
%build
#%%{__aclocal}
@@ -57,11 +55,14 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install data/xut-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/xut.png
+
%find_lang %{name} --all-name
%clean
@@ -70,7 +71,9 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/xut
-%{_datadir}/%{name}
+%{_datadir}/games/%{name}
+%{_desktopdir}/xut.desktop
+%{_pixmapsdir}/xut.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -78,6 +81,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2010/07/21 14:45:44 lisu
+- up to 0.2.1
+- install data files into /usr/share/games/xut
+- add icon and desktop
+
Revision 1.5 2009/11/05 13:04:19 lisu
- remove ugly characters from build output
- pl
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xut/xut.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list