Accepting request 737376 from devel:languages:ocaml
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/737376 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-findlib?expand=0&rev=8
This commit is contained in:
commit
7491f71dc2
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/ocaml/ocamlfind.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">1.8.1</param>
|
||||||
|
<param name="revision">findlib-1.8.1</param>
|
||||||
|
<param name="filename">ocaml-findlib</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cabb6cd484380e41fb20bf5ec6acc65d20769363754a73c74951dd4238b20111
|
|
||||||
size 159972
|
|
3
findlib-1.8.1.tar.xz
Normal file
3
findlib-1.8.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a34d0412b8bf34e08155fa4cdb635066d91de569fd644d2e26c00ee4768d81e6
|
||||||
|
size 161420
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 17:59:21 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
- Move to github, use _service file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
- Update to upstream version 1.8.1
|
||||||
|
Adapted to upcoming ocaml-4.09.
|
||||||
|
New API Findlib.list_packages' can specify a package prefix.
|
||||||
|
Fix reinstallation of "num" for OCaml-4.06.
|
||||||
|
Fix build with OCaml-4.07.
|
||||||
|
The installation of graphics/META is now optional.
|
||||||
|
Fix "ocamlfind query -d".
|
||||||
|
The environment variable OCAMLFIND_IGNORE_DUPS_IN is now interpreted as a list of directories.
|
||||||
|
Packages for "ocamlfind query" may now be separated by commas, too.
|
||||||
|
New "warning" property for packages.
|
||||||
|
Forgetting to pass -thread/-vmthread only prints a warning now, but doesn't stop the build.
|
||||||
|
For dealing with case-sensitive filesystems it is now only tried to match ASCII characters, but not encoding-dependent characters.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 22 13:24:21 UTC 2019 - ohering@suse.de
|
Thu Aug 22 13:24:21 UTC 2019 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -18,32 +18,29 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ocaml-findlib
|
Name: ocaml-findlib
|
||||||
Version: 1.7.3
|
Version: 1.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
%{?ocaml_preserve_bytecode}
|
%{?ocaml_preserve_bytecode}
|
||||||
Summary: Objective CAML package manager and build helper
|
Summary: Objective CAML package manager and build helper
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
|
|
||||||
Url: http://projects.camlcity.org/projects/findlib.html
|
Url: https://github.com/ocaml/ocamlfind
|
||||||
Source0: findlib-%{version}.tar.xz
|
Source0: findlib-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
Recommends: ocaml-findlib-camlp4
|
|
||||||
#
|
|
||||||
Requires: ocaml-compiler-libs
|
Requires: ocaml-compiler-libs
|
||||||
Requires: ocaml-runtime
|
Requires: ocaml-runtime
|
||||||
#
|
#
|
||||||
Provides: ocamlfind = %{version}
|
Provides: ocamlfind = %{version}
|
||||||
|
|
||||||
BuildRequires: gawk
|
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: ocaml >= 4.02.0
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-camlp4-devel >= 4.02.0
|
BuildRequires: ocaml-camlp4-devel
|
||||||
BuildRequires: ocaml-ocamlbuild
|
BuildRequires: ocaml-ocamlbuild
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-rpm-macros >= 4.02.1
|
BuildRequires: ocaml-rpm-macros >= 20190930
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Findlib is a library manager for Objective Caml. It provides a
|
Findlib is a library manager for Objective Caml. It provides a
|
||||||
@ -62,8 +59,6 @@ Requires: %{name} = %{version}
|
|||||||
The ocaml-findlib-devel package contains libraries and signature files
|
The ocaml-findlib-devel package contains libraries and signature files
|
||||||
for developing applications that use ocaml-findlib.
|
for developing applications that use ocaml-findlib.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package camlp4
|
%package camlp4
|
||||||
Summary: Development files for ocaml-findlib
|
Summary: Development files for ocaml-findlib
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
@ -73,7 +68,7 @@ Requires: ocaml-camlp4-devel
|
|||||||
The ocaml-findlib-camlp4 contains signature files for developing applications that use camlp4
|
The ocaml-findlib-camlp4 contains signature files for developing applications that use camlp4
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n findlib-%{version}
|
%autosetup -p1 -n findlib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(cd tools/extract_args && make)
|
(cd tools/extract_args && make)
|
||||||
@ -87,57 +82,42 @@ make all
|
|||||||
%if 0%{?ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
make opt
|
make opt
|
||||||
%endif
|
%endif
|
||||||
rm doc/guide-html/TIMESTAMP
|
rm -fv doc/guide-html/TIMESTAMP
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install prefix=$RPM_BUILD_ROOT
|
make install prefix=%{buildroot}
|
||||||
rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
|
rm -rfv %{buildroot}%{_libdir}/ocaml/ocamlbuild
|
||||||
|
%ocaml_create_file_list
|
||||||
|
|
||||||
%files
|
# camlp4 support nee
|
||||||
%defattr(-,root,root,-)
|
sed -i~ '
|
||||||
%doc LICENSE doc/README
|
/\/camlp4/ {
|
||||||
|
w %{name}.files.camlp4
|
||||||
|
d
|
||||||
|
}
|
||||||
|
/\/findlib/ {
|
||||||
|
b
|
||||||
|
}
|
||||||
|
/\/num-top/ {
|
||||||
|
b
|
||||||
|
}
|
||||||
|
w %{name}.files.x
|
||||||
|
d
|
||||||
|
' %{name}.files.devel
|
||||||
|
diff -u "$_"~ "$_" && exit 2
|
||||||
|
tee -a %{name}.files < %{name}.files.x
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/ocaml/ocamlfind.conf
|
%{_libdir}/ocaml/ocamlfind.conf
|
||||||
|
%{_libdir}/ocaml/topfind
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
#
|
#
|
||||||
%dir %{_libdir}/ocaml
|
|
||||||
%dir %{_libdir}/ocaml/*
|
|
||||||
%{_libdir}/ocaml/*/META
|
|
||||||
#
|
|
||||||
%exclude %dir %{_libdir}/ocaml/camlp4
|
|
||||||
%exclude %dir %{_libdir}/ocaml/findlib
|
|
||||||
%exclude %dir %{_libdir}/ocaml/num-top
|
|
||||||
%exclude %{_libdir}/ocaml/camlp4/META
|
|
||||||
%exclude %{_libdir}/ocaml/findlib/META
|
|
||||||
%exclude %{_libdir}/ocaml/num-top/META
|
|
||||||
%{_libdir}/ocaml/topfind
|
|
||||||
%dir %{_libdir}/ocaml/findlib
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files devel
|
%files devel -f %{name}.files.devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE doc/README doc/guide-html
|
|
||||||
%{_libdir}/ocaml/*/Makefile.config
|
%{_libdir}/ocaml/*/Makefile.config
|
||||||
#
|
|
||||||
%dir %{_libdir}/ocaml
|
|
||||||
%dir %{_libdir}/ocaml/findlib
|
|
||||||
%dir %{_libdir}/ocaml/num-top
|
|
||||||
%{_libdir}/ocaml/findlib/META
|
|
||||||
%{_libdir}/ocaml/num-top/META
|
|
||||||
%if 0%{?ocaml_native_compiler}
|
|
||||||
%{_libdir}/ocaml/*/*.a
|
|
||||||
%{_libdir}/ocaml/*/*.cmxa
|
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/*/*.cma
|
|
||||||
%{_libdir}/ocaml/*/*.cmi
|
|
||||||
%{_libdir}/ocaml/*/*.mli
|
|
||||||
|
|
||||||
%files camlp4
|
%files camlp4 -f %{name}.files.camlp4
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_libdir}/ocaml
|
|
||||||
%dir %{_libdir}/ocaml/camlp4
|
|
||||||
%{_libdir}/ocaml/camlp4/META
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user