[7633] | 1 | Name: four-in-a-row |
---|
| 2 | Summary: GNOME "Four in a row" |
---|
| 3 | Summary(ja): GNOME "Four in a row" |
---|
[7938] | 4 | Version: 3.10.1 |
---|
[8119] | 5 | Release: 2%{?_dist_release} |
---|
[7633] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Four-in-a-row |
---|
[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 | Four-in-a-row is to build a line of four of your marbles while trying to stop |
---|
| 27 | your opponent (human or computer) building a line of his or her own. A line can |
---|
| 28 | be horizontal, vertical or diagonal. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %configure |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 42 | |
---|
| 43 | %find_lang %{name} --with-gnome |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | %post |
---|
| 49 | touch %{_datadir}/icons/hicolor |
---|
| 50 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 51 | |
---|
| 52 | %postun |
---|
| 53 | if [ $1 -eq 0 ]; then |
---|
| 54 | touch %{_datadir}/icons/hicolor |
---|
| 55 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 56 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 57 | update-desktop-database -q > /dev/null || : |
---|
| 58 | fi |
---|
| 59 | |
---|
| 60 | %posttrans |
---|
| 61 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 62 | update-desktop-database -q > /dev/null || : |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files -f %{name}.lang |
---|
| 66 | %defattr(-, root, root) |
---|
| 67 | %doc COPYING NEWS |
---|
| 68 | %{_bindir}/%{name} |
---|
[7938] | 69 | %{_datadir}/appdata/four-in-a-row.appdata.xml |
---|
[7633] | 70 | %{_datadir}/applications/gnect.desktop |
---|
| 71 | %{_datadir}/glib-2.0/schemas/org.gnome.four-in-a-row.gschema.xml |
---|
| 72 | %{_datadir}/%{name} |
---|
| 73 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 74 | %{_datadir}/icons/HighContrast/*/apps/%{name}.* |
---|
| 75 | %{_mandir}/man6/%{name}.6.gz |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[8119] | 79 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 80 | - rebuild with VineSeed environment |
---|
| 81 | |
---|
[7938] | 82 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-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 | |
---|