]> git.pld-linux.org Git - packages/ocaml-findlib.git/commitdiff
- initial; from scratch
authorMichal Moskal <michal@moskal.me>
Fri, 10 May 2002 11:32:51 +0000 (11:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-findlib.spec -> 1.1

ocaml-findlib.spec [new file with mode: 0644]

diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec
new file mode 100644 (file)
index 0000000..7c598b6
--- /dev/null
@@ -0,0 +1,61 @@
+Summary:       OCaml module manager
+Summary(pl):   Zarz±dca modu³ów OCamla
+Name:          ocaml-findlib
+Version:       0.6.2
+Release:       1
+License:       distributable
+Group:         Development/Libraries
+Vendor:                Gerd Stolpmann <gerd@gerd-stolpmann.de>
+URL:           http://www.ocaml-programming.de/programming/page-4.html
+Source0:       http://www.ocaml-programming.de/packages/findlib-%{version}.tar.gz
+BuildRequires: ocaml
+BuildRequires: ocaml-camlp4
+BuildRequires: ocaml-labltk-devel
+BuildRequires: m4
+%requires_eq   ocaml
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The "findlib" library provides a scheme to manage reusable software
+components (packages), and includes tools that support this scheme.
+Packages are collections of OCaml modules for which metainformation
+can be stored.
+
+%description -l pl
+Biblioteka "findlib" udostêpnia metodê zarz±dzania komponentami
+oprogramowania (pakietami) oraz zawiera narzêdzia które ow± metodê
+wspieraj±. Pakiety s± kolekcjami modu³ów w OCamlu, dla których jest
+przechowywana metainformacja.
+
+%prep
+%setup -q -n findlib
+
+%build
+./configure \
+       -bindir %{_bindir} \
+       -mandir %{_mandir} \
+       -config %{_sysconfdir}/ocamlfind.conf
+
+%{__make} all opt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install PREFIX=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/findlib/*.mli
+
+#doc/QUICKSTART is also in html
+gzip -9nf README LICENSE TODO
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz doc/html
+%attr(755,root,root) %{_bindir}/*
+%{_libdir}/ocaml/findlib
+%{_libdir}/ocaml/site-lib
+%config %{_sysconfdir}/ocamlfind.conf
+%{_mandir}/man*/*
This page took 0.052151 seconds and 4 git commands to generate.