A new user interface for you! Read more...

File cuyo.spec of Package cuyo

#
# spec file for package cuyo
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           cuyo
Version:        2.1.0
Release:        0
Summary:        Tetris-like game with many levels with different rules
License:        GPL-2.0
Group:          Amusements/Games/Action/Other
Url:            http://www.karimmi.de/cuyo/
Source0:        http://download.savannah.gnu.org/releases/cuyo/cuyo-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(SDL_mixer)
BuildRequires:  pkgconfig(sdl)
BuildRequires:  pkgconfig(zlib)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Cuyo, named after a Spanish relative adjective, shares
with tetris that things fall down and how to navigate them.
When enough "of the same type" come "together", they explode.
The goal of each level is to blow special "stones" away, you
start with. But what "of the same type" and "together" means,
varies with the levels.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install
%find_lang %{name}

%post
%icon_theme_cache_post

%postun
%icon_theme_cache_postun

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS TODO
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_mandir}/man6/%{name}.6%{ext_man}
%{_mandir}/man6/cual.6%{ext_man}

%changelog