forked from xenserver/xen-api-libs-specs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathocaml-xenstore-clients.spec
67 lines (52 loc) · 1.8 KB
/
ocaml-xenstore-clients.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
%global debug_package %{nil}
Name: ocaml-xenstore-clients
Version: 0.9.3
Release: 1%{?dist}
Summary: Unix xenstore clients for OCaml
License: LGPL
URL: https://github.com/xapi-project/ocaml-xenstore-clients
Source0: https://github.com/xapi-project/ocaml-xenstore-clients/archive/%{version}/ocaml-xenstore-clients-%{version}.tar.gz
BuildRequires: ocaml
BuildRequires: ocaml-camlp4-devel
BuildRequires: ocaml-findlib
BuildRequires: ocaml-lwt-devel
BuildRequires: ocaml-xenstore-devel
%description
Unix xenstore clients for OCaml.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: ocaml-lwt-devel%{?_isa}
Requires: ocaml-xenstore-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%setup -q
%build
make
%install
export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR
make install DESTDIR=${buildroot}
%files
%doc LICENSE
%doc MAINTAINERS
%doc README.md
%{_libdir}/ocaml/xenstore_transport
%exclude %{_libdir}/ocaml/xenstore_transport/*.a
%exclude %{_libdir}/ocaml/xenstore_transport/*.cmxa
%exclude %{_libdir}/ocaml/xenstore_transport/*.cmx
%files devel
%{_libdir}/ocaml/xenstore_transport/*.a
%{_libdir}/ocaml/xenstore_transport/*.cmxa
%{_libdir}/ocaml/xenstore_transport/*.cmx
%changelog
* Mon Jun 2 2014 Euan Harris <[email protected]> - 0.9.3-2
- Split files correctly between base and devel packages
* Fri May 9 2014 David Scott <[email protected]> - 0.9.3-1
- Update to 0.9.3
* Tue Sep 10 2013 David Scott <[email protected]> - 0.9.2-1
- Update to 0.9.2
* Mon Jun 3 2013 David Scott <[email protected]>
- Initial package