rpms/stormbaancoureur/devel stormbaancoureur.desktop, NONE, 1.1 stormbaancoureur.spec, NONE, 1.1 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 sturmbahnfahrer-1.4-esc.patch, 1.1, NONE sturmbahnfahrer.desktop, 1.2, NONE sturmbahnfahrer.spec, 1.6, NONE

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Tue Aug 7 13:46:33 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/stormbaancoureur/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26806

Modified Files:
	.cvsignore sources 
Added Files:
	stormbaancoureur.desktop stormbaancoureur.spec 
Removed Files:
	sturmbahnfahrer-1.4-esc.patch sturmbahnfahrer.desktop 
	sturmbahnfahrer.spec 
Log Message:
* Mon Aug  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.5-0.1.rc1
- New upstream release 1.5rc1
- Renamed by upstream from sturmbahnfahrer to stormbaancoureur
- Update License tag for new Licensing Guidelines compliance



--- NEW FILE stormbaancoureur.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Stormbaan Coureur
Comment=Simulated obstacle course for automobiles
Exec=stormbaancoureur
Icon=stormbaancoureur.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Game;SportsGame;


--- NEW FILE stormbaancoureur.spec ---
Name:           stormbaancoureur
Version:        1.5
Release:        0.1.rc1%{?dist}
Summary:        Simulated obstacle course for automobiles
Group:          Amusements/Games
License:        GPLv2+
URL:            http://www.sturmbahnfahrer.com/
Source0:        %{name}-1.5rc1.tar.gz
Source1:        %{name}.desktop
Source2:        sturmbahnfahrer.png
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  plib-devel ode-devel freeglut-devel desktop-file-utils
BuildRequires:  alsa-lib-devel
Requires:       hicolor-icon-theme
Provides:       sturmbahnfahrer = %{version}-%{release}
Obsoletes:      sturmbahnfahrer < %{version}-%{release}

%description
Stormbaancoureur is Dutch for "assault course driver"... 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 -c
sed -i 's|$(ODEPREFIX)/lib/libode.a|-lode|' src-%{name}/Makefile
sed -i 's|/usr/share/games/%{name}|%{_datadir}/%{name}|' src-%{name}/main.cxx


%build
pushd src-%{name}
make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS -I../src-common"
popd


%install
rm -rf $RPM_BUILD_ROOT
pushd src-%{name}
make install DESTDIR=$RPM_BUILD_ROOT GAMEDIR=$RPM_BUILD_ROOT%{_datadir}/%{name}
popd

# upstream's makefile forgets to install a few of these
install -p -m 644 models-%{name}/*.3ds \
  $RPM_BUILD_ROOT%{_datadir}/%{name}/models

# 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}

# 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 \
  %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
install -p -m 644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png


%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 src-%{name}/JOYSTICKS src-%{name}/LICENCE src-%{name}/README
%doc src-%{name}/TODO src-%{name}/%{name}.keys.example
%doc src-%{name}/debian/changelog
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png


%changelog
* Mon Aug  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.5-0.1.rc1
- New upstream release 1.5rc1
- Renamed by upstream from sturmbahnfahrer to stormbaancoureur
- Update License tag for new Licensing Guidelines compliance

* Tue Jun  5 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.4-1
- New upstream release 1.4
- Drop all patches (all upstream now)

* Wed Feb 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-3
- Fix a bug triggering an assert in ode-0.8

* Tue Aug 29 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-2
- FE6 Rebuild

* Mon Jul 31 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.2-1
- New upstream version 1.2 with customizable keybindings
- Drop many hacks from %%install as upstream has improved "make install"

* Wed Jul 26 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-3
- Added a patch to call the left and right keys COMMA and POINT instead of
  LESSTHEN and GREATERTHEN, so that the text is correct for non qwerty
  keyboards too. And add a binding for normal brake to the Y key for more
  convenient controls with a German (QWERTZ) keyboard.
  Upstream has been notified that the current hardcoded keys are awkward
  with non qwerty keyboards so that upstream can create a proper fix.

* 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/stormbaancoureur/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	3 Aug 2007 09:54:18 -0000	1.4
+++ .cvsignore	7 Aug 2007 13:46:00 -0000	1.5
@@ -1 +1 @@
-sturmbahnfahrer-1.4.tar.gz
+stormbaancoureur-1.5rc1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/stormbaancoureur/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	5 Jun 2007 14:54:19 -0000	1.4
+++ sources	7 Aug 2007 13:46:00 -0000	1.5
@@ -1 +1 @@
-a861fffe67c90aa5a0cd114e8e786541  sturmbahnfahrer-1.4.tar.gz
+fcdda42d4f4acacac9dfc0a2ed3321ba  stormbaancoureur-1.5rc1.tar.gz


--- sturmbahnfahrer-1.4-esc.patch DELETED ---


--- sturmbahnfahrer.desktop DELETED ---


--- sturmbahnfahrer.spec DELETED ---




More information about the fedora-extras-commits mailing list