%define debug_package %{nil} Name: ocaml-cryptgps Version: 0.2.1 Release: %mkrel 12 Summary: Cryptographic functions License: MIT/X11 Group: Development/OCaml URL: http://projects.camlcity.org/projects/cryptgps.html Source0: http://download.camlcity.org/download/cryptgps-%{version}.tar.gz BuildRequires: ocaml-findlib %description This library implements the symmetric cryptographic algorithms Blowfish, DES, and 3DES. The algorithms are written in OCaml, i.e. this is not a binding to some C library, but the implementation itself. %package devel Summary: Development files for %{name} Group: Development/OCaml 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 cryptgps %build make all opt mkdir api-doc ocamldoc -d api-doc -html *.mli %install export DESTDIR=%{buildroot} export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml export DLLDIR=$OCAMLFIND_DESTDIR/stublibs mkdir -p $OCAMLFIND_DESTDIR/stublibs mkdir -p $OCAMLFIND_DESTDIR/cryptgps make install install -m 0644 *.cmx $OCAMLFIND_DESTDIR/cryptgps/ %files %doc LICENSE README %dir %{_libdir}/ocaml/cryptgps %{_libdir}/ocaml/cryptgps/META %{_libdir}/ocaml/cryptgps/*.cma %{_libdir}/ocaml/cryptgps/*.cmi %files devel %doc test/ %doc api-doc/ %{_libdir}/ocaml/cryptgps/*.a %{_libdir}/ocaml/cryptgps/*.cmxa %{_libdir}/ocaml/cryptgps/*.cmx %{_libdir}/ocaml/cryptgps/*.mli %changelog * Thu Nov 24 2016 neoclust <neoclust> 0.2.1-12.mga6 + Revision: 1069796 - Rebuild against fixed ocaml * Tue Feb 16 2016 umeabot <umeabot> 0.2.1-11.mga6 + Revision: 961783 - Mageia 6 Mass Rebuild * Wed Oct 21 2015 tv <tv> 0.2.1-10.mga6 + Revision: 893270 - rebuild with fixed deps * Wed Oct 15 2014 umeabot <umeabot> 0.2.1-9.mga5 + Revision: 743405 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.2.1-8.mga5 + Revision: 683013 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.2.1-7.mga4 + Revision: 533980 - Mageia 4 Mass Rebuild * Sun Sep 08 2013 blue_prawn <blue_prawn> 0.2.1-6.mga4 + Revision: 475942 - rebuild for ocaml-4.01.0 * Sat Jan 12 2013 umeabot <umeabot> 0.2.1-5.mga3 + Revision: 361243 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Oct 01 2012 blue_prawn <blue_prawn> 0.2.1-4.mga3 + Revision: 301085 - rebuild for ocaml-4.00.0 * Sat Sep 29 2012 blue_prawn <blue_prawn> 0.2.1-3.mga3 + Revision: 300588 - desription wrapped at 76 (https://wiki.mageia.org/en/RPM_Specfile_policy), and cleaning spec file - new rpm group for ocaml * Sun Oct 02 2011 fwang <fwang> 0.2.1-2.mga2 + Revision: 150896 - rebuild for new ocaml * Fri Apr 08 2011 ennael <ennael> 0.2.1-1.mga1 + Revision: 82428 - clean spec file - imported package ocaml-cryptgps * Sat Aug 22 2009 Florent Monnier <blue_prawn@mandriva.org> 0.2.1-1mdv2010.0 + Revision: 419689 - import ocaml-cryptgps