Initial Commit
This commit is contained in:
commit
036a5bb85b
51
SPECS/imaginary.spec
Normal file
51
SPECS/imaginary.spec
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
|
%global _build_id_links none
|
||||||
|
|
||||||
|
Name: imaginary
|
||||||
|
Version: 1.2.4
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Image microservice
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/h2non/imaginary
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: imaginary.service
|
||||||
|
|
||||||
|
BuildRequires: gcc-go libgo-devel vips-devel
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
|
%description
|
||||||
|
Fast, simple, scalable, Docker-ready HTTP microservice for high-level image
|
||||||
|
processing
|
||||||
|
|
||||||
|
%package systemd
|
||||||
|
Summary: Systemd configuration for imaginary
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description systemd
|
||||||
|
Systemd configuration for the imaginary image microservice
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
go install
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm755 imaginary $RPM_BUILD_ROOT%{_bindir}/imaginary
|
||||||
|
install -Dm644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/imaginary.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/imaginary
|
||||||
|
%{_unitdir}/imaginary.service
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 24 2023 Victoria Fischer <tdfischer@hackerbots.net>
|
||||||
|
-
|
91
SPECS/liquidsoap.spec
Normal file
91
SPECS/liquidsoap.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: liquidsoap
|
||||||
|
Version: 2.1.4
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: https://liquidsoap.fm
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
BuildRequires: ocaml-sedlex >= 2.1
|
||||||
|
BuildRequires: ocaml-menhir ocaml-pcre ocaml-curl
|
||||||
|
#Patch0: liquidsoap-sedlex-version.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
./bootstrap
|
||||||
|
./configure --disable-camomile
|
||||||
|
make
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
make install
|
||||||
|
|
||||||
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 01 2021 tdfischer
|
||||||
|
-
|
85
SPECS/ocaml-angstrom.spec
Normal file
85
SPECS/ocaml-angstrom.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||||
|
%global __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-angstrom
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune ocaml-async ocaml-bigstringaf
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
85
SPECS/ocaml-async.spec
Normal file
85
SPECS/ocaml-async.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||||
|
%global __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-async
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
99
SPECS/ocaml-base-quickcheck.spec
Normal file
99
SPECS/ocaml-base-quickcheck.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname base_quickcheck
|
||||||
|
|
||||||
|
Name: ocaml-base-quickcheck
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune ocaml-ppx-base-devel ocaml-ppx-fields-conv-devel ocaml-ppx-let-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/odoc-pages/
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/%{libname}/*/*
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
94
SPECS/ocaml-dtools.spec
Normal file
94
SPECS/ocaml-dtools.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-dtools
|
||||||
|
Version: 0.4.4
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: chrpath ocaml-dune
|
||||||
|
Patch0: ocaml-dtools-dune-version.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Provides: %{name}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and signature files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n ocaml-%{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%doc %{_prefix}/doc/*/*
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 01 2021 tdfischer
|
||||||
|
-
|
93
SPECS/ocaml-duppy.spec
Normal file
93
SPECS/ocaml-duppy.spec
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-duppy
|
||||||
|
Version: 0.9.2
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: chrpath ocaml-dune
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
dune build --release
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
#make install
|
||||||
|
dune install --release
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%doc %{_prefix}/doc/*/*
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 01 2021 tdfischer
|
||||||
|
-
|
106
SPECS/ocaml-mm.spec
Normal file
106
SPECS/ocaml-mm.spec
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-mm
|
||||||
|
Version: 0.7.2
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Patch0: ocaml-mm-dune-version.patch
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-camomile-devel ocaml-mm-devel ocaml-dtools-devel ocaml-duppy-devel
|
||||||
|
BuildRequires: chrpath ocaml-dune ocaml-csexp-devel ocaml-dune-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
dune build --release
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/*/*/*.mli
|
||||||
|
|
||||||
|
%doc %{_prefix}/doc/*/*
|
||||||
|
%{_libdir}/ocaml/*/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*/*.cmxs
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 01 2021 tdfischer
|
||||||
|
-
|
102
SPECS/ocaml-ppx-bench.spec
Normal file
102
SPECS/ocaml-ppx-bench.spec
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname ppx_bench
|
||||||
|
|
||||||
|
Name: ocaml-ppx-bench
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/README.md
|
||||||
|
%doc /usr/doc/%{libname}/CHANGES.md
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/%{libname}/ppx.exe
|
||||||
|
%{_libdir}/ocaml/%{libname}/runtime-lib/*
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
94
SPECS/ocaml-ppx-jane.spec
Normal file
94
SPECS/ocaml-ppx-jane.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname ppx_jane
|
||||||
|
|
||||||
|
Name: ocaml-ppx-jane
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune ocaml-ppx-stable
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
102
SPECS/ocaml-ppx-sexp-message.spec
Normal file
102
SPECS/ocaml-ppx-sexp-message.spec
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname ppx_sexp_message
|
||||||
|
|
||||||
|
Name: ocaml-ppx-sexp-message
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/CHANGES.md
|
||||||
|
%doc /usr/doc/%{libname}/README.md
|
||||||
|
%{_libdir}/ocaml/%{libname}/ppx.exe
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/%{libname}/*/*
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
99
SPECS/ocaml-ppx-sexp-value.spec
Normal file
99
SPECS/ocaml-ppx-sexp-value.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//' | sed -e 's/-/_/g')
|
||||||
|
|
||||||
|
Name: ocaml-ppx-sexp-value
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/README.md
|
||||||
|
%doc /usr/doc/%{libname}/CHANGES.md
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/%{libname}/ppx.exe
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
97
SPECS/ocaml-ppx-stable.spec
Normal file
97
SPECS/ocaml-ppx-stable.spec
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname ppx_stable
|
||||||
|
|
||||||
|
Name: ocaml-ppx-stable
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune ocaml-ppxlib-devel ocaml-base-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/ppx_stable/LICENSE.md
|
||||||
|
%doc /usr/doc/ppx_stable/README.md
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
98
SPECS/ocaml-splittable-random.spec
Normal file
98
SPECS/ocaml-splittable-random.spec
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocamldeps.sh -R
|
||||||
|
%global __find_provides /usr/lib/rpm/ocamldeps.sh -P
|
||||||
|
%define libname splittable_random
|
||||||
|
|
||||||
|
Name: ocaml-splittable-random
|
||||||
|
Version: 0.15.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc ocaml-dune ocaml-ppx-inline-test-devel ocaml-ppx-assert-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n %{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
#strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
#chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/LICENSE.md
|
||||||
|
%doc /usr/doc/%{libname}/README.md
|
||||||
|
%doc /usr/doc/%{libname}/CHANGES.md
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
#%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc README.md
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
%{_libdir}/ocaml/*/*.cma
|
||||||
|
%{_libdir}/ocaml/*/*.ml
|
||||||
|
%{_libdir}/ocaml/*/*.cmi
|
||||||
|
%{_libdir}/ocaml/*/*.cmt
|
||||||
|
%{_libdir}/ocaml/*/*.cmti
|
||||||
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
|
%{_libdir}/ocaml/*/META
|
||||||
|
%{_libdir}/ocaml/*/opam
|
||||||
|
%{_libdir}/ocaml/*/dune-package
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
85
SPECS/ocaml-uri.spec
Normal file
85
SPECS/ocaml-uri.spec
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
%global debug_package %{nil}
|
||||||
|
%global _use_internal_dependency_generator 0
|
||||||
|
%global __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||||
|
%global __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||||
|
%define libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
|
|
||||||
|
Name: ocaml-uri
|
||||||
|
Version: 4.2.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: TBD
|
||||||
|
|
||||||
|
License: TBD
|
||||||
|
URL: TBD
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.10.0
|
||||||
|
BuildRequires: ocaml-findlib-devel
|
||||||
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: chrpath ocaml-dune
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%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 -n ocaml-%{libname}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# You may need a %%configure step here (or ./configure if it doesn't work).
|
||||||
|
dune build --release
|
||||||
|
#make byte
|
||||||
|
#%if %opt
|
||||||
|
#make opt
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
||||||
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
|
dune install --release
|
||||||
|
#make install
|
||||||
|
|
||||||
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%dir %{_libdir}/ocaml/%{libname}/
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/*/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license LICENSE
|
||||||
|
%doc README
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/*/*.a
|
||||||
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/*/*.mli
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 21 2023 Victoria Fierce <tdfischer@hackerbots.net>
|
||||||
|
-
|
Loading…
Reference in New Issue
Block a user