update to 0.5 [release 0.5-1mamba;Sun Nov 21 2021]
This commit is contained in:
parent
43c6bd3407
commit
7d8b32f298
@ -1,13 +1,13 @@
|
|||||||
Name: anagramarama
|
Name: anagramarama
|
||||||
Version: 0.4
|
Version: 0.5
|
||||||
Release: 1mamba
|
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: https://github.com/Anagramarama
|
URL: http://identicalsoftware.com/anagramarama/
|
||||||
Source: https://github.com/Anagramarama/anagramarama.git/v%{version}/anagramarama-%{version}.tar.bz2
|
Source: https://github.com/dulsi/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
|
||||||
@ -16,9 +16,6 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: libSDL-devel
|
BuildRequires: libSDL-devel
|
||||||
BuildRequires: libSDL_mixer-devel
|
BuildRequires: libSDL_mixer-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
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.
|
||||||
@ -30,60 +27,39 @@ The aim is to find as many words as possible in the time available. Get the long
|
|||||||
#%patch1 -p1
|
#%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make -f makefile.linux
|
%cmake -d build
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
%makeinstall -C build
|
||||||
install -d -m0755 %{buildroot}%{_datadir}/%{name} %{buildroot}%{_bindir}
|
|
||||||
|
|
||||||
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
|
|
||||||
install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
||||||
|
|
||||||
# Create the system menu entry
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
|
||||||
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
||||||
[Desktop Entry]
|
|
||||||
Name=%{name}
|
|
||||||
Comment=A word game for Linux
|
|
||||||
Exec=ag
|
|
||||||
Icon=%{_datadir}/pixmaps/anagramarama.png
|
|
||||||
Terminal=0
|
|
||||||
Type=Application
|
|
||||||
X-KDE-StartupNotify=false
|
|
||||||
Categories=Education;
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/ag
|
%{_bindir}/anagramarama
|
||||||
|
%{_datadir}/applications/anagramarama.desktop
|
||||||
|
%{_datadir}/metainfo/anagramarama.metainfo.xml
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/ag
|
|
||||||
%dir %{_datadir}/%{name}/audio
|
%dir %{_datadir}/%{name}/audio
|
||||||
%{_datadir}/%{name}/audio/*.wav
|
%{_datadir}/%{name}/audio/*.wav
|
||||||
|
%dir %{_datadir}/anagramarama/gamerzilla
|
||||||
|
%{_datadir}/anagramarama/gamerzilla/*
|
||||||
%dir %{_datadir}/%{name}/i18n
|
%dir %{_datadir}/%{name}/i18n
|
||||||
%{_datadir}/anagramarama/i18n/en_GB
|
%{_datadir}/anagramarama/i18n/en_GB
|
||||||
%{_datadir}/anagramarama/i18n/fr
|
%{_datadir}/anagramarama/i18n/fr
|
||||||
|
%{_datadir}/anagramarama/i18n/it
|
||||||
%{_datadir}/anagramarama/i18n/pt_BR
|
%{_datadir}/anagramarama/i18n/pt_BR
|
||||||
%{_datadir}/applications/anagramarama.desktop
|
%{_datadir}/icons/hicolor/*/apps/anagramarama.png
|
||||||
%{_datadir}/pixmaps/anagramarama.png
|
%{_mandir}/man6/anagramarama.6*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Nov 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
|
||||||
|
- update to 0.5
|
||||||
|
|
||||||
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
||||||
- update to 0.4
|
- update to 0.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user