%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: gnome-sudoku Summary: GNOME Sudoku Summary(ja): GNOME 数独 Version: 3.12.2 Release: 1%{?_dist_release} License: GPLv2 Group: Applications/Games URL: https://live.gnome.org/ Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.12/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk3-devel BuildRequires: pygobject3-devel BuildRequires: python3-pygobject BuildRequires: yelp-tools Requires(postun,posttrans): desktop-file-utils Requires(postun,posttrans): gtk3 Requires: python3-pygobject, python3-pycairo Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description Gnome Sudoku is a logic game with a Japanese name that has recently exploded in popularity. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} --with-gnome %clean rm -rf $RPM_BUILD_ROOT %post touch %{_datadir}/icons/hicolor gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : %postun if [ $1 -eq 0 ]; then touch %{_datadir}/icons/hicolor gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: update-desktop-database -q > /dev/null || : fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: update-desktop-database -q > /dev/null || : %files -f %{name}.lang %defattr(-, root, root) %doc COPYING NEWS %{_bindir}/%{name} %{python3_sitelib}/gnome_sudoku %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.gschema.xml %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/icons/HighContrast/*/apps/%{name}.* %{_mandir}/man6/%{name}.6.gz %changelog * Sat May 17 2014 Yoji TOYODA 3.12.2-1 - new upstream release * Sun Apr 20 2014 Yoji TOYODA 3.12.1-1 - new upstream release * Sun Apr 13 2014 Yoji TOYODA 3.12.0-1 - new upstream release - add BuildRequires: python3-pygobject - add Requires: python3-pygobject, python3-pycairo * Sat Nov 30 2013 Yoji TOYODA 3.10.2-1 - new upstream release * Sat Oct 26 2013 Yoji TOYODA 3.10.1-1 - new upstream release * Sun Apr 21 2013 Yoji TOYODA 3.8.1-1 - initial build - add Patch0 (0001-Fix-NumberBox-envents-configuration-with-latest-pygo.patch) from fedora