67 lines
2.1 KiB
RPMSpec
67 lines
2.1 KiB
RPMSpec
|
Name: 54321
|
||
|
Version: 1.0.2001.11.16
|
||
|
Release: 3mamba
|
||
|
Summary: 54321 is five games in four-, three-, or two-dimensions for one player.
|
||
|
Group: Graphical Desktop/Applications/Educational
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.nklein.com/products/54321/
|
||
|
Source0: http://www.nklein.com/products/54321/1.0.2001.11.16/%{name}.tgz
|
||
|
Source1: %{name}-exec
|
||
|
Source2: %{name}-desktop
|
||
|
Patch0: %{name}-1.0-SDL.patch
|
||
|
License: Freeware
|
||
|
BuildRequires: libSDL-devel >= 1.2.8
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
54321 is five games in four-, three-, or two-dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%make -f GNUmakefile CXXFLAGS="%{optflags} -DNDEBUG=1"
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
install -d %{buildroot}%{_datadir}/games/%{name}
|
||
|
cp -r Release/* %{buildroot}%{_datadir}/games/%{name}
|
||
|
install -d %{buildroot}%{_bindir}
|
||
|
install -m755 -D %{SOURCE1} %{buildroot}%{_bindir}/%{name}
|
||
|
install -d %{buildroot}%{_datadir}/applications
|
||
|
install -m755 -D %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/%{name}
|
||
|
%{_datadir}/applications/%{name}.desktop
|
||
|
%dir %{_datadir}/games/%{name}
|
||
|
%{_datadir}/games/%{name}/*
|
||
|
%doc README
|
||
|
|
||
|
%changelog
|
||
|
* Thu Dec 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2001.11.16-3mamba
|
||
|
- rebuilt with libpng 1.4
|
||
|
|
||
|
* Tue Apr 06 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2001.11.16-2mamba
|
||
|
- updated maintainer
|
||
|
|
||
|
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2001.11.16-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu May 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-3mamba
|
||
|
- rebuilt
|
||
|
|
||
|
* Tue Aug 23 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.0-2qilnx
|
||
|
- License field corrected
|
||
|
* Mon Aug 22 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.0-1qilnx
|
||
|
- package created by autospec
|
||
|
|