Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > c5b680f763ef3972e26f4fdc90009870 > files > 1

ocaml-pomap-2.9.9-1.mga2.src.rpm

Name:           ocaml-pomap
Version:        2.9.9
Release:        %mkrel 1
Summary:        Library for maintaining partially ordered maps
License:        LGPL 2.1 with static compilation exception
Group:          Development/Other
URL:            http://www.ocaml.info/home/ocaml_sources.html#pomap
Source0:        http://hg.ocaml.info/release/pomap/archive/pomap-release-%{version}.tar.bz2
# curl http://hg.ocaml.info/release/pomap/archive/release-%{version}.tar.bz2 > pomap-release-%{version}.tar.bz2
BuildRequires:  ocaml-findlib
BuildRequires:  tetex-latex
BuildRequires:  gzip

%description
The Pomap-library implements an ADT that maintains maps of partially
ordered elements. Whereas a total order allows you to say whether some
element is lower, equal or greater than another one, partial orders also
allow for a "don't know"-case.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Other
Requires:       %{name} = %{version}-%{release}

%description    devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.

%prep
%setup -q -n pomap-release-%{version}

%build
make
make doc
gzip --best doc/pomap/latex/doc.ps

%install
rm -rf %{buildroot}
export DESTDIR=%{buildroot}
export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
install -d -m 755 %{buildroot}/%{_libdir}/ocaml/pomap
make install

%files
%doc LICENSE
%dir %{_libdir}/ocaml/pomap
%{_libdir}/ocaml/pomap/META
%{_libdir}/ocaml/pomap/*.cma
%{_libdir}/ocaml/pomap/*.cmi

%files devel
%doc Changes README.txt
%doc examples/
%doc lib/doc/pomap/html/
%doc lib/doc/pomap/latex/*.{dvi,ps.gz,pdf}
%{_libdir}/ocaml/pomap/*.a
%{_libdir}/ocaml/pomap/*.cmxa
%{_libdir}/ocaml/pomap/*.mli


%changelog

* Thu Jan 12 2012 blue_prawn <blue_prawn> 2.9.9-1.mga2
+ Revision: 195343
- imported package ocaml-pomap