[7633] | 1 | Name: swell-foop |
---|
| 2 | Summary: GNOME Swell Foop (Same GNOME) |
---|
| 3 | Summary(ja): さめ GNOME |
---|
[7786] | 4 | Version: 3.8.2 |
---|
[7633] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Swell%20Foop |
---|
| 9 | Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.8/%{name}-%{version}.tar.xz |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: gtk3-devel |
---|
| 14 | BuildRequires: clutter-gtk-devel |
---|
| 15 | BuildRequires: yelp-tools |
---|
| 16 | BuildRequires: vala |
---|
| 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 | Swell Foop is a puzzle game, previously known as Same GNOME. The goal is to |
---|
| 27 | remove the objects in as few moves as possible. Similar objects that are |
---|
| 28 | adjacent to each other are removed as a group. The remaining objects then |
---|
| 29 | collapse to fill in the gaps and new groups are formed. You cannot remove |
---|
| 30 | single objects. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | %configure |
---|
| 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 |
---|
[7786] | 70 | #%attr(2551, root, games) %{_bindir}/%{name} |
---|
| 71 | %{_bindir}/%{name} |
---|
[7633] | 72 | %{_datadir}/applications/%{name}.desktop |
---|
| 73 | %{_datadir}/glib-2.0/schemas/org.gnome.swell-foop.gschema.xml |
---|
| 74 | %{_datadir}/%{name} |
---|
| 75 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[7786] | 79 | * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 80 | - new upstream release |
---|
| 81 | - change permission |
---|
| 82 | |
---|
[7633] | 83 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 84 | - initial build |
---|
| 85 | |
---|