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