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