[7633] | 1 | Name: five-or-more |
---|
| 2 | Summary: GNOME "Five or More" |
---|
| 3 | Summary(ja): GNOME "Five or More" |
---|
[8011] | 4 | Version: 3.10.2 |
---|
[7633] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Five%20or%20more |
---|
[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: yelp-tools |
---|
| 16 | |
---|
| 17 | Requires(postun,posttrans): desktop-file-utils |
---|
| 18 | Requires(postun,posttrans): gtk3 |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: Takemikaduchi |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Five or More is the GNOME port of the once popular Windows game called Color Lines. |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %configure --localstatedir=/var/lib |
---|
| 33 | make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf $RPM_BUILD_ROOT |
---|
| 37 | |
---|
| 38 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 39 | |
---|
| 40 | %find_lang %{name} --with-gnome |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %post |
---|
| 46 | touch %{_datadir}/icons/hicolor |
---|
| 47 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 48 | |
---|
| 49 | %postun |
---|
| 50 | if [ $1 -eq 0 ]; then |
---|
| 51 | touch %{_datadir}/icons/hicolor |
---|
| 52 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 53 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 54 | update-desktop-database -q > /dev/null || : |
---|
| 55 | fi |
---|
| 56 | |
---|
| 57 | %posttrans |
---|
| 58 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 59 | update-desktop-database -q > /dev/null || : |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files -f %{name}.lang |
---|
| 63 | %defattr(-, root, root) |
---|
| 64 | %doc COPYING NEWS |
---|
| 65 | %attr(2551, root, games) %{_bindir}/%{name} |
---|
[7938] | 66 | %{_datadir}/appdata/five-or-more.appdata.xml |
---|
[7633] | 67 | %{_datadir}/applications/glines.desktop |
---|
| 68 | %{_datadir}/glib-2.0/schemas/org.gnome.five-or-more.gschema.xml |
---|
| 69 | %{_datadir}/%{name} |
---|
| 70 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 71 | %{_mandir}/man6/%{name}.6.gz |
---|
| 72 | %verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) /var/lib/games/glines.* |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[8011] | 76 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[7938] | 79 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
[7712] | 82 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
[7633] | 85 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 86 | - initial build |
---|
| 87 | |
---|