source: projects/specs/trunk/g/gnome-robots/gnome-robots-vl.spec @ 10716

Revision 10716, 3.1 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1Name:                   gnome-robots
2Summary:                GNOME Robots
3Summary(ja):    GNOME ロボット
4Version:                3.20.2
5Release:                1%{?_dist_release}
6License:                GPLv2
7Group:                  Applications/Games
8URL:                    https://live.gnome.org/Mines
9Source:                 ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.20/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel
14BuildRequires:  librsvg2-devel
15BuildRequires:  libcanberra-gtk3-devel
16BuildRequires:  libgames-support-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
27gnome-robots game where you have to avoid a hoard of robots who are trying
28to kill you. Each step you take brings them closer toward you.
29Fortunately they aren't very smart and you also have a helpful teleportation gadget.
30
31%prep
32%setup -q
33
34%build
35%configure --localstatedir=/var/lib
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41make install DESTDIR=$RPM_BUILD_ROOT
42
43%find_lang %{name} --with-gnome
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49touch %{_datadir}/icons/hicolor
50gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
51
52%postun
53if [ $1 -eq 0 ]; then
54  touch %{_datadir}/icons/hicolor
55  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
56  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
57  update-desktop-database -q > /dev/null || :
58fi
59
60%posttrans
61glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
62update-desktop-database -q > /dev/null || :
63
64
65%files -f %{name}.lang
66%defattr(-, root, root)
67%doc  COPYING NEWS
68%{_bindir}/%{name}
69%{_datadir}/appdata/%{name}.appdata.xml
70%{_datadir}/applications/%{name}.desktop
71%{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml
72%{_datadir}/%{name}
73%{_datadir}/icons/hicolor/*/*/*
74%{_mandir}/man6/%{name}.6.gz
75
76
77%changelog
78* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
79- new upstream release
80- add BuildRequires: libgames-support-devel
81
82* Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
83- new upstream release
84
85* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
86- new upstream release
87
88* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
89- new upstream release
90
91* Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
92- new upstream release
93
94* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
95- new upstream release
96
97* Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
98- new upstream release
99
100* Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
101- new upstream release
102
103* Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
104- new upstream release
105
106* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
107- new upstream release
108
109* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
110- new upstream release
111
112* Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
113- new upstream release
114
115* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
116- new upstream release
117
118* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
119- initial build
120
Note: See TracBrowser for help on using the repository browser.