Compare commits

..

No commits in common. "rawhide" and "f28" have entirely different histories.
rawhide ... f28

2 changed files with 32 additions and 45 deletions

View File

@ -14,22 +14,23 @@
%endif # el6
Name: gambit-c
Version: 4.9.3
Release: 9%{?dist}
Version: 4.8.8
Release: 4%{?dist}
Summary: Scheme programming system
Group: Development/Languages
License: ASL 2.0 or LGPLv2
URL: http://gambitscheme.org/
%global _dirname gambit-v%(echo %{version} | sed -e 's/\\./_/g')-devel
Source0: http://www.iro.umontreal.ca/~gambit/download/gambit/v4.9/source/%{_dirname}.tgz
Source0: http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/%{_dirname}.tgz
Source1: gambit-init.el
Patch0: gambc-v4_2_8-modtime.patch
BuildRequires: gcc
BuildRequires: emacs
BuildRequires: make
Requires: gcc
Requires: emacs-filesystem >= %{_emacs_version}
Obsoletes: emacs-gambit < 4.7.7-2
Obsoletes: emacs-gambit-el < 4.7.7-2
%description
@ -46,6 +47,7 @@ numbers), and complex numbers.
%package doc
Summary: Documentation for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
@ -65,9 +67,11 @@ This package contains the Gambit-C user manual in HTML and PDF formats.
%prep
%autosetup -n %{_dirname} -p1
# Gambit tries to do a git update-index if a git repo is detected
rm -rf .git
#touch -r doc/gambit-c.info-2{,.tstamp}
#iconv -f iso88591 -t utf8 doc/gambit-c.info-2 -o doc/gambit-c.info-2.utf8
#touch -r doc/gambit-c.info-2{,.utf8}
#mv doc/gambit-c.info-2{.utf8,}
# Permission fixes
chmod -x lib/*.{c,h}
@ -79,6 +83,12 @@ chmod -x lib/*.{c,h}
%global disable_gcc_opts 1
%endif
%if 0%{?fedora}
%if 0%{?fedora} <= 21
%global disable_gcc_opts 1
%endif
%endif
%if 0%{?rhel}
%if 0%{?rhel} <= 7
%global disable_gcc_opts 1
@ -104,11 +114,7 @@ make %{?_smp_mflags}
%check
# tests fail on s390x:
# https://bugzilla.redhat.com/show_bug.cgi?id=1714392
%ifnarch s390x
make check
%endif
%install
@ -136,9 +142,19 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
(cd $RPM_BUILD_ROOT%{_libdir} && ln -s %{name}/*.a .)
%post doc
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
%preun doc
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
fi
%files
%license LGPL.txt LICENSE-2.0.txt
%doc README
%defattr(-,root,root,-)
%doc LGPL.txt LICENSE-2.0.txt README
%{_bindir}/*
%{_includedir}/*.h
%{_mandir}/man1/gsi.*
@ -150,44 +166,15 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
%files doc
%defattr(-,root,root,-)
%doc doc/gambit.html doc/gambit.pdf
# don't package examples until makefiles are fixed
# examples
%{_infodir}/*
%changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon May 27 2019 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.9.3-1
- Update to 4.9.3
- Move license files to /usr/share/licenses
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.8.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (gambit-v4_9_3-devel.tgz) = bccb820bf8bdc902cd5de2f188cdb915e8d3f811587e2fc78728ea574d785c0713366a03d05df70b10e115e80e77db666fe6304ebc64477a2d4e5e8313e9f36d
SHA512 (gambit-v4_8_8-devel.tgz) = 8bd924e0c5c93ad9afc398479d6434d866ece0230ea19c5e8458c0708d5f0cb92fcce34fb77797e5e25bd8379f6165e79b24507254f3b0b507b07b60a81c08d0