[five-or-more] Initial import (#920856)

doshitan doshitan at fedoraproject.org
Mon May 6 20:46:00 UTC 2013


commit 02de5d5c57a88a2162e145474d6783fe3f0e0541
Author: Tanner Doshier <doshitan at gmail.com>
Date:   Mon May 6 15:41:24 2013 -0500

    Initial import (#920856)

 .gitignore        |    1 +
 five-or-more.spec |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7d9462e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/five-or-more-3.8.0.tar.xz
diff --git a/five-or-more.spec b/five-or-more.spec
new file mode 100644
index 0000000..3bb4e93
--- /dev/null
+++ b/five-or-more.spec
@@ -0,0 +1,77 @@
+Name:           five-or-more
+Version:        3.8.0
+Release:        1%{?dist}
+Summary:        GNOME "Five or More" game
+
+License:        GPLv2+ and GFDL
+URL:            https://live.gnome.org/Five_or_more
+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-glines < 1:3.7.92
+
+%description
+Move balls around the grid and try and form lines. Once you form five in a
+row, the line disappears. Unfortunately more balls keep dropping in.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glines.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
+%attr(2551, root, games) %{_bindir}/five-or-more
+%{_datadir}/applications/glines.desktop
+%{_datadir}/five-or-more
+%{_datadir}/glib-2.0/schemas/org.gnome.five-or-more.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/five-or-more.*
+%verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) %{_localstatedir}/games/glines.*
+%{_mandir}/man6/five-or-more.6*
+
+
+%changelog
+* Fri Mar 29 2013 Tanner Doshier <doshitan at gmail.com> - 3.8.0-1
+- Update to 3.8.0
+- Use setgid games
+
+* Fri Mar 22 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.92-1
+- Update to 3.7.92
+- Use old desktop file name
+
+* Fri Mar 8 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.90-1
+- Initial packaging of standalone five-or-more
diff --git a/sources b/sources
index e69de29..efbc63b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f1b6bed76256a6c7a76384426c7d02fc  five-or-more-3.8.0.tar.xz


More information about the scm-commits mailing list