2021-01-22 16:12:08 +00:00
|
|
|
%ifnarch %{ocaml_native_compiler}
|
2016-10-19 17:20:17 +00:00
|
|
|
%global debug_package %{nil}
|
2021-01-22 16:12:08 +00:00
|
|
|
%endif
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
Name: ocaml-base64
|
2021-01-21 17:56:27 +00:00
|
|
|
Version: 3.4.0
|
2021-01-26 21:53:12 +00:00
|
|
|
Release: 3%{?dist}
|
2015-07-27 20:52:22 +00:00
|
|
|
Summary: Base64 library for OCaml
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
URL: https://github.com/mirage/ocaml-base64
|
2021-01-21 17:56:27 +00:00
|
|
|
Source0: https://github.com/mirage/ocaml-base64/releases/download/v%{version}/base64-v%{version}.tbz
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-ocamldoc
|
2021-01-21 17:56:27 +00:00
|
|
|
BuildRequires: ocaml-dune-devel
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Base64 is a group of similar binary-to-text encoding schemes that
|
|
|
|
represent binary data in an ASCII string format by translating it into
|
|
|
|
a radix-64 representation. It is specified in RFC 4648.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}.
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-01-21 17:56:27 +00:00
|
|
|
%setup -q -n base64-v%{version}
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2021-01-21 17:56:27 +00:00
|
|
|
# Only build the source directory since the other directories
|
|
|
|
# require packages that we don't have or need.
|
|
|
|
rm -r fuzz test
|
|
|
|
dune build %{?_smp_mflags}
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2021-01-21 17:56:27 +00:00
|
|
|
dune install --destdir=%{buildroot}
|
|
|
|
|
|
|
|
# We do not want the ml files
|
|
|
|
find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
|
2015-07-27 20:52:22 +00:00
|
|
|
|
2021-01-21 17:56:27 +00:00
|
|
|
# We install the documentation with the doc macro
|
|
|
|
rm -fr %{buildroot}%{_prefix}/doc
|
2015-07-27 20:52:22 +00:00
|
|
|
|
2021-01-22 16:12:08 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
|
|
|
# Add missing executable bits
|
|
|
|
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
|
|
|
%endif
|
|
|
|
|
2015-07-27 20:52:22 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README.md
|
|
|
|
%{_libdir}/ocaml/base64
|
2021-01-21 17:56:27 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
2015-07-27 20:52:22 +00:00
|
|
|
%exclude %{_libdir}/ocaml/base64/*.a
|
|
|
|
%exclude %{_libdir}/ocaml/base64/*.cmx
|
|
|
|
%exclude %{_libdir}/ocaml/base64/*.cmxa
|
|
|
|
%exclude %{_libdir}/ocaml/base64/*.cmxs
|
|
|
|
%endif
|
|
|
|
%exclude %{_libdir}/ocaml/base64/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc CHANGES.md
|
2021-01-21 17:56:27 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
2015-07-27 20:52:22 +00:00
|
|
|
%{_libdir}/ocaml/base64/*.a
|
|
|
|
%{_libdir}/ocaml/base64/*.cmx
|
|
|
|
%{_libdir}/ocaml/base64/*.cmxa
|
|
|
|
%{_libdir}/ocaml/base64/*.cmxs
|
|
|
|
%endif
|
|
|
|
%{_libdir}/ocaml/base64/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-01-26 21:53:12 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-22 16:12:08 +00:00
|
|
|
* Fri Jan 22 2021 Jerry James <loganjerry@gmail.com> -3.4.0-2
|
|
|
|
- Produce usable debuginfo
|
|
|
|
|
2021-01-21 17:56:27 +00:00
|
|
|
* Thu Jan 21 2021 Richard W.M. Jones <rjones@redhat.com> - 3.4.0-1
|
|
|
|
- New upstream version 3.4.0.
|
|
|
|
- Use dune to build.
|
|
|
|
|
2020-09-01 19:14:19 +00:00
|
|
|
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-31
|
|
|
|
- OCaml 4.11.1 rebuild
|
|
|
|
|
2020-08-21 11:09:44 +00:00
|
|
|
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-30
|
|
|
|
- OCaml 4.11.0 rebuild
|
|
|
|
|
2020-07-28 12:05:29 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-29
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-04 22:21:02 +00:00
|
|
|
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-28
|
|
|
|
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
|
|
|
|
2020-04-21 15:56:49 +00:00
|
|
|
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-27
|
|
|
|
- OCaml 4.11.0 pre-release attempt 2
|
|
|
|
|
2020-04-17 20:29:36 +00:00
|
|
|
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-26
|
|
|
|
- OCaml 4.11.0 pre-release
|
|
|
|
|
2020-04-02 22:08:05 +00:00
|
|
|
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-25
|
|
|
|
- Update all OCaml dependencies for RPM 4.16.
|
|
|
|
|
2020-02-26 14:17:09 +00:00
|
|
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-24
|
|
|
|
- OCaml 4.10.0 final.
|
|
|
|
|
2020-01-29 19:29:42 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-19 22:41:29 +00:00
|
|
|
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-22
|
|
|
|
- OCaml 4.10.0+beta1 rebuild.
|
|
|
|
|
2020-01-09 14:41:36 +00:00
|
|
|
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-21
|
|
|
|
- OCaml 4.09.0 for riscv64
|
|
|
|
|
2019-12-06 15:30:12 +00:00
|
|
|
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-20
|
|
|
|
- OCaml 4.09.0 (final) rebuild.
|
|
|
|
|
2019-08-16 16:35:37 +00:00
|
|
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-19
|
|
|
|
- OCaml 4.08.1 (final) rebuild.
|
|
|
|
|
2019-07-31 18:10:10 +00:00
|
|
|
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-18
|
|
|
|
- OCaml 4.08.1 (rc2) rebuild.
|
|
|
|
|
2019-07-25 22:47:59 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-27 20:28:36 +00:00
|
|
|
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-16
|
|
|
|
- OCaml 4.08.0 (final) rebuild.
|
|
|
|
|
2019-04-29 19:27:45 +00:00
|
|
|
* Mon Apr 29 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-15
|
|
|
|
- OCaml 4.08.0 (beta 3) rebuild.
|
|
|
|
|
2019-02-01 16:45:30 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 14:40:26 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-11 17:45:44 +00:00
|
|
|
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-12
|
|
|
|
- OCaml 4.07.0 (final) rebuild.
|
|
|
|
|
2018-06-20 18:55:33 +00:00
|
|
|
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-11
|
|
|
|
- OCaml 4.07.0-rc1 rebuild.
|
|
|
|
|
2018-02-08 08:44:56 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-17 23:33:41 +00:00
|
|
|
* Fri Nov 17 2017 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-9
|
|
|
|
- OCaml 4.06.0 rebuild.
|
|
|
|
|
2017-08-08 19:24:46 +00:00
|
|
|
* Tue Aug 08 2017 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-8
|
|
|
|
- OCaml 4.05.0 rebuild.
|
|
|
|
|
2017-08-03 04:12:56 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:25:38 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-27 11:35:27 +00:00
|
|
|
* Tue Jun 27 2017 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-5
|
|
|
|
- OCaml 4.04.2 rebuild.
|
|
|
|
|
2017-05-13 10:51:05 +00:00
|
|
|
* Sat May 13 2017 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-4
|
|
|
|
- OCaml 4.04.1 rebuild.
|
|
|
|
|
2017-02-11 00:28:39 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-09 17:57:25 +00:00
|
|
|
* Wed Nov 09 2016 Dan Horák <dan@danny.cz> - 2.1.2-2
|
|
|
|
- rebuild for s390x codegen bug
|
|
|
|
|
2016-11-07 16:54:48 +00:00
|
|
|
* Mon Nov 07 2016 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-1
|
|
|
|
- New upstream version 2.1.2.
|
|
|
|
|
2016-10-19 17:20:17 +00:00
|
|
|
* Wed Oct 19 2016 Dan Horák <dan[at]danny.cz> - 2.0.0-5
|
|
|
|
- disable debuginfo subpackage on interpreted builds
|
|
|
|
|
2016-02-04 11:04:14 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-28 16:52:19 +00:00
|
|
|
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-3
|
|
|
|
- OCaml 4.02.3 rebuild.
|
|
|
|
|
2015-07-27 20:52:22 +00:00
|
|
|
* Sat Jul 25 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-2
|
|
|
|
- Make -devel package depend on fully versioned base package.
|
|
|
|
- Remove duplicate META file.
|
|
|
|
|
|
|
|
* Fri Jul 24 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-1
|
|
|
|
- New package required by js-of-ocaml.
|