d314e57
d314e57
Summary: A collection of card games
d314e57
Name:    aisleriot
Richard Hughes 76a90ec
Version: 3.8.0
cb226b4
Release: 1%{?dist}
Cosimo Cecchi e942995
Epoch:   1
598a3b8
License: GPLv3+ and LGPLv3+ and GFDL
d314e57
Group:   Amusements/Games
d314e57
#VCS: git:git://git.gnome.org/aisleriot
Richard Hughes 76a90ec
Source:  http://download.gnome.org/sources/aisleriot/3.8/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: gstreamer-devel
d314e57
BuildRequires: intltool
598a3b8
BuildRequires: itstool
d314e57
BuildRequires: guile-devel
d314e57
BuildRequires: yelp-tools
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
cb226b4
# Omit the valgrind suppression file; only for use during development
cb226b4
rm $RPM_BUILD_ROOT%{_libdir}/valgrind/aisleriot.supp
cb226b4
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
cb226b4
%{_libexecdir}/aisleriot/
d314e57
%{_datadir}/aisleriot
cb226b4
%{_datadir}/applications/sol.desktop
d314e57
%{_datadir}/icons/hicolor/*/apps/*.png
Richard Hughes dd38e3a
%{_datadir}/icons/HighContrast/*/apps/*.svg
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
Richard Hughes 76a90ec
* Mon May 13 2013 Richard Hughes <rhughes@redhat.com> - 1:3.8.0-1
Richard Hughes 76a90ec
- Update to 3.8.0
Richard Hughes 76a90ec
ee3d2b3
* Thu Mar 14 2013 Matthias Clasen <mclasen@redhat.com> - 1:3.7.91-1
ee3d2b3
- Update to 3.7.91
ee3d2b3
cb226b4
* Sat Feb 16 2013 Kalev Lember <kalevlember@gmail.com> - 1:3.6.2-1
cb226b4
- Update to 3.6.2
cb226b4
b92d94d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.3.2-4
b92d94d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b92d94d
8d0d9e1
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.3.2-3
8d0d9e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8d0d9e1
2d69dd1
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 1:3.2.3.2-2
2d69dd1
- Update to 3.2.3.2
2d69dd1
Cosimo Cecchi f210c7f
* Tue Apr  3 2012 Cosimo Cecchi <cosimoc@redhat.com> - 1:3.2.3.1-2
Cosimo Cecchi e942995
- Add an epoch to fix upgrade path from the 3.3 package we currently
Cosimo Cecchi e942995
  ship in F17
Cosimo Cecchi e942995
Cosimo Cecchi 075b7b5
* Tue Apr  3 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.2.3.1-1
Cosimo Cecchi 075b7b5
- Downgrade to 3.2.3.1, since >= 3.3 depends on guile 2.0 which is not
Cosimo Cecchi 075b7b5
  available in Fedora yet
Cosimo Cecchi 075b7b5
Richard Hughes 2e2abfb
* Tue Mar 27 2012 Richard Hughes <hughsient@gmail.com> - 3.4.0.1-1
Richard Hughes 2e2abfb
- Update to 3.4.0.1
Richard Hughes 2e2abfb
Richard Hughes 21ad6e6
* Wed Mar 21 2012 Richard Hughes <rhughes@redhat.com> - 3.3.2-1
Richard Hughes 21ad6e6
- Update to 3.3.2
Richard Hughes 21ad6e6
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