circuslinux/circuslinux.spec

72 lines
2.1 KiB
RPMSpec

Name: circuslinux
Version: 1.0.3
Release: 3mamba
Summary: "Circus Linux!" is a clone of the Atari 2600 game "Circus Atari," produced by Atari, Inc.
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.newbreedsoftware.com/circus-linux/
Source: ftp://ftp.billsgames.com/unix/x/circus-linux/src//%{name}-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
## AUTOBUILDREQ-END
%description
"Circus Linux!" is a clone of the Atari 2600 game "Circus Atari," produced by Atari, Inc.
The object is to move a teeter-totter back and forth across the screen to bounce clowns up into the air. When they reach the top, they pop rows of balloons and then fall back down.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeoldinstall
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=%{name}
GenericName=Clone of Circus Atari
Comment=Clone of the Atari 2600 game "Circus Atari"
Exec=circuslinux
Icon=%{_datadir}/circuslinux/data/images/icon.png
Terminal=false
Type=Application
Categories=Game
X-KDE-StartupNotify=false
EOF
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README-SDL.txt README.txt
%{_bindir}/*
%{_datadir}/applications/circuslinux.desktop
%dir %{_datadir}/circuslinux
%{_datadir}/circuslinux/*
%changelog
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 1.0.3-3mamba
- automatic rebuild by autodist
* Sat Jun 28 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.0.3-2mamba
- update Vendor, Distribution, mantainer, buildrequirements list
- update system menu entry
* Wed Jul 13 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.0.3-1qilnx
- package created by autospec