commit 036a5bb85b8945e4c95681420b51d9898a0ede60 Author: Torrie Fischer Date: Mon Apr 24 21:32:52 2023 +0200 Initial Commit diff --git a/SPECS/imaginary.spec b/SPECS/imaginary.spec new file mode 100644 index 0000000..7b7d753 --- /dev/null +++ b/SPECS/imaginary.spec @@ -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 +- diff --git a/SPECS/liquidsoap.spec b/SPECS/liquidsoap.spec new file mode 100644 index 0000000..e0b998d --- /dev/null +++ b/SPECS/liquidsoap.spec @@ -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 +- diff --git a/SPECS/ocaml-angstrom.spec b/SPECS/ocaml-angstrom.spec new file mode 100644 index 0000000..18368ce --- /dev/null +++ b/SPECS/ocaml-angstrom.spec @@ -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 +- diff --git a/SPECS/ocaml-async.spec b/SPECS/ocaml-async.spec new file mode 100644 index 0000000..0c0e8de --- /dev/null +++ b/SPECS/ocaml-async.spec @@ -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 +- diff --git a/SPECS/ocaml-base-quickcheck.spec b/SPECS/ocaml-base-quickcheck.spec new file mode 100644 index 0000000..ed6f3e8 --- /dev/null +++ b/SPECS/ocaml-base-quickcheck.spec @@ -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 +- diff --git a/SPECS/ocaml-dtools.spec b/SPECS/ocaml-dtools.spec new file mode 100644 index 0000000..e61ff51 --- /dev/null +++ b/SPECS/ocaml-dtools.spec @@ -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 +- diff --git a/SPECS/ocaml-duppy.spec b/SPECS/ocaml-duppy.spec new file mode 100644 index 0000000..c102043 --- /dev/null +++ b/SPECS/ocaml-duppy.spec @@ -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 +- diff --git a/SPECS/ocaml-mm.spec b/SPECS/ocaml-mm.spec new file mode 100644 index 0000000..3eb18df --- /dev/null +++ b/SPECS/ocaml-mm.spec @@ -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 +- diff --git a/SPECS/ocaml-ppx-bench.spec b/SPECS/ocaml-ppx-bench.spec new file mode 100644 index 0000000..d6580ba --- /dev/null +++ b/SPECS/ocaml-ppx-bench.spec @@ -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 +- diff --git a/SPECS/ocaml-ppx-jane.spec b/SPECS/ocaml-ppx-jane.spec new file mode 100644 index 0000000..6c67c5d --- /dev/null +++ b/SPECS/ocaml-ppx-jane.spec @@ -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 +- diff --git a/SPECS/ocaml-ppx-sexp-message.spec b/SPECS/ocaml-ppx-sexp-message.spec new file mode 100644 index 0000000..5d973d1 --- /dev/null +++ b/SPECS/ocaml-ppx-sexp-message.spec @@ -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 +- diff --git a/SPECS/ocaml-ppx-sexp-value.spec b/SPECS/ocaml-ppx-sexp-value.spec new file mode 100644 index 0000000..5fde39a --- /dev/null +++ b/SPECS/ocaml-ppx-sexp-value.spec @@ -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 +- diff --git a/SPECS/ocaml-ppx-stable.spec b/SPECS/ocaml-ppx-stable.spec new file mode 100644 index 0000000..03f6e3b --- /dev/null +++ b/SPECS/ocaml-ppx-stable.spec @@ -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 +- diff --git a/SPECS/ocaml-splittable-random.spec b/SPECS/ocaml-splittable-random.spec new file mode 100644 index 0000000..bd6fd05 --- /dev/null +++ b/SPECS/ocaml-splittable-random.spec @@ -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 +- diff --git a/SPECS/ocaml-uri.spec b/SPECS/ocaml-uri.spec new file mode 100644 index 0000000..c509658 --- /dev/null +++ b/SPECS/ocaml-uri.spec @@ -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 +-