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
This commit is contained in:
Dominique Leuenberger 2013-03-13 19:53:56 +00:00 committed by Git OBS Bridge
commit bdb90c7b2c
5 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
gnome-chess-3.7.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51f085ff0a035aad86fa19fb57f4f33665b1133d202cdb350f9dc5383350f14f
size 3357756

10
gnome-chess.changes Normal file
View File

@ -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

88
gnome-chess.spec Normal file
View File

@ -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