Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > bd3132db6f033b3f32e8cc2a0d1eebf1 > files > 6

noiz2sa-0.51a-1mdv2010.1.src.rpm

Name:           noiz2sa
Version:        0.51a
Release:        %mkrel 1
Summary:        Abstract arcade shooter
License:        BSD
Group:          Games/Arcade
URL:            http://noiz2sa.sourceforge.net/
Source0:        http://downloads.sourceforge.net/noiz2sa/noiz2sa-%{version}.tar.gz
Source1:        noiz2sa.6
Source2:        noiz2sa.desktop
Source3:        noiz2sa.xpm
Source4:        copyright
Patch0:         noiz2sa-0.51a.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires:  bison
BuildRequires:  libSDL-devel
BuildRequires:  libSDL_image-devel
BuildRequires:  libSDL_mixer-devel

%description
A classical vertical arcade shooter with an abstract theme and
matching electronic music.

Screenshot:
http://noiz2sa.sourceforge.net/noiz2sa_screen.png

%prep
%setup -q -n %{name}
%patch0 -p1
cp %{SOURCE1} .
cp %{SOURCE2} .
cp %{SOURCE3} .
cp %{SOURCE4} .

%build
cd src && make -f makefile.lin

%install
rm -rf %{buildroot}

install -d %{buildroot}/%{_gamesbindir}/
install -m 0755 src/noiz2sa %{buildroot}/%{_gamesbindir}/

install -d %{buildroot}/%{_datadir}/games/
cp -R noiz2sa_share/ %{buildroot}/%{_datadir}/games/noiz2sa/

install -d %{buildroot}%{_mandir}/man6/
install -m 0644 noiz2sa.6 %{buildroot}%{_mandir}/man6/

install -d %{buildroot}%{_datadir}/noiz2sa/
install -m 0644 noiz2sa.xpm %{buildroot}%{_datadir}/noiz2sa/

install -d %{buildroot}%{_datadir}/applications/
install -m 0644 noiz2sa.desktop %{buildroot}%{_datadir}/applications/

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc copyright
%{_gamesbindir}/noiz2sa
%{_datadir}/games/noiz2sa/
%{_mandir}/man6/noiz2sa.6*
%{_datadir}/applications/noiz2sa.desktop
%{_datadir}/noiz2sa/
%{_datadir}/noiz2sa/noiz2sa.xpm


%changelog
* Mon Apr 12 2010 Florent Monnier <blue_prawn@mandriva.org> 0.51a-1mdv2010.1
+ Revision: 533724
- it does not use glut
- local include
- there was .o files left in the archive in src/bulletml/tinyxml/
- bison dep
- include string.h
- import noiz2sa