source: projects/specs/trunk/g/gnome-nibbles/gnome-nibbles-vl.spec @ 9804

Revision 9804, 2.8 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.18.2 & Cinnamon-2.8.4

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