%undefine _package_note_flags %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) Name: ocaml-ssl Version: 0.5.11 Release: 1%{?dist} Summary: SSL bindings for OCaml License: LGPLv2+ with exceptions URL: https://github.com/savonet/ocaml-ssl Source0: https://github.com/savonet/ocaml-ssl/releases/download/%{version}/ocaml-ssl-%{version}.tar.gz BuildRequires: ocaml >= 3.12.1-3 BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-dune-devel BuildRequires: openssl-devel >= 0.9.8j-1 BuildRequires: gawk Requires: openssl %global __ocaml_provides_opts -i Unix -i UnixLabels %description SSL bindings for OCaml. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: openssl-devel %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q %build dune build -p ssl --verbose %{?_smp_mflags} %install dune install --destdir %{buildroot} # Remove the bogus /usr/doc directory. rm -rf %{buildroot}/usr/doc %files %doc CHANGES.md COPYING README.md %{_libdir}/ocaml/ssl %if %opt %exclude %{_libdir}/ocaml/ssl/*.a %exclude %{_libdir}/ocaml/ssl/*.cmxa %endif %exclude %{_libdir}/ocaml/ssl/*.mli %{_libdir}/ocaml/stublibs/*.so %files devel %doc examples/*.ml %if %opt %{_libdir}/ocaml/ssl/*.a %{_libdir}/ocaml/ssl/*.cmxa %endif %{_libdir}/ocaml/ssl/*.mli %changelog * Thu Jul 21 2022 Richard W.M. Jones - 0.5.11-1 - Upstream release 0.5.11 (RHBZ#1923238) * Sat Jun 18 2022 Richard W.M. Jones - 0.5.9-20 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 0.5.9-19 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 0.5.9-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 04 2021 Richard W.M. Jones - 0.5.9-17 - OCaml 4.13.1 build * Tue Sep 14 2021 Sahana Prasad - 0.5.9-16 - Rebuilt with OpenSSL 3.0.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.5.9-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 17:06:32 GMT 2021 Richard W.M. Jones - 0.5.9-14 - OCaml 4.12.0 build * Tue Jan 26 2021 Fedora Release Engineering - 0.5.9-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 01 2020 Richard W.M. Jones - 0.5.9-12 - OCaml 4.11.1 rebuild * Fri Aug 21 2020 Richard W.M. Jones - 0.5.9-11 - OCaml 4.11.0 rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.5.9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 04 2020 Richard W.M. Jones - 0.5.9-9 - OCaml 4.11.0+dev2-2020-04-22 rebuild * Tue Apr 21 2020 Richard W.M. Jones - 0.5.9-8 - OCaml 4.11.0 pre-release attempt 2 * Fri Apr 03 2020 Richard W.M. Jones - 0.5.9-7 - Update all OCaml dependencies for RPM 4.16. * Wed Feb 26 2020 Richard W.M. Jones - 0.5.9-6 - OCaml 4.10.0 final. * Wed Jan 29 2020 Fedora Release Engineering - 0.5.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 19 2020 Richard W.M. Jones - 0.5.9-4 - OCaml 4.10.0+beta1 rebuild. * Fri Dec 06 2019 Richard W.M. Jones - 0.5.9-3 - OCaml 4.09.0 (final) rebuild. * Fri Aug 16 2019 Richard W.M. Jones - 0.5.9-2 - OCaml 4.08.1 (final) rebuild. * Fri Aug 16 2019 Richard W.M. Jones - 0.5.9-1 - New upstream version 0.5.9. - Uses dune to build. - Fix installation of docdir in -devel package. * Wed Jul 31 2019 Richard W.M. Jones - 0.5.5-11 - OCaml 4.08.1 (rc2) rebuild. * Thu Jul 25 2019 Fedora Release Engineering - 0.5.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 2019 Richard W.M. Jones - 0.5.5-9 - OCaml 4.08.0 (final) rebuild. * Mon Apr 29 2019 Richard W.M. Jones - 0.5.5-8 - OCaml 4.08.0 (beta 3) rebuild. * Fri Feb 01 2019 Fedora Release Engineering - 0.5.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.5.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Richard W.M. Jones - 0.5.5-5 - OCaml 4.07.0 (final) rebuild. * Wed Jun 20 2018 Richard W.M. Jones - 0.5.5-4 - OCaml 4.07.0-rc1 rebuild. * Thu Feb 08 2018 Fedora Release Engineering - 0.5.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 17 2017 Richard W.M. Jones - 0.5.5-2 - OCaml 4.06.0 rebuild. * Fri Oct 20 2017 Richard W.M. Jones - 0.5.5-1 - New upstream release 0.5.5 (RHBZ#1504417). * Tue Oct 03 2017 Richard W.M. Jones - 0.5.4-1 - New upstream release 0.5.4 (RHBZ#1446335). - Remove patches, all upstream. * Tue Aug 08 2017 Richard W.M. Jones - 0.5.2-10 - OCaml 4.05.0 rebuild. * Thu Aug 03 2017 Fedora Release Engineering - 0.5.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 26 2017 Richard W.M. Jones - 0.5.2-7 - OCaml 4.04.2 rebuild. * Fri May 12 2017 Richard W.M. Jones - 0.5.2-6 - OCaml 4.04.1 rebuild. * Sat Feb 11 2017 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Nov 05 2016 Richard W.M. Jones - 0.5.2-4 - Rebuild for OCaml 4.04.0. - Add patches which fix compilation with new OpenSSL. * Thu Feb 04 2016 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 24 2015 Richard W.M. Jones - 0.5.2-1 - New upstream version 0.5.2 (RHBZ#1284467). - Change the source URL to SourceForge. * Tue Jul 28 2015 Richard W.M. Jones - 0.5.1-2 - OCaml 4.02.3 rebuild. * Wed Jul 22 2015 Richard W.M. Jones - 0.5.1-1 - New version 0.5.1. * Wed Jun 24 2015 Richard W.M. Jones - 0.4.7-8 - ocaml-4.02.2 final rebuild. * Wed Jun 17 2015 Richard W.M. Jones - 0.4.7-7 - ocaml-4.02.2 rebuild. * Mon Feb 16 2015 Richard W.M. Jones - 0.4.7-6 - ocaml-4.02.1 rebuild. * Sat Aug 30 2014 Richard W.M. Jones - 0.4.7-5 - ocaml-4.02.0 final rebuild. * Sat Aug 23 2014 Richard W.M. Jones - 0.4.7-4 - ocaml-4.02.0+rc1 rebuild. * Sun Aug 17 2014 Fedora Release Engineering - 0.4.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 01 2014 Richard W.M. Jones - 0.4.7-2 - ocaml-4.02.0-0.8.git10e45753.fc22 rebuild. * Mon Jul 21 2014 Richard W.M. Jones - 0.4.7-1 - New upstream version 0.4.7. - OCaml 4.02.0 beta rebuild. * Sat Jun 07 2014 Fedora Release Engineering - 0.4.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Sep 14 2013 Richard W.M. Jones - 0.4.6-9 - Rebuild for OCaml 4.01.0. - Enable debuginfo. * Tue Aug 6 2013 Richard W.M. Jones - 0.4.6-8 - Unversioned docdir for Fedora 20 (RHBZ#994001). - Modernize the spec file. * Sat Aug 03 2013 Fedora Release Engineering - 0.4.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Oct 29 2012 Richard W.M. Jones - 0.4.6-5 - Rebuild for OCaml 4.00.1. * Fri Jul 20 2012 Fedora Release Engineering - 0.4.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 09 2012 Richard W.M. Jones - 0.4.6-3 - Rebuild for OCaml 4.00.0. * Sat Apr 28 2012 Richard W.M. Jones - 0.4.6-2 - Bump and rebuild against new OCaml compiler in ARM. * Fri Jan 6 2012 Richard W.M. Jones - 0.4.6-1 - New upstream version 0.4.6. - Rebuild for OCaml 3.12.1. * Wed Feb 09 2011 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 5 2011 Richard W.M. Jones - 0.4.4-1 - New upstream version 0.4.4. - Rebuild for OCaml 3.12.0. * Tue Jan 5 2010 Richard W.M. Jones - 0.4.3-7 - -devel package should require openssl-devel. - Use upstream RPM 4.8 OCaml dependency generator. * Wed Dec 30 2009 Richard W.M. Jones - 0.4.3-6 - Rebuild for OCaml 3.11.2. * Fri Aug 21 2009 Tomas Mraz - 0.4.3-5 - rebuilt with new openssl * Sat Jul 25 2009 Fedora Release Engineering - 0.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat May 23 2009 Richard W.M. Jones - 0.4.3-3 - 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 - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Jan 15 2009 Richard W.M. Jones - 0.4.3-1 - New upstream version 0.4.3. - Force rebuild against new OpenSSL 0.9.8j. * Wed Nov 26 2008 Richard W.M. Jones - 0.4.2-12 - Rebuild for OCaml 3.11.0+rc1. * Wed Nov 19 2008 Richard W.M. Jones - 0.4.2-11 - Rebuild for OCaml 3.11.0 * Mon Aug 11 2008 Tom "spot" Callaway - 0.4.2-10 - fix license tag * Wed Apr 23 2008 Richard W.M. Jones - 0.4.2-9 - Rebuild for OCaml 3.10.2 * Sat Mar 1 2008 Richard W.M. Jones - 0.4.2-8 - Rebuild for ppc64. * Tue Feb 12 2008 Richard W.M. Jones - 0.4.2-7 - Rebuild for OCaml 3.10.1. - For some reason 'Unix' and 'UnixLabels' leak so ignore them. * Wed Dec 5 2007 Richard W.M. Jones - 0.4.2-6 - Force rebuild because of new libssl, libcrypto sonames. * Thu Sep 6 2007 Richard W.M. Jones - 0.4.2-5 - Force rebuild because of updated requires/provides scripts in OCaml. * Thu Aug 30 2007 Richard W.M. Jones - 0.4.2-4 - Force rebuild because of changed BRs in base OCaml. * Wed Jul 25 2007 Richard W.M. Jones - 0.4.2-3 - ExcludeArch ppc64 * Mon Jun 11 2007 Richard W.M. Jones - 0.4.2-2 - Updated to latest packaging guidelines. * Sat May 26 2007 Richard W.M. Jones - 0.4.2-1 - Initial RPM.