[packages/gnome-nibbles] - new

qboosh qboosh at pld-linux.org
Mon Jun 23 18:18:04 CEST 2014


commit 0f73612b8b3ff954468812204fcd95858ee8a702
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 23 18:22:07 2014 +0200

    - new

 gnome-nibbles.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
---
diff --git a/gnome-nibbles.spec b/gnome-nibbles.spec
new file mode 100644
index 0000000..783dd05
--- /dev/null
+++ b/gnome-nibbles.spec
@@ -0,0 +1,90 @@
+Summary:	GNOME Nibbles - classic snake game
+Summary(pl.UTF-8):	Nibbles dla GNOME - klasyczna gra w węża
+Name:		gnome-nibbles
+Version:	3.12.2
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Games
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-nibbles/3.12/%{name}-%{version}.tar.xz
+# Source0-md5:	2d06f838e6505a216ff18f5d6f32387e
+URL:		https://wiki.gnome.org/Apps/Nibbles
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	clutter-devel >= 1.14.4
+BuildRequires:	clutter-gtk-devel >= 1.2.0
+BuildRequires:	gnome-common
+BuildRequires:	gtk+3-devel >= 3.10.0
+BuildRequires:	intltool >= 0.50
+BuildRequires:	libcanberra-gtk3-devel >= 0.26
+BuildRequires:	librsvg-devel >= 2.32.0
+BuildRequires:	pkgconfig
+BuildRequires:	yelp-tools
+Requires(post,postun):	gtk-update-icon-cache
+Requires(post,postun):	glib2 >= 1:2.26.0
+Requires:	clutter >= 1.14.4
+Requires:	clutter-gtk >= 1.2.0
+Requires:	gtk+3 >= 3.10.0
+Requires:	hicolor-icon-theme
+Requires:	libcanberra-gtk3 >= 0.26
+Requires:	librsvg >= 2.32.0
+Provides:	gnome-games-gnibbles = 1:%{version}-%{release}
+Obsoletes:	gnome-games-gnibbles < 1:3.8.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNOME Nibbles is a game where the user controls a snake. The snake
+moves around the board, eating diamonds while avoiding the walls
+placed around it. 
+
+%description -l pl.UTF-8
+GNOME Nibbles to gra, w której użytkownik steruje wężem. Wąż
+przemieszcza się po planszy zjadając diamenty, unikając zderzeń ze
+ścianami.
+
+%prep
+%setup -q
+
+%build
+%{__intltoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+%update_icon_cache HighContrast
+%update_icon_cache hicolor
+
+%postun
+%glib_compile_schemas
+%update_icon_cache HighContrast
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS
+%attr(755,root,root) %{_bindir}/gnome-nibbles
+%{_datadir}/appdata/gnome-nibbles.appdata.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml
+%{_datadir}/gnome-nibbles
+%{_desktopdir}/gnome-nibbles.desktop
+%{_iconsdir}/HighContrast/*/apps/gnome-nibbles.png
+%{_iconsdir}/hicolor/*/apps/gnome-nibbles.png
+%{_iconsdir}/hicolor/scalable/apps/gnome-nibbles.svg
+%{_mandir}/man6/gnome-nibbles.6*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-nibbles.git/commitdiff/0f73612b8b3ff954468812204fcd95858ee8a702



More information about the pld-cvs-commit mailing list