Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 077b3067d3ffd81f638da5fd85f27923 > files > 2

ocaml-bitstring-2.0.4-5.mga5.src.rpm

Name:           ocaml-bitstring
Version:        2.0.4
Release:        %mkrel 5
Summary:        Bitstrings and bitstring matching for OCaml
License:        LGPLv2+ with exceptions and GPLv2+
Group:          Development/OCaml
URL:            http://code.google.com/p/bitstring
Source:         http://bitstring.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRequires:  ocaml-compiler
BuildRequires:  camlp4
BuildRequires:  ocaml-findlib

%description
The ocaml-bitstring project adds Erlang-style bitstrings and matching over
bitstrings as a syntax extension and library for OCaml.

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

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

%prep
%setup -q

%build
%configure2_5x
make 
make doc

%check
make test

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

install -d -m 755 %{buildroot}/%{_bindir}
install -m 755 bitstring-objinfo %{buildroot}%{_bindir}

%files
%doc README TODO COPYING COPYING.LIB CHANGES
%dir %{_libdir}/ocaml/bitstring
%{_libdir}/ocaml/bitstring/*.cmi
%{_libdir}/ocaml/bitstring/*.cma
%{_libdir}/ocaml/bitstring/META
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner

%files devel
%doc examples/
%doc html/
%{_bindir}/bitstring-objinfo
%{_libdir}/ocaml/bitstring/*.a
%{_libdir}/ocaml/bitstring/*.cmx
%{_libdir}/ocaml/bitstring/*.cmxa
%{_libdir}/ocaml/bitstring/*.cmo
%{_libdir}/ocaml/bitstring/*.mli


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 2.0.4-5.mga5
+ Revision: 744244
- Second Mageia 5 Mass Rebuild

* Fri Sep 26 2014 tv <tv> 2.0.4-4.mga5
+ Revision: 725143
- rebuild for bogus file deps

* Tue Sep 16 2014 umeabot <umeabot> 2.0.4-3.mga5
+ Revision: 682994
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 2.0.4-2.mga4
+ Revision: 525667
- Mageia 4 Mass Rebuild

* Sat Jun 01 2013 malo <malo> 2.0.4-1.mga4
+ Revision: 434049
- change BR to ocaml-compiler

  + blue_prawn <blue_prawn>
    - provide the examples and the generated api documentation
    - updated to last version 2.0.4

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

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

* Thu Mar 01 2012 blue_prawn <blue_prawn> 2.0.3-1.mga2
+ Revision: 216297
- update to new version 2.0.3

* Sun Oct 02 2011 shlomif <shlomif> 2.0.2-3.mga2
+ Revision: 150985
- Add check and other cleanups - thanks to Malo.

* Sun Oct 02 2011 fwang <fwang> 2.0.2-2.mga2
+ Revision: 150872
- rebuild for new ocaml

* Mon Mar 07 2011 saispo <saispo> 2.0.2-1.mga1
+ Revision: 66128
- imported package ocaml-bitstring