[7633] | 1 | Name: gnome-mahjongg |
---|
| 2 | Summary: GNOME Mahjongg |
---|
| 3 | Summary(ja): GNOME 上海 |
---|
[8447] | 4 | Version: 3.12.2 |
---|
[7938] | 5 | Release: 1%{?_dist_release} |
---|
[7633] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Mahjongg |
---|
[8353] | 9 | Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.12/%{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 | 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 | gnome-mahjongg is a solitaire (one player) version of the classic Eastern tile game, |
---|
| 27 | Mahjongg. The objective is to select pairs of similar tiles. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure |
---|
| 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 |
---|
[7786] | 67 | %{_bindir}/%{name} |
---|
[8353] | 68 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
| 69 | %{_datadir}/applications/%{name}.desktop |
---|
[7633] | 70 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-mahjongg.gschema.xml |
---|
| 71 | %{_datadir}/%{name} |
---|
| 72 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 73 | %{_datadir}/icons/HighContrast/*/apps/%{name}.* |
---|
| 74 | %{_mandir}/man6/%{name}.6.gz |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %changelog |
---|
[8447] | 78 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[8369] | 81 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
[8353] | 84 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[8011] | 87 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[7938] | 90 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[7786] | 93 | * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-2 |
---|
| 94 | - change permission |
---|
| 95 | |
---|
[7633] | 96 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 97 | - initial build |
---|
| 98 | |
---|