[7633] | 1 | Name: gnome-nibbles |
---|
| 2 | Summary: GNOME Nibbles |
---|
| 3 | Summary(ja): GNOME Nibbles |
---|
[8447] | 4 | Version: 3.12.2 |
---|
[8353] | 5 | Release: 1%{?_dist_release} |
---|
[7633] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Nibbles |
---|
[8353] | 9 | Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.12/%{name}-%{version}.tar.xz |
---|
[7633] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: gtk3-devel |
---|
| 14 | BuildRequires: librsvg2-devel |
---|
| 15 | BuildRequires: clutter-gtk-devel |
---|
| 16 | BuildRequires: libcanberra-gtk3-devel |
---|
| 17 | BuildRequires: yelp-tools |
---|
| 18 | |
---|
| 19 | Requires(postun,posttrans): desktop-file-utils |
---|
| 20 | Requires(postun,posttrans): gtk3 |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 24 | Packager: Takemikaduchi |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | Nibbles is a game where the user controls a snake. The snake moves around the board, |
---|
| 28 | eating diamonds while avoiding the walls placed around it. Nibbles also features |
---|
| 29 | network multiplayer, and up to six evil AI worms! |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q |
---|
| 34 | |
---|
| 35 | %build |
---|
| 36 | %configure --localstatedir=/var/lib |
---|
| 37 | make %{?_smp_mflags} |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf $RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 43 | |
---|
| 44 | %find_lang %{name} --with-gnome |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %post |
---|
| 50 | touch %{_datadir}/icons/hicolor |
---|
| 51 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 52 | |
---|
| 53 | %postun |
---|
| 54 | if [ $1 -eq 0 ]; then |
---|
| 55 | touch %{_datadir}/icons/hicolor |
---|
| 56 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 57 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 58 | update-desktop-database -q > /dev/null || : |
---|
| 59 | fi |
---|
| 60 | |
---|
| 61 | %posttrans |
---|
| 62 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 63 | update-desktop-database -q > /dev/null || : |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %files -f %{name}.lang |
---|
| 67 | %defattr(-, root, root) |
---|
| 68 | %doc COPYING NEWS |
---|
[8353] | 69 | %{_bindir}/%{name} |
---|
| 70 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
| 71 | %{_datadir}/applications/%{name}.desktop |
---|
[7633] | 72 | %{_datadir}/glib-2.0/schemas/org.gnome.nibbles.gschema.xml |
---|
| 73 | %{_datadir}/%{name} |
---|
| 74 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 75 | %{_datadir}/icons/HighContrast/*/apps/%{name}.* |
---|
| 76 | %{_mandir}/man6/%{name}.6.gz |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[8447] | 80 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 81 | - new upstream release |
---|
| 82 | |
---|
[8369] | 83 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
[8353] | 86 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 87 | - new upstream release |
---|
| 88 | |
---|
[8119] | 89 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 90 | - rebuild with VineSeed environment |
---|
| 91 | |
---|
[7938] | 92 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[7633] | 95 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 96 | - initial build |
---|
| 97 | |
---|