|
|
@ -1,19 +1,22 @@
|
|
|
|
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
|
|
|
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
|
|
|
ExcludeArch: %{ix86}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ocaml-curses
|
|
|
|
Name: ocaml-curses
|
|
|
|
Version: 1.0.11
|
|
|
|
Version: 1.0.4
|
|
|
|
Release: 12%{?dist}
|
|
|
|
Release: 24%{?dist}
|
|
|
|
Summary: OCaml bindings for ncurses
|
|
|
|
Summary: OCaml bindings for ncurses
|
|
|
|
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
|
|
|
|
License: LGPLv2+
|
|
|
|
|
|
|
|
|
|
|
|
URL: https://github.com/mbacarella/curses
|
|
|
|
URL: http://savannah.nongnu.org/projects/ocaml-tmk/
|
|
|
|
Source0: %{url}/archive/%{version}/curses-%{version}.tar.gz
|
|
|
|
Source0: http://download.savannah.gnu.org/releases/ocaml-tmk/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ocaml >= 4.02.0
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: ocaml-dune >= 2.7
|
|
|
|
BuildRequires: ocaml >= 4.00.1
|
|
|
|
BuildRequires: ocaml-dune-configurator-devel
|
|
|
|
BuildRequires: ocaml-findlib-devel >= 1.3.3-3
|
|
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
|
|
|
BuildRequires: gawk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Doesn't include a configure script, so we have to make one.
|
|
|
|
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -22,8 +25,13 @@ OCaml bindings for ncurses.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: ncurses-devel%{?_isa}
|
|
|
|
|
|
|
|
|
|
|
|
# On aarch64, it is reported that ncurses-devel is not pulled in
|
|
|
|
|
|
|
|
# implicitly by ocaml (as is the case on x86-64 for some reason). In
|
|
|
|
|
|
|
|
# any case, it is likely that people installing ocaml-curses-devel
|
|
|
|
|
|
|
|
# will desire ncurses-devel, hence:
|
|
|
|
|
|
|
|
Requires: ncurses-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -32,101 +40,68 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n curses-%{version}
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
autoreconf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%dune_build
|
|
|
|
%configure --enable-widec
|
|
|
|
|
|
|
|
make all
|
|
|
|
|
|
|
|
%if %opt
|
|
|
|
|
|
|
|
make opt
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%dune_install
|
|
|
|
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
|
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
|
|
|
%check
|
|
|
|
%if %opt
|
|
|
|
%dune_check
|
|
|
|
ocamlfind install curses META *.cmi *.cmx *.cma *.cmxa *.a *.so *.mli
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
ocamlfind install curses META *.cmi *.cma *.a *.so *.mli
|
|
|
|
%files -f .ofiles
|
|
|
|
%endif
|
|
|
|
%doc CHANGES.md README.md
|
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
|
|
%doc COPYING
|
|
|
|
%files devel -f .ofiles-devel
|
|
|
|
%{_libdir}/ocaml/curses
|
|
|
|
%license COPYING
|
|
|
|
%if %opt
|
|
|
|
|
|
|
|
%exclude %{_libdir}/ocaml/curses/*.a
|
|
|
|
|
|
|
|
%exclude %{_libdir}/ocaml/curses/*.cmxa
|
|
|
|
|
|
|
|
%exclude %{_libdir}/ocaml/curses/*.cmx
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%exclude %{_libdir}/ocaml/curses/*.mli
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%if %opt
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/curses/*.a
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/curses/*.cmxa
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/curses/*.cmx
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{_libdir}/ocaml/curses/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Oct 30 2024 Troy Dawson <tdawson@redhat.com> - 1.0.11-12
|
|
|
|
* Fri Mar 11 2022 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-24
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
- Rebuild for EPEL
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
resolves: rhbz#2060850
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2024 Troy Dawson <tdawson@redhat.com> - 1.0.11-11
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-10
|
|
|
|
|
|
|
|
- OCaml 5.2.0 ppc64le fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-9
|
|
|
|
|
|
|
|
- OCaml 5.2.0 for Fedora 41
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-6
|
|
|
|
|
|
|
|
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-5
|
|
|
|
|
|
|
|
- OCaml 5.1.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-4
|
|
|
|
|
|
|
|
- OCaml 5.1 rebuild for Fedora 40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-2
|
|
|
|
|
|
|
|
- OCaml 5.0 rebuild for Fedora 39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 1.0.11-1
|
|
|
|
|
|
|
|
- Version 1.0.11
|
|
|
|
|
|
|
|
- New project URLs
|
|
|
|
|
|
|
|
- Convert License tag to SPDX
|
|
|
|
|
|
|
|
- Build with dune
|
|
|
|
|
|
|
|
- Add %%check script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 25 2023 Florian Weimer <fweimer@redhat.com> - 1.0.4-30
|
|
|
|
|
|
|
|
- Port configure script to C99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-29
|
|
|
|
|
|
|
|
- Rebuild OCaml packages for F38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-28
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-27
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-26
|
|
|
|
|
|
|
|
- OCaml 4.14.0 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-25
|
|
|
|
|
|
|
|
- OCaml 4.13.1 rebuild to remove package notes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-24
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-23
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-23
|
|
|
|
- OCaml 4.13.1 build
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-22
|
|
|
|
* Wed Jun 23 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Bump and rebuild
|
|
|
|
|
|
|
|
resolves: rhbz#1975304
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 1 14:31:54 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0.4-21
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-21
|
|
|
|
- OCaml 4.12.0 build
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-20
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|