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

Revision 7633, 2.1 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.8.1

Line 
1Name:                   gnome-robots
2Summary:                GNOME Robots
3Summary(ja):    GNOME ロボット
4Version:                3.8.1
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.8/%{name}-%{version}.tar.xz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  gtk3-devel
14BuildRequires:  librsvg2-devel
15BuildRequires:  libcanberra-gtk3-devel
16BuildRequires:  yelp-tools
17
18Requires(postun,posttrans): desktop-file-utils
19Requires(postun,posttrans): gtk3
20
21Vendor:                 Project Vine
22Distribution:   Vine Linux
23Packager:               Takemikaduchi
24
25%description
26gnome-robots game where you have to avoid a hoard of robots who are trying
27to kill you. Each step you take brings them closer toward you.
28Fortunately they aren't very smart and you also have a helpful teleportation gadget.
29
30%prep
31%setup -q
32
33%build
34%configure --localstatedir=/var/lib
35make %{?_smp_mflags}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40make install DESTDIR=$RPM_BUILD_ROOT
41
42%find_lang %{name} --with-gnome
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48touch %{_datadir}/icons/hicolor
49gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
50
51%postun
52if [ $1 -eq 0 ]; then
53  touch %{_datadir}/icons/hicolor
54  gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
55  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
56  update-desktop-database -q > /dev/null || :
57fi
58
59%posttrans
60glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
61update-desktop-database -q > /dev/null || :
62
63
64%files -f %{name}.lang
65%defattr(-, root, root)
66%doc  COPYING NEWS
67%attr(2551, root, games) %{_bindir}/%{name}
68%{_datadir}/applications/gnobots2.desktop
69%{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml
70%{_datadir}/%{name}
71%{_datadir}/icons/hicolor/*/apps/%{name}.*
72%{_datadir}/icons/hicolor/24x24/actions/teleport-random.png
73%{_datadir}/icons/hicolor/24x24/actions/teleport.png
74%{_datadir}/icons/HighContrast/*/apps/%{name}.*
75%{_mandir}/man6/%{name}.6.gz
76%verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) /var/lib/games/%{name}.*
77
78
79%changelog
80* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
81- initial build
82
Note: See TracBrowser for help on using the repository browser.