2013-03-13 20:54:02 +01:00
|
|
|
#
|
2013-04-08 19:22:34 +02:00
|
|
|
# spec file for package gnome-nibbles
|
2013-03-13 20:54:02 +01:00
|
|
|
#
|
2016-02-19 15:37:29 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-03-13 20:54:02 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2013-04-08 19:22:34 +02:00
|
|
|
|
2013-03-13 20:54:02 +01:00
|
|
|
Name: gnome-nibbles
|
2016-09-14 18:51:46 +02:00
|
|
|
Version: 3.21.92
|
2013-03-13 20:54:02 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Worm Game for GNOME
|
2016-02-19 15:37:29 +01:00
|
|
|
License: GPL-3.0+
|
2013-03-13 20:54:02 +01:00
|
|
|
Group: Amusements/Games/Action/Arcade
|
2013-04-08 19:22:34 +02:00
|
|
|
Url: https://live.gnome.org/Lightsoff
|
2016-09-08 23:21:15 +02:00
|
|
|
Source: http://download.gnome.org/sources/gnome-nibbles/3.21/%{name}-%{version}.tar.xz
|
2013-03-13 20:54:02 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2016-02-19 15:37:29 +01:00
|
|
|
BuildRequires: intltool >= 0.50.2
|
2013-03-13 20:54:02 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2013-04-08 19:22:34 +02:00
|
|
|
BuildRequires: yelp-tools
|
2016-02-19 15:37:29 +01:00
|
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.22.0
|
|
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.4.0
|
|
|
|
BuildRequires: pkgconfig(gee-0.8)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.40.0
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18.0
|
2013-03-13 20:54:02 +01:00
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
|
2016-09-08 23:21:15 +02:00
|
|
|
BuildRequires: pkgconfig(libgnome-games-support-1)
|
2013-03-13 20:54:02 +01:00
|
|
|
Recommends: %{name}-lang
|
2013-04-08 19:22:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-03-13 20:54:02 +01:00
|
|
|
%glib2_gsettings_schema_requires
|
|
|
|
|
|
|
|
%description
|
|
|
|
Nibbles is a worm game for GNOME. The player controls a 2D worm while
|
|
|
|
trying to get food. Getting food gives points, but hitting anything
|
|
|
|
causes a loss of points. When all points are lost, the player loses.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2016-02-19 15:37:29 +01:00
|
|
|
%suse_update_desktop_file org.gnome.Nibbles
|
2013-03-13 20:54:02 +01:00
|
|
|
|
2014-04-03 22:42:21 +02:00
|
|
|
%post
|
2013-03-13 20:54:02 +01:00
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING NEWS
|
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2014-09-25 09:50:21 +02:00
|
|
|
%{_bindir}/%{name}
|
2013-03-13 20:54:02 +01:00
|
|
|
%{_datadir}/%{name}/
|
2015-06-24 11:01:33 +02:00
|
|
|
%dir %{_datadir}/appdata
|
2016-02-19 15:37:29 +01:00
|
|
|
%{_datadir}/appdata/org.gnome.Nibbles.appdata.xml
|
|
|
|
%{_datadir}/applications/org.gnome.Nibbles.desktop
|
2013-03-13 20:54:02 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
|
2015-04-18 18:44:28 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
|
2013-03-13 20:54:02 +01:00
|
|
|
%{_mandir}/man6/%{name}.6%{?ext_man}
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|