rpms/sturmbahnfahrer/devel sturmbahnfahrer.desktop, NONE, 1.1 sturmbahnfahrer.png, NONE, 1.1 sturmbahnfahrer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Sat Jul 22 04:29:44 UTC 2006
Author: jwrdegoede
Update of /cvs/extras/rpms/sturmbahnfahrer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4773/devel
Modified Files:
.cvsignore sources
Added Files:
sturmbahnfahrer.desktop sturmbahnfahrer.png
sturmbahnfahrer.spec
Log Message:
auto-import sturmbahnfahrer-1.1-2 on branch devel from sturmbahnfahrer-1.1-2.src.rpm
--- NEW FILE sturmbahnfahrer.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Sturmbahnfahrer
Comment=Simulated obstacle course for automobiles
Exec=sturmbahnfahrer
Icon=sturmbahnfahrer.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Application;Game;ArcadeGame;
--- NEW FILE sturmbahnfahrer.spec ---
Name: sturmbahnfahrer
Version: 1.1
Release: 2%{?dist}
Summary: Simulated obstacle course for automobiles
Group: Amusements/Games
License: GPL
URL: http://www.sturmbahnfahrer.com/
Source0: http://www.stolk.org/%{name}/download/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.png
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: plib-devel ode-devel freeglut-devel desktop-file-utils
BuildRequires: alsa-lib-devel
%description
Sturmbahnfahrer... for expert drivers only. If you want to master the obstacle
course, try to have the laws of physics work with you, not against you.
%prep
%setup -q
sed -i 's|$(ODEPREFIX)/lib/libode.a|-lode|' Makefile
sed -i 's| -lXmu -lXi -lX11 | |' Makefile
sed -i 's|/usr/share/games/sturmbahnfahrer|%{_datadir}/%{name}|' main.cxx
%build
make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/games
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/images
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/models
make install DESTDIR=$RPM_BUILD_ROOT GAMEDIR=$RPM_BUILD_ROOT%{_datadir}/%{name}
# move the binary from /usr/games to /usr/bin
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mv $RPM_BUILD_ROOT%{_prefix}/games/%{name} $RPM_BUILD_ROOT%{_bindir}
# remove stupid executable bits from data files
chmod -x `find $RPM_BUILD_ROOT%{_datadir}/%{name} -type f`
# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \
%{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
install -p -m 644 %{SOURCE2} \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc JOYSTICKS LICENCE README TODO
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%changelog
* Wed Jul 19 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-2
- Add missing BR: alsa-lib-devel
- Stop linking with the unused libs: -lXmu -lXi -lX11 (-lX11 is used
indirectly, through other libs but not directly).
* Tue Jul 18 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-1
- Initial Fedora Extras package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/sturmbahnfahrer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2006 04:27:10 -0000 1.1
+++ .cvsignore 22 Jul 2006 04:29:44 -0000 1.2
@@ -0,0 +1 @@
+sturmbahnfahrer-1.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/sturmbahnfahrer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2006 04:27:10 -0000 1.1
+++ sources 22 Jul 2006 04:29:44 -0000 1.2
@@ -0,0 +1 @@
+25d8907b234c9ebaa91c590c6fcbf9ba sturmbahnfahrer-1.1.tar.gz
More information about the scm-commits
mailing list