From 1491fd19ea310d48f77eab1e4e615a03ae47d544 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 07:05:03 -0400 Subject: [PATCH] import ocaml-extlib-1.7.5-3.el8 --- .gitignore | 1 + .ocaml-extlib.metadata | 1 + SPECS/ocaml-extlib.spec | 280 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 282 insertions(+) create mode 100644 .gitignore create mode 100644 .ocaml-extlib.metadata create mode 100644 SPECS/ocaml-extlib.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b4113d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/extlib-1.7.5.tar.gz diff --git a/.ocaml-extlib.metadata b/.ocaml-extlib.metadata new file mode 100644 index 0000000..b8cbe97 --- /dev/null +++ b/.ocaml-extlib.metadata @@ -0,0 +1 @@ +dbddf040f88b774499034f5ae593266d3e5540ea SOURCES/extlib-1.7.5.tar.gz diff --git a/SPECS/ocaml-extlib.spec b/SPECS/ocaml-extlib.spec new file mode 100644 index 0000000..0aeb6ed --- /dev/null +++ b/SPECS/ocaml-extlib.spec @@ -0,0 +1,280 @@ +# The debuginfo package is empty, so don't generate it. +# Could possibly be fixed by passing -g option correctly to the compiler. +%global debug_package %{nil} + +Name: ocaml-extlib +Version: 1.7.5 +Release: 3%{?dist} +Summary: OCaml ExtLib additions to the standard library +License: LGPLv2+ with exceptions + +URL: https://github.com/ygrek/ocaml-extlib +Source0: https://github.com/ygrek/ocaml-extlib/releases/download/%{version}/extlib-%{version}.tar.gz + +BuildRequires: ocaml >= 4.00.1 +BuildRequires: ocaml-findlib-devel >= 1.3.3-3 +BuildRequires: ocaml-camlp4-devel +BuildRequires: ocaml-ocamldoc +BuildRequires: ocaml-cppo +BuildRequires: gawk +# In order to apply patches: +BuildRequires: git + + +%description +ExtLib is a project aiming at providing a complete - yet small - +standard library for the OCaml programming language. The purpose of +this library is to add new functions to OCaml Standard Library +modules, to modify some functions in order to get better performances +or more safety (tail-recursive) but also to provide new modules which +should be useful for the average OCaml programmer. + + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + + +%description devel +The %{name}-devel package contains libraries and signature files for +developing applications that use %{name}. + + +%prep +%autosetup -S git -n extlib-%{version} + + +%build +# Parallel builds do not work. +unset MAKEFLAGS + +make build -j1 + + +%install +export DESTDIR=$RPM_BUILD_ROOT +export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml +mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs + +make install -j1 + + +%files +%doc README.md +%license LICENSE +%{_libdir}/ocaml/extlib +%ifarch %{ocaml_native_compiler} +%exclude %{_libdir}/ocaml/extlib/*.a +%exclude %{_libdir}/ocaml/extlib/*.cmxa +%exclude %{_libdir}/ocaml/extlib/*.cmx +%endif +%exclude %{_libdir}/ocaml/extlib/*.mli + + +%files devel +%ifarch %{ocaml_native_compiler} +%{_libdir}/ocaml/extlib/*.a +%{_libdir}/ocaml/extlib/*.cmxa +%{_libdir}/ocaml/extlib/*.cmx +%endif +%{_libdir}/ocaml/extlib/*.mli + + +%changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.7.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jul 11 2018 Richard W.M. Jones - 1.7.5-2 +- OCaml 4.07.0 (final) rebuild. + +* Wed Jul 11 2018 Richard W.M. Jones - 1.7.5-1 +- New upstream version 1.7.5. +- Remove patches which are all included in this release. + +* Wed Jun 20 2018 Richard W.M. Jones - 1.7.4-3 +- Bump release and rebuild. + +* Wed Jun 20 2018 Richard W.M. Jones - 1.7.4-2 +- Add all upstream patches since 1.7.4, including fixes for OCaml 4.07. +- Use autosetup. +- Remove obsolete old patch. + +* Tue Jun 19 2018 Richard W.M. Jones - 1.7.4-1 +- New upstream version 1.7.4. +- OCaml 4.07.0-rc1 rebuild. + +* Fri Feb 09 2018 Igor Gnatenko - 1.7.2-8 +- Escape macros in %%changelog + +* Thu Feb 08 2018 Fedora Release Engineering - 1.7.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 07 2017 Richard W.M. Jones - 1.7.2-6 +- OCaml 4.06.0 rebuild. + +* Mon Aug 07 2017 Richard W.M. Jones - 1.7.2-5 +- OCaml 4.05.0 rebuild. + +* Thu Aug 03 2017 Fedora Release Engineering - 1.7.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.7.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 26 2017 Richard W.M. Jones - 1.7.2-2 +- OCaml 4.04.2 rebuild. + +* Thu May 11 2017 Richard W.M. Jones - 1.7.2-1 +- New upstream version 1.7.2 (for OCaml 4.04.1). + +* Sat Feb 11 2017 Fedora Release Engineering - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Nov 09 2016 Dan HorĂ¡k - 1.7.0-2 +- rebuild for s390x codegen bug + +* Sat Nov 05 2016 Richard W.M. Jones - 1.7.0-1 +- New upstream version 1.7.0. +- Fix upstream URL and Source0. +- Rationalize the build. + +* Thu Feb 04 2016 Fedora Release Engineering - 1.6.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jul 28 2015 Richard W.M. Jones - 1.6.1-12 +- OCaml 4.02.3 rebuild. + +* Mon Jul 27 2015 Richard W.M. Jones - 1.6.1-11 +- Remove ExcludeArch since bytecode build should now work. + +* Wed Jun 24 2015 Richard W.M. Jones - 1.6.1-10 +- Bump release and rebuild. + +* Wed Jun 17 2015 Richard W.M. Jones - 1.6.1-9 +- ocaml-4.02.2 rebuild. + +* Mon Feb 16 2015 Richard W.M. Jones - 1.6.1-8 +- ocaml-4.02.1 rebuild. + +* Sat Aug 30 2014 Richard W.M. Jones - 1.6.1-7 +- ocaml-4.02.0 final rebuild. + +* Sat Aug 23 2014 Richard W.M. Jones - 1.6.1-6 +- ocaml-4.02.0+rc1 rebuild. + +* Sun Aug 17 2014 Fedora Release Engineering - 1.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 01 2014 Richard W.M. Jones - 1.6.1-4 +- ocaml-4.02.0-0.8.git10e45753.fc22 build. + +* Mon Jul 21 2014 Richard W.M. Jones - 1.6.1-3 +- Bump release and rebuild. + +* Thu Jul 17 2014 Richard W.M. Jones - 1.6.1-2 +- New upstream version 1.6.1. +- Rebuild for OCaml 4.02.0 beta. +- Remove enable debug patch which is now upstream. +- New version requires camlp4. + +* Sat Jun 07 2014 Fedora Release Engineering - 1.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Sep 14 2013 Richard W.M. Jones - 1.5.4-1 +- New upstream version 1.5.4. +- Rebuild against OCaml 4.01.0. +- Enable debuginfo. + Does not work yet because the dumbass build system removed object files. +- Small modernizations of the specfile. + +* Sat Aug 03 2013 Fedora Release Engineering - 1.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 27 2012 Richard W.M. Jones - 1.5.3-2 +- BR >= OCaml 4.00.1 so we can't be built against the wrong OCaml. + +* Mon Oct 29 2012 Richard W.M. Jones - 1.5.3-1 +- New upstream version 1.5.3. +- Remove patch, now upstream. +- Clean up the spec file. +- Rebuild for OCaml 4.00.1. + +* Fri Jul 20 2012 Fedora Release Engineering - 1.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jun 10 2012 Richard W.M. Jones - 1.5.2-3 +- Rebuild for OCaml 4.00.0. + +* Thu Jun 7 2012 Richard W.M. Jones - 1.5.2-2 +- Fix for OCaml 4.00.0. + +* Fri Jan 6 2012 Richard W.M. Jones - 1.5.2-1 +- New upstream version 1.5.2. + +* Wed Jan 5 2011 Richard W.M. Jones - 1.5.1-10 +- Rebuild for OCaml 3.12.0. + +* Wed Dec 30 2009 Richard W.M. Jones - 1.5.1-9 +- Rebuild for OCaml 3.11.2. + +* Sat Jul 25 2009 Fedora Release Engineering - 1.5.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat May 23 2009 Richard W.M. Jones - 1.5.1-7 +- Rebuild for OCaml 3.11.1 + +* Thu Apr 16 2009 S390x secondary arch maintainer +- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs + (added sparc64 per request from the sparc maintainer) + +* Wed Feb 25 2009 Fedora Release Engineering - 1.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Nov 26 2008 Richard W.M. Jones - 1.5.1-5 +- Rebuild for OCaml 3.11.0+rc1. + +* Wed Nov 19 2008 Richard W.M. Jones - 1.5.1-4 +- Rebuild for OCaml 3.11.0 + +* Wed Apr 23 2008 Richard W.M. Jones - 1.5.1-3 +- Rebuild for OCaml 3.10.2 + +* Sat Mar 1 2008 Richard W.M. Jones - 1.5.1-2 +- License is LGPLv2+ with exceptions. +- Rebuild for ppc64. + +* Tue Feb 12 2008 Richard W.M. Jones - 1.5.1-1 +- New upstream version 1.5.1. +- New home page. +- Rebuild for OCaml 3.10.1. + +* Thu Sep 6 2007 Richard W.M. Jones - 1.5-8 +- Force rebuild because of updated requires/provides scripts in OCaml. + +* Mon Sep 3 2007 Richard W.M. Jones - 1.5-7 +- Force rebuild because of base OCaml. + +* Thu Aug 30 2007 Richard W.M. Jones - 1.5-6 +- Force rebuild because of changed BRs in base OCaml. + +* Wed Aug 1 2007 Richard W.M. Jones - 1.5-5 +- ExcludeArch ppc64 +- Added BR on ocaml-ocamldoc +- Use %%doc to install documentation. + +* Mon Jun 11 2007 Richard W.M. Jones - 1.5-4 +- Updated to latest packaging guidelines. + +* Sat Jun 2 2007 Richard W.M. Jones - 1.5-3 +- Support for bytecode-only architectures. +- *.cmx files are needed. + +* Fri May 25 2007 Richard W.M. Jones - 1.5-2 +- Use OCaml find-requires and find-provides. + +* Fri May 18 2007 Richard W.M. Jones - 1.5-1 +- Initial RPM release. +