[gnome-taquin] Initial import. Review bug - 1182548

Yanko Kaneti yaneti at fedoraproject.org
Tue Jan 20 14:32:56 UTC 2015


commit f951589c29e67854c6a37d216bb5b8650a86b00b
Author: Yanko Kaneti <yaneti at declera.com>
Date:   Tue Jan 20 16:30:00 2015 +0200

    Initial import. Review bug - 1182548

 .gitignore        |    1 +
 gnome-taquin.spec |   84 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..505efb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-taquin-3.15.3.tar.xz
diff --git a/gnome-taquin.spec b/gnome-taquin.spec
new file mode 100644
index 0000000..5504e72
--- /dev/null
+++ b/gnome-taquin.spec
@@ -0,0 +1,84 @@
+%global icon_themes hicolor HighContrast
+
+Name:           gnome-taquin
+Version:        3.15.3
+Release:        1%{?dist}
+Summary:        Sliding-block puzzle game
+
+License:        GPLv3+ and GPLv2+ and CC-BY-SA 
+URL:            https://wiki.gnome.org/Apps/Taquin
+Source0:        http://download.gnome.org/sources/gnome-taquin/3.15/gnome-taquin-%{version}.tar.xz
+
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gtk+-3.0) >= 3.15
+BuildRequires:  pkgconfig(librsvg-2.0)
+BuildRequires:  pkgconfig(libcanberra-gtk3)
+
+BuildRequires:  desktop-file-utils
+BuildRequires:  intltool
+BuildRequires:  itstool
+
+
+%description
+Taquin is a computer version of the 15-puzzle and other sliding puzzles.
+The object of Taquin is to move tiles so that they reach their places, 
+either indicated with numbers, or with parts of a great image.
+
+%prep
+%setup -q
+
+# 3.15.3 tarball has some file permission issues 
+chmod -x AUTHORS NEWS COPYING src/*
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+%find_lang %{name} --with-gnome
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+
+
+%post
+for theme in %{icon_themes} ; do
+  touch --no-create %{_datadir}/icons/$theme &>/dev/null || :
+done
+
+
+%postun
+if [ $1 -eq 0 ]; then
+  for theme in %{icon_themes} ; do
+    touch --no-create %{_datadir}/icons/$theme &> /dev/null
+    gtk-update-icon-cache %{_datadir}/icons/$theme &> /dev/null || :
+  done
+  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+
+%posttrans
+for theme in %{icon_themes} ; do
+  gtk-update-icon-cache %{_datadir}/icons/$theme &>/dev/null || :
+done
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc AUTHORS NEWS
+# FIXME will add the other licenses once the are distributed with the tarball
+# https://bugzilla.gnome.org/show_bug.cgi?id=742964
+%license COPYING
+%{_bindir}/gnome-taquin
+%{_datadir}/appdata/gnome-taquin.appdata.xml
+%{_datadir}/applications/gnome-taquin.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.taquin.gschema.xml
+%{_datadir}/gnome-taquin
+%{_datadir}/icons/*/*/apps/gnome-taquin.*
+%{_mandir}/man6/gnome-taquin.6.*
+
+
+%changelog
+* Thu Jan 15 2015 Yanko Kaneti <yaneti at declera.com> - 3.15.3-1
+- Packaging attempt
diff --git a/sources b/sources
index e69de29..fdfe539 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a70f7def9593eefdaa690c657d207153  gnome-taquin-3.15.3.tar.xz


More information about the scm-commits mailing list