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