Summary: A collection of patience games written in guile scheme Name: aisleriot Version: 3.22.8 Release: 1%{?_dist_release} %global shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//') Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz Source1: https://github.com/GNOME/%{name}/raw/master/po/ja.po License: GFDL,GPLv3,LGPLv3 Group: Applications/Games URL: https://live.gnome.org/Aisleriot BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk3-devel BuildRequires: GConf2-devel BuildRequires: libtool-ltdl-devel BuildRequires: libcanberra-gtk3-devel BuildRequires: librsvg2-devel BuildRequires: libSM-devel BuildRequires: guile-devel > 2.2.0 BuildRequires: gc-devel BuildRequires: itstool BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires(postun,posttrans): desktop-file-utils Requires(postun,posttrans): glib2 Requires(post,postun): gtk2 Requires(post,preun): GConf2 Vendor: Project Vine Distribution: Vine Linux %description Aisleriot (also known as Solitaire or sol) is a collection of card games which are easy to play with the aid of a mouse. The rules for the games have been coded for your pleasure in the GNOME scripting language (Scheme). %prep %setup -q %build %configure \ --disable-static \ --with-card-theme-formats=svg,fixed %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %find_lang %{name} %clean %{__rm} -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||: touch %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi %postun touch %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor fi glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %preun export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/aisleriot.schemas >& /dev/null ||: %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: %files -f %{name}.lang %defattr(-,root,root,-) %license COPYING.GFDL COPYING.GPL3 COPYING.LGPL3 %doc AUTHORS ChangeLog NEWS %{_sysconfdir}/gconf/schemas/%{name}.schemas %{_bindir}/sol %{_libdir}/%{name} %{_libdir}/valgrind/aisleriot.supp %{_libexecdir}/%{name}/ar-cards-renderer %{_datadir}/%{name} %{_datadir}/metainfo/sol.appdata.xml %{_datadir}/applications/sol.desktop %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml %{_datadir}/help %{_datadir}/icons/hicolor/*/*/* %{_mandir}/man6/sol.6.gz %changelog * Mon Sep 09 2019 Tomohiro "Tomo-p" KATO 3.22.8-1 - new upstream release. - imported newest ja.po from upstream. * Mon Jul 18 2016 Yoji TOYODA 3.20.2-1 - new upstream release * Fri Nov 13 2015 Yoji TOYODA 3.18.2-1 - new upstream release * Sun Nov 01 2015 Yoji TOYODA 3.18.1-1 - new upstream release * Sat May 16 2015 Yoji TOYODA 3.16.2-1 - new upstream release * Sun Apr 19 2015 Yoji TOYODA 3.16.1-1 - new upstream release * Sun Mar 29 2015 Yoji TOYODA 3.16.0-1 - new upstream release * Sun Jan 25 2015 Yoji TOYODA 3.14.2-1 - new upstream release - add BuildRequires: desktop-file-utils, appdata-tools, gc-devel * Sat Dec 13 2014 Ryoichi INAGAKI 3.2.3.2-1 - updated to 3.2.3.2 - built with guile 1.8.8 * Tue Nov 22 2011 Yoji TOYODA 3.2.2-1 - new upstream release * Sat Oct 22 2011 Yoji TOYODA 3.2.1-1 - initial build for Vine Linux