Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0f116e66f4 | ||
|
542a4ea998 | ||
|
8c6cc1d197 | ||
|
c3564dc8d6 | ||
|
87014fd1e1 | ||
|
aaf48f0fbc | ||
|
2b99acbd3b | ||
|
c3cdb8b082 | ||
|
8259448cdc | ||
|
a77737ace8 | ||
|
27c1abba8c | ||
|
9a2bb9490c | ||
|
739ddb0495 | ||
|
b358a3e679 | ||
|
2f00cb36f2 | ||
|
87bfb7a9ee | ||
|
b7a5c16fa7 | ||
|
789a518eec | ||
|
cf83024df7 | ||
|
9e2155b31b | ||
|
a99bc5401c | ||
|
73a75d7a83 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/ocaml-base64-2.0.0.tar.gz
|
/ocaml-base64-2.0.0.tar.gz
|
||||||
/v2.1.2.tar.gz
|
/v2.1.2.tar.gz
|
||||||
|
/base64-v3.4.0.tbz
|
||||||
|
@ -1,21 +1,19 @@
|
|||||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%ifnarch %{ocaml_native_compiler}
|
||||||
%if ! %opt
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: ocaml-base64
|
Name: ocaml-base64
|
||||||
Version: 2.1.2
|
Version: 3.4.0
|
||||||
Release: 13%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Base64 library for OCaml
|
Summary: Base64 library for OCaml
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/mirage/ocaml-base64
|
URL: https://github.com/mirage/ocaml-base64
|
||||||
Source0: https://github.com/mirage/ocaml-base64/archive/v%{version}.tar.gz
|
Source0: https://github.com/mirage/ocaml-base64/releases/download/v%{version}/base64-v%{version}.tbz
|
||||||
|
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-ocamlbuild
|
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-dune-devel
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -34,33 +32,35 @@ Development files for %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n base64-v%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Bizarro build system, so build and install it by hand.
|
# Only build the source directory since the other directories
|
||||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cma
|
# require packages that we don't have or need.
|
||||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cmxa
|
rm -r fuzz test
|
||||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cmxs
|
dune build %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
dune install --destdir=%{buildroot}
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
||||||
mkdir -p $OCAMLFIND_DESTDIR
|
|
||||||
sed 's/^version.*/version = "%{version}"/' < pkg/META > META
|
|
||||||
ocamlfind install base64 _build/src/* META
|
|
||||||
|
|
||||||
# Delete a few files we don't really want.
|
# We do not want the ml files
|
||||||
pushd $OCAMLFIND_DESTDIR/base64
|
find %{buildroot}%{_libdir}/ocaml -name \*.ml -delete
|
||||||
rm b64.annot b64.cmt b64.cmti
|
|
||||||
popd
|
# We install the documentation with the doc macro
|
||||||
|
rm -fr %{buildroot}%{_prefix}/doc
|
||||||
|
|
||||||
|
%ifarch %{ocaml_native_compiler}
|
||||||
|
# Add missing executable bits
|
||||||
|
find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {} \+
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_libdir}/ocaml/base64
|
%{_libdir}/ocaml/base64
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
%exclude %{_libdir}/ocaml/base64/*.a
|
%exclude %{_libdir}/ocaml/base64/*.a
|
||||||
%exclude %{_libdir}/ocaml/base64/*.cmx
|
%exclude %{_libdir}/ocaml/base64/*.cmx
|
||||||
%exclude %{_libdir}/ocaml/base64/*.cmxa
|
%exclude %{_libdir}/ocaml/base64/*.cmxa
|
||||||
@ -71,7 +71,7 @@ popd
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc CHANGES.md
|
%doc CHANGES.md
|
||||||
%if %opt
|
%ifarch %{ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/base64/*.a
|
%{_libdir}/ocaml/base64/*.a
|
||||||
%{_libdir}/ocaml/base64/*.cmx
|
%{_libdir}/ocaml/base64/*.cmx
|
||||||
%{_libdir}/ocaml/base64/*.cmxa
|
%{_libdir}/ocaml/base64/*.cmxa
|
||||||
@ -81,6 +81,73 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 1 16:57:53 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 3.4.0-4
|
||||||
|
- OCaml 4.12.0 build
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 22 2021 Jerry James <loganjerry@gmail.com> -3.4.0-2
|
||||||
|
- Produce usable debuginfo
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
|
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-31
|
||||||
|
- OCaml 4.11.1 rebuild
|
||||||
|
|
||||||
|
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-30
|
||||||
|
- OCaml 4.11.0 rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-29
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-28
|
||||||
|
- OCaml 4.11.0+dev2-2020-04-22 rebuild
|
||||||
|
|
||||||
|
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-27
|
||||||
|
- OCaml 4.11.0 pre-release attempt 2
|
||||||
|
|
||||||
|
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-26
|
||||||
|
- OCaml 4.11.0 pre-release
|
||||||
|
|
||||||
|
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-25
|
||||||
|
- Update all OCaml dependencies for RPM 4.16.
|
||||||
|
|
||||||
|
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-24
|
||||||
|
- OCaml 4.10.0 final.
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-22
|
||||||
|
- OCaml 4.10.0+beta1 rebuild.
|
||||||
|
|
||||||
|
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-21
|
||||||
|
- OCaml 4.09.0 for riscv64
|
||||||
|
|
||||||
|
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-20
|
||||||
|
- OCaml 4.09.0 (final) rebuild.
|
||||||
|
|
||||||
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-19
|
||||||
|
- OCaml 4.08.1 (final) rebuild.
|
||||||
|
|
||||||
|
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-18
|
||||||
|
- OCaml 4.08.1 (rc2) rebuild.
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-16
|
||||||
|
- OCaml 4.08.0 (final) rebuild.
|
||||||
|
|
||||||
|
* Mon Apr 29 2019 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-15
|
||||||
|
- OCaml 4.08.0 (beta 3) rebuild.
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-13
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user