Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:grid
ocaml-ocurl
ocaml-ocurl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-ocurl.spec of Package ocaml-ocurl
# # spec file for package ocaml-ocurl # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define upstreamname ocurl Name: ocaml-%{upstreamname} Version: 0.6.1 Release: 0 %{?ocaml_preserve_bytecode} Summary: Ocaml bindings for libcurl License: GPL-2.0 Group: Development/Languages/OCaml BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: https://github.com/ygrek/ocurl Source: https://forge.ocamlcore.org/frs/download.php/1374/%{upstreamname}-%{version}.tar.gz Patch0: ocamlfind.patch BuildRequires: libcurl-devel BuildRequires: ncurses-devel BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-rpm-macros >= 4.02.1 %description Ocaml bindings to libcurl http://curl.haxx.se/libcurl/. This is a continuation of http://ocurl.sourceforge.net/, with multi API wrappers and pluggable asynchronous interface. %package devel Summary: Development files for %{name} Group: Development/Languages/OCaml Requires: %{name} = %{version} Requires: libcurl-devel %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %setup -q -n %{upstreamname}-%{version} %patch0 -p1 %build %configure # using _smp_mflags here results in failed builds make all %install mkdir -p %{buildroot}/%{_libdir}/ocaml make OCAMLLIB=%{buildroot}/%{_libdir}/ocaml\ OCAMLFIND_INSTFLAGS="-destdir %{buildroot}/%{_libdir}/ocaml"\ BINDIR=%{buildroot}/%{_bindir} \ install # mkdir -vp %{buildroot}/etc/ld.so.conf.d/ tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ %{_libdir}/ocaml/curl _EOF_ # %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) /etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.so %files devel %defattr(-,root,root,-) %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a %if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxa %endif %{_libdir}/ocaml/*/*.cma %{_libdir}/ocaml/*/*.cmi %{_libdir}/ocaml/*/*.mli %{_libdir}/ocaml/*/META %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor