Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 28219e72867666e9a788dfc473353b07 > files > 2

ocaml-expat-0.9.1-14.mga3.src.rpm

Name:           ocaml-expat
Version:        0.9.1
Release:        %mkrel 14
Summary:        OCaml wrapper for the Expat XML parsing library
License:        GPL
Group:          Development/OCaml
URL:            http://www.xs4all.nl/~mmzeeman/ocaml
Source0:        http://www.xs4all.nl/~mmzeeman/ocaml/%{name}-%{version}.tar.bz2
BuildRequires:  ocaml-compiler
BuildRequires:  ocaml-findlib
BuildRequires:  expat-devel

%description
An ocaml wrapper for the Expat XML parsing library. It allows you to write
XML-Parsers using the SAX method. An XML document is parsed on the fly
without needing to load the entire XML-Tree into memory.

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

%description devel
This package contains the development files needed to build applications
using %{name}.

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

%build
%make depend
%make all allopt

%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}/%{_libdir}/ocaml/stublibs
make install OCAMLFIND_DESTDIR="%{buildroot}%{_libdir}/ocaml"

%files
%doc LICENCE README doc
%dir %{_libdir}/ocaml/expat
%{_libdir}/ocaml/expat/*.cmi
%{_libdir}/ocaml/expat/*.cma
%{_libdir}/ocaml/expat/META
%{_libdir}/ocaml/stublibs/*.so*

%files devel
%{_libdir}/ocaml/expat/*.a
%{_libdir}/ocaml/expat/*.cmxa
%{_libdir}/ocaml/expat/*.mli


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.9.1-14.mga3
+ Revision: 361296
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Oct 01 2012 blue_prawn <blue_prawn> 0.9.1-13.mga3
+ Revision: 301426
- build requires ocaml-compiler
- rebuild for ocaml-4.00.0
- rebuild for ocaml-4.00.0

* Sat Sep 29 2012 blue_prawn <blue_prawn> 0.9.1-11.mga3
+ Revision: 300076
- new rpm group for ocaml
- keep the .so.owner file
- clean spec file

* Sun Oct 02 2011 fwang <fwang> 0.9.1-10.mga2
+ Revision: 150905
- rebuild for new ocaml

* Fri Apr 08 2011 ennael <ennael> 0.9.1-9.mga1
+ Revision: 82353
- Imported package ocaml-expat from Mandriva where it was created by Guillaume Rousse, and maintained by Guillaume Rousse and Per ?\195?\152yvind Karlsen.