[7633] | 1 | Name: gnome-robots |
---|
| 2 | Summary: GNOME Robots |
---|
| 3 | Summary(ja): GNOME ロボット |
---|
[8060] | 4 | Version: 3.10.1 |
---|
[7633] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Mines |
---|
[7938] | 9 | Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.10/%{name}-%{version}.tar.xz |
---|
[7633] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: gtk3-devel |
---|
| 14 | BuildRequires: librsvg2-devel |
---|
| 15 | BuildRequires: libcanberra-gtk3-devel |
---|
| 16 | BuildRequires: yelp-tools |
---|
| 17 | |
---|
| 18 | Requires(postun,posttrans): desktop-file-utils |
---|
| 19 | Requires(postun,posttrans): gtk3 |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | gnome-robots game where you have to avoid a hoard of robots who are trying |
---|
| 27 | to kill you. Each step you take brings them closer toward you. |
---|
| 28 | Fortunately 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 |
---|
| 35 | make %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | |
---|
| 40 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 41 | |
---|
| 42 | %find_lang %{name} --with-gnome |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | |
---|
| 47 | %post |
---|
| 48 | touch %{_datadir}/icons/hicolor |
---|
| 49 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 50 | |
---|
| 51 | %postun |
---|
| 52 | if [ $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 || : |
---|
| 57 | fi |
---|
| 58 | |
---|
| 59 | %posttrans |
---|
| 60 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 61 | update-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} |
---|
[7938] | 68 | %{_datadir}/appdata/gnome-robots.appdata.xml |
---|
[7633] | 69 | %{_datadir}/applications/gnobots2.desktop |
---|
| 70 | %{_datadir}/glib-2.0/schemas/org.gnome.robots.gschema.xml |
---|
| 71 | %{_datadir}/%{name} |
---|
| 72 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 73 | %{_datadir}/icons/hicolor/24x24/actions/teleport-random.png |
---|
| 74 | %{_datadir}/icons/hicolor/24x24/actions/teleport.png |
---|
| 75 | %{_datadir}/icons/HighContrast/*/apps/%{name}.* |
---|
| 76 | %{_mandir}/man6/%{name}.6.gz |
---|
| 77 | %verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) /var/lib/games/%{name}.* |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %changelog |
---|
[8060] | 81 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
[7938] | 84 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[7633] | 87 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 88 | - initial build |
---|
| 89 | |
---|