Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 20ce5c3901c60fb7f357972271891233 > files > 5

digger-20110916-2.mga3.src.rpm

Name:		digger
Version:	20110916
Release:	%mkrel 2
# created from https://gitorious.org/digger with:
# Download URL https://gitorious.org/digger/digger/archive-tarball/master
Source0:	%{name}-%{version}.tar.gz
Source11:	%{name}-16x16.png
Source12:	%{name}-32x32.png
Source13:	%{name}-48x48.png
License:	GPL
Group:		Games/Arcade
URL:		http://www.digger.org/
Summary:	The Unix version of the old classic game Digger
BuildRequires:	SDL-devel
BuildRequires:	zlib-devel

%description
This is the Unix version of the old classic game Digger.
It has many new features including:
* Exit button
* Optional VGA graphics
* Recording and playback
* Real time speed control
* Keyboard redefinition
* Gauntlet mode
* Two player simultaneous mode

%prep
%setup -q

%build
%make CFLAGS="%{optflags}"

%install
install -m755 digger -D %{buildroot}%{_gamesbindir}/%{name}

install -d %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/mageia-%{name}.desktop << EOF
[Desktop Entry]
Name=Digger Remastered
Comment=%{summary}
Exec=%{_gamesbindir}/%{name}
Icon=%{name}
Terminal=false
Type=Application
StartupNotify=true
Categories=Game;ArcadeGame;X-MageiaLinux-MoreApplications-Games-Arcade;
EOF

install -m644 %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png
install -m644 %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png
install -m644 %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png

%files
%doc %{name}.txt
%{_gamesbindir}/%{name}
%{_datadir}/applications/mageia-%{name}.desktop
%{_miconsdir}/%{name}.png
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png




%changelog

* Fri Jan 11 2013 umeabot <umeabot> 20110916-2.mga3
+ Revision: 348782
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 16 2012 jquelin <jquelin> 20110916-1.mga2
+ Revision: 196844
- using %%mkrel
- imported package digger