1 |
Name: ocaml-syslog |
2 |
Version: 1.4 |
3 |
Release: %mkrel 5 |
4 |
Summary: Syslog routines for OCaml |
5 |
Source: http://homepage.mac.com/letaris/syslog-%{version}.tar.gz |
6 |
URL: http://homepage.mac.com/letaris |
7 |
License: LGPL |
8 |
Group: Development/OCaml |
9 |
BuildRequires: ocaml-compiler |
10 |
BuildRequires: ocaml-findlib |
11 |
|
12 |
%description |
13 |
Syslog routines for OCaml. |
14 |
|
15 |
%package devel |
16 |
Summary: Development files for %{name} |
17 |
Group: Development/OCaml |
18 |
Requires: %{name} = %{version}-%{release} |
19 |
|
20 |
%description devel |
21 |
This package contains the development files needed to build applications |
22 |
using %{name}. |
23 |
|
24 |
%prep |
25 |
%setup -q -n syslog-%{version} |
26 |
|
27 |
%build |
28 |
make |
29 |
make opt |
30 |
make htdoc |
31 |
|
32 |
%install |
33 |
rm -rf %{buildroot} |
34 |
install -d -m 755 %{buildroot}/%{_libdir}/ocaml |
35 |
install -d -m 755 %{buildroot}/%_defaultdocdir/%{name}/html |
36 |
ocamlfind install syslog META -destdir %{buildroot}/%{_libdir}/ocaml \ |
37 |
syslog.cmi syslog.mli syslog.cma syslog.cmxa syslog.a |
38 |
rm -f %{buildroot}/%{_libdir}/ocaml/stublibs/*.owner |
39 |
|
40 |
%files |
41 |
%doc Changelog doc/syslog/html |
42 |
%dir %{_libdir}/ocaml/syslog |
43 |
%{_libdir}/ocaml/syslog/*.cmi |
44 |
%{_libdir}/ocaml/syslog/*.cma |
45 |
%{_libdir}/ocaml/syslog/META |
46 |
|
47 |
%files devel |
48 |
%{_libdir}/ocaml/syslog/*.a |
49 |
%{_libdir}/ocaml/syslog/*.cmxa |
50 |
%{_libdir}/ocaml/syslog/*.mli |