[7633] | 1 | Name: five-or-more |
---|
| 2 | Summary: GNOME "Five or More" |
---|
| 3 | Summary(ja): GNOME "Five or More" |
---|
[7712] | 4 | Version: 3.8.2 |
---|
[7633] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Five%20or%20more |
---|
| 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: 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} |
---|
| 66 | %{_datadir}/applications/glines.desktop |
---|
| 67 | %{_datadir}/glib-2.0/schemas/org.gnome.five-or-more.gschema.xml |
---|
| 68 | %{_datadir}/%{name} |
---|
| 69 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 70 | %{_mandir}/man6/%{name}.6.gz |
---|
| 71 | %verify(not md5 size mtime) %config(noreplace) %attr(664, games, games) /var/lib/games/glines.* |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[7712] | 75 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 76 | - new upstream release |
---|
| 77 | |
---|
[7633] | 78 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 79 | - initial build |
---|
| 80 | |
---|