Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 078bffffe4fe61bd58a40a4227e78a64 > files > 1

ocaml-uucd-0.9.2-2.mga3.src.rpm

Name:           ocaml-uucd
Version:        0.9.2
Release:        %mkrel 2
Summary:        Unicode character database decoder for OCaml
License:        BSD3
Group:          Development/OCaml
URL:            http://erratique.ch/software/uucd
Source0:        http://erratique.ch/software/uucd/releases/uucd-%{version}.tbz
BuildRequires:  ocaml-findlib
BuildRequires:  ocaml-xmlm-devel
Requires:       ocaml-xmlm

%description
Uucd is an OCaml module to decode the data of the Unicode
character database [1] from its XML representation [2]. It provides
high-level (but not necessarily efficient) access to the data so that 
efficient representations can be extracted.

Uucd is made of a single module, depends on Xmlm and is 
distributed under the BSD3 license.

[1]: http://www.unicode.org/reports/tr44/
[2]: http://www.unicode.org/reports/tr42/

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

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

%prep
%setup -q -n uucd-%{version}

%build
ocaml setup.ml -configure \
    --prefix %{_prefix} \
    --libdir %{_libdir} \
    --libexecdir %{_libexecdir} \
    --exec-prefix %{_exec_prefix} \
    --bindir %{_bindir} \
    --mandir %{_mandir} \
    --datadir %{_datadir} \
    --destdir %{buildroot}

ocaml setup.ml -build

%install
rm -rf %{buildroot}
export DESTDIR=%{buildroot}
export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR/uucd
ocaml setup.ml -install

%files
%doc README CHANGES
%dir %{_libdir}/ocaml/uucd
%{_libdir}/ocaml/uucd/META
%{_libdir}/ocaml/uucd/*.cmi
%{_libdir}/ocaml/uucd/*.cma
%{_libdir}/ocaml/uucd/*.cmxs

%files devel
%doc doc/
%{_libdir}/ocaml/uucd/*.a
%{_libdir}/ocaml/uucd/*.cmxa
%{_libdir}/ocaml/uucd/*.cmx
%{_libdir}/ocaml/uucd/*.mli


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.9.2-2.mga3
+ Revision: 361676
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 07 2013 malo <malo> 0.9.2-1.mga3
+ Revision: 341170
- new version 0.9.2

* Mon Oct 01 2012 blue_prawn <blue_prawn> 0.9.0-3.mga3
+ Revision: 301685
- new rpm group for ocaml

* Fri Sep 28 2012 blue_prawn <blue_prawn> 0.9.0-2.mga3
+ Revision: 299115
- new rpm group for ocaml

* Sun Sep 09 2012 blue_prawn <blue_prawn> 0.9.0-1.mga3
+ Revision: 291393
- build requires xmlm
- imported package ocaml-uucd