d314e57
d314e57
Summary: A collection of card games
d314e57
Name:    aisleriot
b72cb0a
Version: 3.2.3.2
Cosimo Cecchi 16353c7
Release: 2%{?dist}
Cosimo Cecchi 3428d1e
Epoch:   1
598a3b8
License: GPLv3+ and LGPLv3+ and GFDL
d314e57
Group:   Amusements/Games
d314e57
#VCS: git:git://git.gnome.org/aisleriot
b72cb0a
Source:  http://download.gnome.org/sources/aisleriot/3.2/aisleriot-%{version}.tar.xz
d314e57
URL:     http://live.gnome.org/Aisleriot
d314e57
d314e57
BuildRequires: glib2-devel
d314e57
BuildRequires: gtk3-devel
d314e57
BuildRequires: GConf2-devel
d314e57
BuildRequires: librsvg2-devel
d314e57
BuildRequires: libcanberra-devel
d314e57
BuildRequires: libICE-devel
d314e57
BuildRequires: libSM-devel
d314e57
BuildRequires: gstreamer-devel
d314e57
BuildRequires: intltool
598a3b8
BuildRequires: itstool
d314e57
BuildRequires: guile-devel
d314e57
BuildRequires: gnome-doc-utils
d314e57
BuildRequires: yelp-tools
d314e57
BuildRequires: scrollkeeper
d314e57
BuildRequires: docbook-dtds
d314e57
BuildRequires: desktop-file-utils
d314e57
d314e57
Requires(pre): GConf2
d314e57
Requires(post): GConf2
d314e57
Requires(preun): GConf2
d314e57
d314e57
%description
f9a41a1
Aisleriot is a collection of over 80 card games programmed in scheme.
d314e57
d314e57
%prep
d314e57
%setup -q
d314e57
d314e57
%build
d314e57
%configure
d314e57
make %{_smp_mflags}
d314e57
d314e57
%install
d314e57
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
d314e57
make install DESTDIR=$RPM_BUILD_ROOT
d314e57
43f5e9f
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/freecell.desktop
43f5e9f
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/sol.desktop
d314e57
598a3b8
%find_lang %{name}
598a3b8
598a3b8
# https://bugzilla.redhat.com/show_bug.cgi?id=736523
598a3b8
echo "%%dir %%{_datadir}/help/C" >> aisleriot.lang
598a3b8
echo "%%{_datadir}/help/C/%%{name}" >> aisleriot.lang
f9a41a1
for l in ca de el en_GB es eu fr gl oc ru sl sr sr@latin sv zh_CN; do
598a3b8
  echo "%%dir %%{_datadir}/help/$l"
598a3b8
  echo "%%lang($l) %%{_datadir}/help/$l/%%{name}"
598a3b8
done >> aisleriot.lang
d314e57
d314e57
%pre
d314e57
%gconf_schema_prepare aisleriot
d314e57
d314e57
%preun
d314e57
%gconf_schema_remove aisleriot
d314e57
d314e57
%post
d314e57
%gconf_schema_upgrade aisleriot
d314e57
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
d314e57
d314e57
%postun
d314e57
if [ $1 -eq 0 ]; then
d314e57
  touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
d314e57
  gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
d314e57
  glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
d314e57
fi
d314e57
d314e57
%posttrans
d314e57
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
d314e57
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
d314e57
d314e57
%files -f %{name}.lang
598a3b8
%doc AUTHORS COPYING.GPL3 COPYING.LGPL3 COPYING.GFDL
d314e57
%{_bindir}/*
d314e57
%{_libdir}/aisleriot
d314e57
%{_datadir}/aisleriot
d314e57
%{_datadir}/applications/*.desktop
d314e57
%{_datadir}/icons/hicolor/*/apps/*.png
d314e57
%{_sysconfdir}/gconf/schemas/aisleriot.schemas
d314e57
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
d314e57
%{_mandir}/man6/sol.6.gz
d314e57
d314e57
%changelog
b72cb0a
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.2.3.2-2
b72cb0a
- Update to 3.2.3.2
b72cb0a
Cosimo Cecchi 16353c7
* Tue Apr  3 2012 Cosimo Cecchi <cosimoc@redhat.com> - 1:3.2.3.1-2
Cosimo Cecchi 3428d1e
- Add an epoch to fix upgrade path from the 3.3 package we currently
Cosimo Cecchi 3428d1e
  ship in F17
Cosimo Cecchi 3428d1e
Cosimo Cecchi 0860517
* Tue Apr  3 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.2.3.1-1
Cosimo Cecchi 0860517
- Downgrade to 3.2.3.1, since >= 3.3 depends on guile 2.0 which is not
Cosimo Cecchi 0860517
  available in Fedora yet
Cosimo Cecchi 0860517
Richard Hughes 0663810
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
Richard Hughes 0663810
- Update to 3.4.0.1
Richard Hughes 0663810
Richard Hughes b7fb3fc
* Wed Mar 21 2012 Richard Hughes <rhughes@redhat.com> - 3.3.2-1
Richard Hughes b7fb3fc
- Update to 3.3.2
Richard Hughes b7fb3fc
16fc994
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
16fc994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
16fc994
230a31c
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
230a31c
- Update to 3.3.1
230a31c
e5ef2d9
* Tue Nov 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.3.0-1
e5ef2d9
- Update to 3.3.0
e5ef2d9
f3eaa98
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
f3eaa98
- Rebuilt for glibc bug#747377
f3eaa98
f9a41a1
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
f9a41a1
- Update to 3.2.1
f9a41a1
f9a41a1
* Wed Sep 28 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.0-1
3df99c6
- Update to 3.2.0
3df99c6
598a3b8
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.92-1
598a3b8
- Update to 3.1.92
598a3b8
d314e57
* Thu Sep  8 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.1-2
d314e57
- Package review feedback
d314e57
d314e57
* Wed Sep  7 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.1-1
d314e57
- Initial packaging