From bdb90c7b2c70a5ba19ea917ac2f5d3cefd388ec60d1e9f736b9008fa3d33de5c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 13 Mar 2013 19:53:56 +0000 Subject: [PATCH] Accepting request 158591 from GNOME:Next Push GNOME:Next - new package OBS-URL: https://build.opensuse.org/request/show/158591 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-chess?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + gnome-chess-3.7.5.tar.xz | 3 ++ gnome-chess.changes | 10 +++++ gnome-chess.spec | 88 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gnome-chess-3.7.5.tar.xz create mode 100644 gnome-chess.changes create mode 100644 gnome-chess.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gnome-chess-3.7.5.tar.xz b/gnome-chess-3.7.5.tar.xz new file mode 100644 index 0000000..c9b04f3 --- /dev/null +++ b/gnome-chess-3.7.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51f085ff0a035aad86fa19fb57f4f33665b1133d202cdb350f9dc5383350f14f +size 3357756 diff --git a/gnome-chess.changes b/gnome-chess.changes new file mode 100644 index 0000000..93a9ad2 --- /dev/null +++ b/gnome-chess.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 1 12:43:00 UTC 2013 - dimstar@opensuse.org + +- Spec-cleanup using format_spec_file service. + +------------------------------------------------------------------- +Wed Feb 13 15:38:44 UTC 2013 - dimstar@opensuse.org + +- Initial package, version 3.7.5 + diff --git a/gnome-chess.spec b/gnome-chess.spec new file mode 100644 index 0000000..32186b7 --- /dev/null +++ b/gnome-chess.spec @@ -0,0 +1,88 @@ +# +# spec file for package gnome-chess +# +# Copyright (c) 2013 SUSE LINUX Products 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: gnome-chess +Version: 3.7.5 +Release: 0 +Summary: Chess Game for GNOME +License: GPL-2.0+ +Group: Amusements/Games/Board/Chess +Url: http://www.gnome.org +Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-chess/3.7/gnome-chess-%{version}.tar.xz +BuildRequires: desktop-file-utils +BuildRequires: intltool >= 0.35.0 +BuildRequires: itstool +BuildRequires: libxml2-tools +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(x11) +Requires: chess_backend +Recommends: %{name}-lang +# After gnome 3.6, glchess was split out of gnome-games and runs under the name gnome-chess +Obsoletes: glchess < %{version} +Provides: glchess = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%glib2_gsettings_schema_requires + +%description +This is a game for playing the classic board game of chess, in which +two players simulate a battle by capturing the opponents pieces and +ultimately the king. It can be played in 2D or 3D mode, full screen or +in a window. + +%lang_package +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +%suse_update_desktop_file %{name} +%find_lang %{name} %{?no_lang_C} + +%post +%glib2_gsettings_schema_post +%icon_theme_cache_post +%desktop_database_post + +%postun +%glib2_gsettings_schema_postun +%icon_theme_cache_postun +%desktop_database_postun + +%files +%defattr(-,root,root) +%doc COPYING +%{_datadir}/help/C/%{name}/ +%{_datadir}/icons/hicolor/*/apps/%{name}.* +%{_datadir}/%{name}/ +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml +%{_mandir}/man6/%{name}.6%{?ext_man} + +%files lang -f %{name}.lang + +%changelog