Sophie

Sophie

distrib > Mageia > 8 > aarch64 > by-pkgid > 23e0b3125cb8d9cd64f58fe81f19a622 > files > 2

cuyo-2.1.0-6.mga8.src.rpm

%global sum	A tetris-styled game with many different levels

Summary:	%{sum}
Name:		cuyo
Url:		https://www.karimmi.de/cuyo/
Version:	2.1.0
Epoch:		1
Release:	%mkrel 6
Source0:	https://download.savannah.gnu.org/releases/cuyo/%{name}-%{version}.tar.gz
License:	GPLv2
Group:		Games/Puzzles

BuildRequires:	pkgconfig(sdl)
BuildRequires:	pkgconfig(SDL_image)
BuildRequires:	pkgconfig(SDL_mixer)

%description
Cuyo is a Tetris-style puzzle game for up to two players. The player
controls falling blocks of various types which change with each level.

When enough blocks of the same type come together, they explode.
The goal of each level is to blow special stones away.
But what "of the same type" and "together" means varies with the levels.

%prep
%setup -q

%build
%configure	--bindir=%{_gamesbindir} \
		--datadir=%{_gamesdatadir}
%make_build

%install
%make_install

mkdir -p %{buildroot}%{_datadir}/applications/
cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
[Desktop Entry]
Name=Cuyo
GenericName=Tetris-style game
Comment=%{sum}
Type=Application
Exec=%{name}
Icon=%{name}
Categories=Game;LogicGame;
EOF

%find_lang %{name}

%files -f %{name}.lang
%{_gamesbindir}/%{name}
%dir %{_gamesdatadir}/%{name}
%{_gamesdatadir}/%{name}/*
%{_mandir}/man6/cu*.6*
%{_datadir}/applications/%{name}.desktop
%{_iconsdir}/hicolor/32x32/apps/%{name}.png
%{_iconsdir}/hicolor/64x64/apps/%{name}.png


%changelog
* Wed Apr 15 2020 danf <danf> 1:2.1.0-6.mga8
+ Revision: 1567572
- Fix Comment= in .desktop file to stop referring to debug sources

* Thu Feb 13 2020 umeabot <umeabot> 1:2.1.0-5.mga8
+ Revision: 1511806
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x

* Sun Sep 23 2018 umeabot <umeabot> 1:2.1.0-4.mga7
+ Revision: 1297382
- Mageia 7 Mass Rebuild

* Sat Mar 24 2018 kekepower <kekepower> 1:2.1.0-3.mga7
+ Revision: 1211927
- Use new make macros

* Tue Feb 09 2016 umeabot <umeabot> 1:2.1.0-2.mga6
+ Revision: 952011
- Mageia 6 Mass Rebuild

* Mon Jan 12 2015 akien <akien> 1:2.1.0-1.mga5
+ Revision: 810071
- Version 2.1.0
- Add an Epoch since the previous version was packaged with a wrong version number

* Wed Oct 15 2014 umeabot <umeabot> 2.2.0.0-5.mga5
+ Revision: 747926
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.2.0.0-4.mga5
+ Revision: 678645
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 2.2.0.0-3.mga4
+ Revision: 503708
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 2.2.0.0-2.mga3
+ Revision: 348510
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Jul 17 2012 malo <malo> 2.2.0.0-1.mga3
+ Revision: 271786
- update to new version
- dropped unneeded patch
- use upstream icons

* Sun Jan 29 2012 malo <malo> 2.1.1-4.mga2
+ Revision: 203055
- fix desktop file name
- spec clean-up after import from Mandriva.
- imported package cuyo