diff --git a/anagramarama.spec b/anagramarama.spec index 19b2063..ef74f4a 100644 --- a/anagramarama.spec +++ b/anagramarama.spec @@ -1,13 +1,13 @@ Name: anagramarama -Version: 0.4 +Version: 0.5 Release: 1mamba Summary: Anagramarama - a FREE word game for Linux Group: Graphical Desktop/Applications/Educational Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/Anagramarama -Source: https://github.com/Anagramarama/anagramarama.git/v%{version}/anagramarama-%{version}.tar.bz2 +URL: http://identicalsoftware.com/anagramarama/ +Source: https://github.com/dulsi/anagramarama.git/v%{version}/anagramarama-%{version}.tar.bz2 Source1: anagramarama.png Patch1: anagramarama.install.patch License: GPL @@ -16,9 +16,6 @@ BuildRequires: glibc-devel BuildRequires: libSDL-devel BuildRequires: libSDL_mixer-devel ## AUTOBUILDREQ-END -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. @@ -30,60 +27,39 @@ The aim is to find as many words as possible in the time available. Get the long #%patch1 -p1 %build -%make -f makefile.linux +%cmake -d build + +%make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} - -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 +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) -%{_bindir}/ag +%{_bindir}/anagramarama +%{_datadir}/applications/anagramarama.desktop +%{_datadir}/metainfo/anagramarama.metainfo.xml %dir %{_datadir}/%{name} -%{_datadir}/%{name}/ag %dir %{_datadir}/%{name}/audio %{_datadir}/%{name}/audio/*.wav +%dir %{_datadir}/anagramarama/gamerzilla +%{_datadir}/anagramarama/gamerzilla/* %dir %{_datadir}/%{name}/i18n %{_datadir}/anagramarama/i18n/en_GB %{_datadir}/anagramarama/i18n/fr +%{_datadir}/anagramarama/i18n/it %{_datadir}/anagramarama/i18n/pt_BR -%{_datadir}/applications/anagramarama.desktop -%{_datadir}/pixmaps/anagramarama.png +%{_datadir}/icons/hicolor/*/apps/anagramarama.png +%{_mandir}/man6/anagramarama.6* %changelog +* Sun Nov 21 2021 Silvan Calarco 0.5-1mamba +- update to 0.5 + * Thu Feb 04 2021 Silvan Calarco 0.4-1mamba - update to 0.4