Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 80e14f741059d94c4e49c9c2823249a7 > files > 3

bugsquish-0.0.4-1mdk.src.rpm

%define name bugsquish
%define version 0.0.4
%define release 1mdk

Summary: Kill bugs with mouse
Name: %{name}
Version: %{version}
Release: %{release}
Source0: ftp://ftp.sonic.net/pub/users/nbs/unix/x/bugsquish/bugsquish-%{version}.tar.bz2
License: GPL
Packager: Pixel <pixel@mandrakesoft.com>
Url: http://newbreedsoftware.com/bugsquish
Group: Games/Arcade
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires:	XFree86-devel
BuildRequires:	gcc
BuildRequires:	SDL_image-devel
BuildRequires:	SDL_mixer-devel
BuildRequires:	alsa-lib-devel
BuildRequires:	esound-devel
Prefix: %{_prefix}
Patch: bugsquish-0.0.2-fix-CFLAGS.patch.bz2

%description
Bugs are trying to suck blood out of your arm! Squish them with with your fly
swatter before you run out of blood.

%prep
%setup
%patch0 -p1
chmod a+r -R .

%build
make CFLAGS="%{optflags}" DATA_PREFIX=%{_datadir}/%{name}/

%install
rm -rf $RPM_BUILD_ROOT
install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
cp -a data/* $RPM_BUILD_ROOT%{_datadir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS.txt CHANGES.txt README.txt
%{_bindir}/*
%{_datadir}/%{name}

%changelog
* Sat Feb  2 2002 Pixel <pixel@mandrakesoft.com> 0.0.4-1mdk
- new release

* Sat Jan 19 2002 Stefan van der Eijk <stefan@eijk.nu> 0.0.2-10mdk
- BuildRequires

* Thu Oct 11 2001 Pixel <pixel@mandrakesoft.com> 0.0.2-9mdk
- rebuilding for libpng3

* Wed Sep 13 2001 Stefan van der Eijk <stefan@eijk.nu> 0.0.2-8mdk
- BuildRequires: libSDL-devel

* Thu Sep  6 2001 Pixel <pixel@mandrakesoft.com> 0.0.2-7mdk
- fix rights

* Thu Sep  6 2001 Pixel <pixel@mandrakesoft.com> 0.0.2-6mdk
- rebuild

* Mon May 14 2001 Pixel <pixel@mandrakesoft.com> 0.0.2-5mdk
- rebuild with new SDL

* Tue Dec 19 2000 Pixel <pixel@mandrakesoft.com> 0.0.2-4mdk
- rebuild with new libSDL_mixer

* Wed Nov 29 2000 Pixel <pixel@mandrakesoft.com> 0.0.2-3mdk
- build req, rebuild

* Thu Nov  2 2000 Pixel <pixel@mandrakesoft.com> 0.0.2-2mdk
- rebuild with uptodate SDL
- fix summary-not-capitalized

* Thu Nov  2 2000 Pixel <pixel@mandrakesoft.com> 0.0.2-1mdk
- initial spec


# end of file