[gnome-chess] Initial import (#920909)

doshitan doshitan at fedoraproject.org
Sun May 12 16:28:55 UTC 2013


commit 46964a4eaaa8375d5ac54ec2f6ef967c669ae9a6
Author: Tanner Doshier <doshitan at gmail.com>
Date:   Sun May 12 11:26:58 2013 -0500

    Initial import (#920909)

 .gitignore       |    1 +
 gnome-chess.spec |   85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1236a9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-chess-3.8.1.tar.xz
diff --git a/gnome-chess.spec b/gnome-chess.spec
new file mode 100644
index 0000000..12ec722
--- /dev/null
+++ b/gnome-chess.spec
@@ -0,0 +1,85 @@
+Name:           gnome-chess
+Version:        3.8.1
+Release:        1%{?dist}
+Summary:        GNOME Chess game
+
+License:        GPLv2+ and GFDL
+URL:            https://live.gnome.org/Chess
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  itstool
+BuildRequires:  librsvg2-devel
+BuildRequires:  mesa-libGL-devel
+BuildRequires:  mesa-libGLU-devel
+BuildRequires:  sqlite-devel
+BuildRequires:  vala-devel
+
+Obsoletes: gnome-games-glchess < 1:3.7.92
+
+Requires: gnuchess
+
+%description
+A chess game which supports several chess engines, with 2D and optionally 3D
+support if OpenGL is present.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glchess.desktop
+
+%find_lang %{name} --with-gnome
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ]; then
+  touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc COPYING
+%{_bindir}/gnome-chess
+%{_datadir}/applications/glchess.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.gnome-chess.gschema.xml
+%{_datadir}/gnome-chess
+%{_datadir}/icons/hicolor/*/apps/gnome-chess.*
+%{_mandir}/man6/gnome-chess.6*
+
+
+%changelog
+* Tue Apr 30 2013 Tanner Doshier <doshitan at gmail.com> - 3.8.1-1
+- Update to 3.8.1
+- Add Requires for gnuchess
+
+* Fri Mar 29 2013 Tanner Doshier <doshitan at gmail.com> - 3.8.0-1
+- Update to 3.8.0
+
+* Fri Mar 22 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.92-1
+- Update to 3.7.92
+- Use old desktop file name
+
+* Tue Mar 12 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.90-1
+- Initial packaging of standalone gnome-chess
diff --git a/sources b/sources
index e69de29..48e7eac 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4ee672a1a6e5e36b28b9c6c494f096a9  gnome-chess-3.8.1.tar.xz


More information about the scm-commits mailing list