#FIXME: disabled temporarily to get package build (wally 07/2011) %define Werror_cflags %nil Name: aisleriot Version: 3.1.0 Release: %mkrel 1 Url: http://live.gnome.org/Aisleriot Source0: ftp://ftp.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz Summary: A compilation of solitaire card games License: GPLv3+ Group: Games/Other Conflicts: gnome-games < 2.29.6-2 BuildRequires: gtk+3-devel BuildRequires: guile-devel BuildRequires: clutter-devel BuildRequires: clutter-gtk-devel BuildRequires: intltool BuildRequires: libcanberra-gtk-devel BuildRequires: libGConf2-devel BuildRequires: librsvg-devel BuildRequires: libsm-devel %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 %configure2_5x \ --disable-schemas-compile \ --disable-schemas-install \ --disable-scrollkeeper \ --disable-static \ --with-gtk=3.0 \ --with-clutter %make %install %makeinstall_std %find_lang %{name} --with-gnome for omf in `find %{buildroot}%{_datadir}/omf/%{name}/*.omf|grep -v \\\-C\\\.omf`; do echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%{buildroot}!!)" >> %{name}.lang done %preun %preun_uninstall_gconf_schemas %{name} %files -f %{name}.lang %defattr(-, root, root) %{_sysconfdir}/gconf/schemas/%{name}.schemas %attr(2555, root, games) %{_bindir}/sol %dir %{_libdir}/%{name} %{_libdir}/%{name}/ar-cards-renderer %{_datadir}/applications/sol.desktop %{_datadir}/applications/freecell.desktop %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml %{_iconsdir}/*/*/*/gnome-aisleriot.* %{_iconsdir}/*/*/*/gnome-freecell.* %{_mandir}/man6/sol.* %{_datadir}/%{name} %dir %{_datadir}/omf/%{name} %{_datadir}/omf/%{name}/%{name}-C.omf