Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:inescid:grid
ocaml-ssl
ocaml-ssl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-ssl.spec of Package ocaml-ssl
# # spec file for package ocaml-ssl # # 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/ # Name: ocaml-ssl Version: 0.5.3 Release: 0 %{?ocaml_preserve_bytecode} Summary: OCaml SSL bindings License: LGPL-2.1 Group: Development/Languages/OCaml Url: https://github.com/savonet/ocaml-ssl Source0: %{name}-%{version}.tar.gz BuildRequires: ocaml BuildRequires: ocaml-oasis BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-rpm-macros >= 4.03 BuildRequires: pkg-config BuildRequires: pkgconfig(openssl) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OCamle bindings for the openssl library %package devel Summary: Devel files for ocaml-ssl Group: Development/Languages/OCaml Requires: %{name} = %{version} %description devel Development files for OCaml SSL bindings %prep %setup -q %build # obs service changes every ^Version line ... sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_ OASISFormat: 0.4 Name: ssl Version: %{version} Synopsis: OCaml SSL interface Authors: Samuel Mimram <samuel.mimram@ens-lyon.org> LicenseFile: LICENSE License: %{license} Plugins: META(`oasis version`) BuildTools: ocamlbuild Library ssl Path: src Modules: Ssl, Ssl_threads BuildDepends: unix, bytes CSources: ssl_stubs.c CCOpt: %{optflags} -fPIC `pkg-config --cflags openssl` CCLib: `pkg-config --libs openssl` Document "ssl" Title: API reference for ssl Type: ocamlbuild (0.1.0) BuildTools+: ocamldoc Install: true InstallDir: \$htmldir XOCamlbuildPath: . XOCamlbuildLibraries: ssl _EOF_ oasis setup-clean %oasis_setup %ocaml_oasis_configure --enable-docs %ocaml_oasis_build %ocaml_oasis_doc %install %ocaml_oasis_findlib_install # mkdir -vp %{buildroot}/etc/ld.so.conf.d/ tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ %{_libdir}/ocaml/ssl _EOF_ # %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc CHANGES COPYING /etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so %files devel %defattr(-,root,root,-) %{oasis_docdir_html} %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a %if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %endif %{_libdir}/ocaml/*/*.annot %{_libdir}/ocaml/*/*.cma %{_libdir}/ocaml/*/*.cmi %{_libdir}/ocaml/*/*.cmt %{_libdir}/ocaml/*/*.cmti %{_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