Projects
Eulaceura:Factory
ocaml-camomile
_service:obs_scm:ocaml-camomile.spec
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ocaml-camomile.spec of Package ocaml-camomile
%global with_tests 0%{?_with_tests:1} Name: ocaml-camomile Version: 0.8.7 Release: 5 Summary: A unicode library for OCaml License: LGPLv2+ URL: https://github.com/yoriyuki/Camomile Source0: https://github.com/yoriyuki/Camomile/archive/rel-%{version}/camomile-%{version}.tar.gz BuildRequires: ocaml >= 3.12.1-12 ocaml-findlib-devel ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel ocaml-cppo jbuilder Provides: %{name}-data = %{version}-%{release} Obsoletes: %{name}-data < %{version}-%{release} %description Camomile is a Unicode library for ocaml. Camomile provides Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about 200 encodings, collation and locale-sensitive case mappings, and more. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel Camomile is a Unicode library for ocaml. Camomile provides Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from about 200 encodings, collation and locale-sensitive case mappings, and more. %prep %autosetup -n Camomile-rel-%{version} -p1 %build jbuilder build --verbose %install export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs install -d $RPM_BUILD_ROOT%{_bindir} install -d $RPM_BUILD_ROOT%{_datadir} ocamlfind install camomile _build/install/default/lib/camomile/* cp -r -L _build/install/default/share/camomile $RPM_BUILD_ROOT%{_datadir} cp _build/default/Camomile/tools/camomilecharmap.exe $RPM_BUILD_ROOT%{_bindir}/camomilecharmap cp _build/default/Camomile/tools/camomilelocaledef.exe $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef %check %if %{with_tests} jbuilder runtest %endif %files %doc README %{_libdir}/ocaml/camomile %exclude %{_libdir}/ocaml/camomile/{*.a,*.cmxa,*.cmx} %exclude %{_libdir}/ocaml/camomile/*.mli %{_bindir}/camomilecharmap %{_bindir}/camomilelocaledef %{_datadir}/camomile/ %files devel %doc README web/dochtml/* %{_libdir}/ocaml/camomile/{*.a,*.cmxa,*.cmx} %{_libdir}/ocaml/camomile/*.mli %changelog * Tue Feb 18 2020 chenli <chenli147@huawei.com> - 0.8.7-5 - Init Package.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2