/[packages]/cauldron/ocaml-syslog/current/SPECS/ocaml-syslog.spec
ViewVC logotype

Annotation of /cauldron/ocaml-syslog/current/SPECS/ocaml-syslog.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 300528 - (hide annotations) (download)
Sat Sep 29 20:29:21 2012 UTC (12 years, 9 months ago) by blue_prawn
File size: 1296 byte(s)
new rpm group for ocaml
1 blue_prawn 225899 Name: ocaml-syslog
2     Version: 1.4
3 blue_prawn 300528 Release: %mkrel 2
4 blue_prawn 225899 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 blue_prawn 300528 Group: Development/OCaml
9 blue_prawn 225899 BuildRequires: ocaml
10     BuildRequires: ocaml-findlib
11    
12     %description
13     Syslog routines for OCaml.
14    
15     %package devel
16     Summary: Development files for %{name}
17 blue_prawn 300528 Group: Development/OCaml
18 blue_prawn 225899 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

  ViewVC Help
Powered by ViewVC 1.1.30