[7633] | 1 | Name: quadrapassel |
---|
| 2 | Summary: GNOME Quadrapassel |
---|
| 3 | Summary(ja): GNOME Quadrapassel |
---|
[7756] | 4 | Version: 3.8.2 |
---|
[7633] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: https://live.gnome.org/Quadrapassel |
---|
| 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: libcanberra-gtk3-devel |
---|
| 16 | BuildRequires: librsvg2-devel |
---|
| 17 | BuildRequires: yelp-tools |
---|
| 18 | BuildRequires: vala |
---|
| 19 | |
---|
| 20 | Requires(postun,posttrans): desktop-file-utils |
---|
| 21 | Requires(postun,posttrans): gtk3 |
---|
| 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: Takemikaduchi |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | The Russian game of falling geometric shapes. |
---|
| 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 | %attr(2551, root, games) %{_bindir}/%{name} |
---|
| 69 | %{_datadir}/applications/%{name}.desktop |
---|
| 70 | %{_datadir}/glib-2.0/schemas/org.gnome.quadrapassel.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 |
---|
[7756] | 78 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
[7633] | 81 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 82 | - initial build |
---|
| 83 | |
---|