update to 0.4 [release 0.4-1mamba;Thu Feb 04 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:22:59 +01:00
parent 962fc49212
commit 43c6bd3407

View File

@ -1,45 +1,52 @@
Name: anagramarama
Version: 0.2
Release: 3mamba
Version: 0.4
Release: 1mamba
Summary: Anagramarama - a FREE word game for Linux
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.coralquest.com/anagramarama/
Source: http://www.omega.clara.net/anagramarama/dist/%{name}-%{version}.tar.gz
URL: https://github.com/Anagramarama
Source: https://github.com/Anagramarama/anagramarama.git/v%{version}/anagramarama-%{version}.tar.bz2
Source1: anagramarama.png
Patch1: anagramarama.install.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_mixer-devel
## AUTOBUILDREQ-END
BuildRequires: libSDL-devel >= 1.2.8, libSDL_mixer-devel >= 1.2.6
BuildRequires: libSDL-devel
BuildRequires: libSDL_mixer-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The aim is to find as many words as possible in the time available. Get the longest word and you'll advance to the next level.
%debug_package
%prep
%setup -q -n %{name}
%patch1 -p1
%setup -q
#%patch1 -p1
%build
%make
%make -f makefile.linux
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/%{name}-%{version}/audio
mkdir -p %{buildroot}/usr/share/%{name}-%{version}/images
mkdir -p %{buildroot}/usr/bin
install -d -m0755 %{buildroot}%{_datadir}/%{name} %{buildroot}%{_bindir}
install -D -m 644 audio/*.wav %{buildroot}/usr/share/%{name}-%{version}/audio/
install -D -m 644 images/*bmp %{buildroot}/usr/share/%{name}-%{version}/images/
install -m 755 wordlist.txt %{buildroot}/usr/share/%{name}-%{version}/
install -m 755 ag %{buildroot}/usr/bin
cp -a audio %{buildroot}%{_datadir}/%{name}/
cp -a i18n %{buildroot}%{_datadir}/%{name}/
install -m0755 ag %{buildroot}%{_datadir}/%{name}/
cat > %{buildroot}%{_bindir}/ag << _EOF
#!/bin/bash
(cd %{_datadir}/%{_name}; ./ag)
_EOF
chmod +x %{buildroot}%{_bindir}/ag
#Icon
mkdir -p %{buildroot}%{_datadir}/pixmaps
@ -50,7 +57,7 @@ mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Name=%{name}
Comment=Anagramarama - a FREE word game for Linux
Comment=A word game for Linux
Exec=ag
Icon=%{_datadir}/pixmaps/anagramarama.png
Terminal=0
@ -64,14 +71,22 @@ EOF
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/%{name}-%{version}/audio/*.wav
%{_datadir}/%{name}-%{version}/images/*.bmp
%{_datadir}/%{name}-%{version}/*.txt
%{_bindir}/ag
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/ag
%dir %{_datadir}/%{name}/audio
%{_datadir}/%{name}/audio/*.wav
%dir %{_datadir}/%{name}/i18n
%{_datadir}/anagramarama/i18n/en_GB
%{_datadir}/anagramarama/i18n/fr
%{_datadir}/anagramarama/i18n/pt_BR
%{_datadir}/applications/anagramarama.desktop
%{_datadir}/pixmaps/anagramarama.png
%changelog
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
- update to 0.4
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 0.2-3mamba
- automatic rebuild by autodist