[gnome-klotski] Initial import (#920859)

doshitan doshitan at fedoraproject.org
Tue Apr 16 00:33:47 UTC 2013


commit 73f70a2577f416baa9042e0e9029b2b52ef5e920
Author: Tanner Doshier <doshitan at gmail.com>
Date:   Mon Apr 15 19:32:27 2013 -0500

    Initial import (#920859)

 .gitignore         |    1 +
 gnome-klotski.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..517800b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-klotski-3.8.0.tar.xz
diff --git a/gnome-klotski.spec b/gnome-klotski.spec
new file mode 100644
index 0000000..f5fa23c
--- /dev/null
+++ b/gnome-klotski.spec
@@ -0,0 +1,80 @@
+Name:           gnome-klotski
+Version:        3.8.0
+Release:        1%{?dist}
+Summary:        GNOME Klotski game
+
+License:        GPLv2+ and GFDL
+URL:            https://live.gnome.org/Klotski
+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
+
+Obsoletes: gnome-games-gnotski < 1:3.7.92
+
+%description
+A series of sliding block puzzles. Try and solve them in the least number of
+moves.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnotski.desktop
+
+%find_lang %{name} --with-gnome
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ]; then
+  touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+  touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+  gtk-update-icon-cache %{_datadir}/icons/HighContrast &> /dev/null || :
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc COPYING
+%{_bindir}/gnome-klotski
+%{_datadir}/applications/gnotski.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.klotski.gschema.xml
+%{_datadir}/gnome-klotski
+%{_datadir}/icons/HighContrast/*/apps/gnome-klotski.*
+%{_datadir}/icons/hicolor/*/apps/gnome-klotski.*
+%{_mandir}/man6/gnome-klotski.6*
+
+
+%changelog
+* Mon Mar 25 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
+
+* Mon Mar 11 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.91-1
+- Initial packaging of standalone gnome-klotski
diff --git a/sources b/sources
index e69de29..2a7cc50 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3bb50821040ec793f740c6a0d7cf8381  gnome-klotski-3.8.0.tar.xz


More information about the scm-commits mailing list