[gnome-robots] Initial import (#920844)
doshitan
doshitan at fedoraproject.org
Mon May 6 20:32:36 UTC 2013
commit 73437cfabdeac52fa8cc7ebb09f115436ca468df
Author: Tanner Doshier <doshitan at gmail.com>
Date: Mon May 6 15:22:26 2013 -0500
Initial import (#920844)
.gitignore | 1 +
gnome-robots.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e71e395 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-robots-3.8.0.tar.xz
diff --git a/gnome-robots.spec b/gnome-robots.spec
new file mode 100644
index 0000000..d525243
--- /dev/null
+++ b/gnome-robots.spec
@@ -0,0 +1,86 @@
+Name: gnome-robots
+Version: 3.8.0
+Release: 1%{?dist}
+Summary: GNOME Robots game
+
+License: GPLv2+ and GFDL
+URL: https://live.gnome.org/Robots
+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: libcanberra-devel
+BuildRequires: librsvg2-devel
+
+Obsoletes: gnome-games-gnobots2 < 1:3.7.92
+
+%description
+The classic game where you have to avoid a hoard of robots who are trying to
+kill you. Each step you take brings them closer toward you. Fortunately they
+aren't very smart and you also have a helpful teleportation gadget.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnobots2.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
+%attr(2551, root, games) %{_bindir}/gnome-robots
+%{_datadir}/applications/gnobots2.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml
+%{_datadir}/gnome-robots
+%{_datadir}/icons/HighContrast/*/apps/gnome-robots.*
+%{_datadir}/icons/hicolor/*/actions/teleport*
+%{_datadir}/icons/hicolor/*/apps/gnome-robots.*
+%verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) %{_localstatedir}/games/gnome-robots.*
+%{_mandir}/man6/gnome-robots.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
+- Add high contrast icons
+
+* Fri Mar 8 2013 Tanner Doshier <doshitan at gmail.com> - 3.7.90-1
+- Initial packaging of standalone gnome-robots
diff --git a/sources b/sources
index e69de29..f10015d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+05ea450e0449e6f810a7a975ac0ec48e gnome-robots-3.8.0.tar.xz
More information about the scm-commits
mailing list