auto-import abuse-0.7.0-1 on branch devel from abuse-0.7.0-1.src.rpm
This commit is contained in:
parent
8b597d29c4
commit
eca1ab0e85
5 changed files with 14441 additions and 0 deletions
67
abuse.spec
Normal file
67
abuse.spec
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
Name: abuse
|
||||
Version: 0.7.0
|
||||
Release: 1%{?dist}
|
||||
Summary: The classic Crack-Dot-Com game
|
||||
Group: Amusements/Games
|
||||
License: GPL
|
||||
URL: http://www.labyrinth.net.au/~trandor/abuse/
|
||||
Source0: http://www.labyrinth.net.au/~trandor/files/abuse_sdl-%{version}.tar.bz2
|
||||
Patch0: abuse_sdl-0.7.0-debian.patch
|
||||
Patch1: abuse_sdl-0.7.0-fixes.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: ImageMagick SDL-devel alsa-lib-devel libGLU-devel
|
||||
Requires: abuse-data
|
||||
|
||||
%description
|
||||
This is the SDL version of Abuse, the classic Crack-Dot-Com game. It can run in
|
||||
a window or fullscreen and it has stereo sound with sound panning.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n abuse_sdl-%{version}
|
||||
%patch0 -p1 -z .deb
|
||||
%patch1 -p1 -z .fix
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
||||
mv $RPM_BUILD_ROOT%{_datadir}/games/%{name}/%{name}.png \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
||||
rm -fr $RPM_BUILD_ROOT%{_datadir}/games
|
||||
|
||||
|
||||
%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 AUTHORS README TODO
|
||||
%{_bindir}/%{name}.sdl
|
||||
%{_mandir}/man6/%{name}-sdl.6.gz
|
||||
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 16 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.0-1
|
||||
- Initial FE submission
|
||||
Reference in a new issue