rebuilt with versioned source, debug package and build requirements [release 1.0.2001.11.16-4mamba;Sat Feb 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:42:39 +01:00
parent 961060d02b
commit 8d2b1fa402

View File

@ -1,29 +1,39 @@
Name: 54321
Version: 1.0.2001.11.16
Release: 3mamba
Release: 4mamba
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
# Source manually renamed with version
Source0: http://www.nklein.com/products/54321/%{version}/%{name}-%{version}.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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libgcc
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%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.
%debug_package
%prep
%setup -q -n %{name}
%patch0 -p1
%build
%make -f GNUmakefile CXXFLAGS="%{optflags} -DNDEBUG=1"
%make -f GNUmakefile CXXFLAGS="%{optflags} -DNDEBUG=1" STRIP=/bin/true
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -47,6 +57,9 @@ install -m755 -D %{SOURCE2} %{buildroot}%{_datadir}/applications/%{name}.desktop
%doc README
%changelog
* Sat Feb 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2001.11.16-4mamba
- rebuilt with versioned source, debug package and build requirements
* Thu Dec 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2001.11.16-3mamba
- rebuilt with libpng 1.4