Blame SPECS/aisleriot.spec

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