[quadrapassel] Initial import (#920875)

doshitan doshitan at fedoraproject.org
Sun May 12 16:35:26 UTC 2013


commit 8483812225cbeb7f711355c31282208cb977d244
Author: Tanner Doshier <doshitan at gmail.com>
Date:   Sun May 12 11:31:46 2013 -0500

    Initial import (#920875)

 .gitignore        |    1 +
 quadrapassel.spec |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e52d8e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/quadrapassel-3.8.0.tar.xz
diff --git a/quadrapassel.spec b/quadrapassel.spec
new file mode 100644
index 0000000..bf689f6
--- /dev/null
+++ b/quadrapassel.spec
@@ -0,0 +1,80 @@
+Name:           quadrapassel
+Version:        3.8.0
+Release:        1%{?dist}
+Summary:        GNOME Quadrapassel game
+
+License:        GPLv2+ and CC-BY-SA
+URL:            https://live.gnome.org/Quadrapassel
+Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
+
+BuildRequires:  clutter-gtk-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  itstool
+BuildRequires:  libcanberra-devel
+BuildRequires:  librsvg2-devel
+
+Obsoletes: gnome-games-quadrapassel < 1:3.7.92
+
+%description
+The Russian game of falling geometric shapes.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.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}/quadrapassel
+%{_datadir}/applications/quadrapassel.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.quadrapassel.gschema.xml
+%{_datadir}/icons/HighContrast/*/apps/quadrapassel.*
+%{_datadir}/icons/hicolor/*/apps/quadrapassel.*
+%{_datadir}/quadrapassel
+%{_mandir}/man6/quadrapassel.6*
+
+
+%changelog
+* 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
+
+* Tue Mar 12 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.90-1
+- Initial packaging of standalone quadrapassel
diff --git a/sources b/sources
index e69de29..c243773 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3b5b927fb35619482235360c12acfe68  quadrapassel-3.8.0.tar.xz


More information about the scm-commits mailing list