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