packages: ocaml-cryptgps/ocaml-cryptgps.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Mon Jul 18 12:23:01 CEST 2011
Author: baggins Date: Mon Jul 18 10:23:01 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
packages/ocaml-cryptgps:
ocaml-cryptgps.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ocaml-cryptgps/ocaml-cryptgps.spec
diff -u /dev/null packages/ocaml-cryptgps/ocaml-cryptgps.spec:1.1
--- /dev/null Mon Jul 18 12:23:01 2011
+++ packages/ocaml-cryptgps/ocaml-cryptgps.spec Mon Jul 18 12:22:56 2011
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+Summary: Ocaml Blowfish, DES, and 3DES implementation
+Summary(pl.UTF-8): Implementacja Blowfish, DES, and 3DES w Ocamlu
+Name: ocaml-cryptgps
+Version: 0.2.1
+Release: 1
+License: MIT/X11
+Group: Libraries
+Source0: http://download.camlcity.org/download/cryptgps-%{version}.tar.gz
+# Source0-md5: 656afb40fa681079296551b546cb02df
+BuildRequires: ocaml >= 3.04-7
+%requires_eq ocaml-runtime
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library implements the symmetric cryptographic algorithms
+Blowfish, DES, and 3DES. The algorithms are written in O'Caml,
+i.e. this is not a binding to some C library, but the implementation
+itself.
+This package contains files needed to run bytecode executables using
+cryptgps library.
+
+%description -l pl.UTF-8
+Pakiet ten zawiera binaria potrzebne do uruchamiania programów
+używających biblioteki cryptgps.
+
+%package devel
+Summary: Ocaml Blowfish, DES, and 3DES implementation - development part
+Summary(pl.UTF-8): Implementacja Blowfish, DES, and 3DES w Ocamlu - cześć programistyczna
+Group: Development/Libraries
+%requires_eq ocaml
+
+%description devel
+This library implements the symmetric cryptographic algorithms
+Blowfish, DES, and 3DES. The algorithms are written in O'Caml,
+i.e. this is not a binding to some C library, but the implementation
+itself.
+This package contains files needed to develop OCaml programs using
+cryptgps library.
+
+%description devel -l pl.UTF-8
+Pakiet ten zawiera pliki niezbędne do tworzenia programów używających
+biblioteki cryptgps.
+
+%prep
+%setup -q -n cryptgps
+
+%build
+%{__make} all opt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{,site-lib/}cryptgps
+
+install *.cm[ixa]* *.a $RPM_BUILD_ROOT%{_libdir}/ocaml/cryptgps
+
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/cryptgps
+cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/cryptgps/META <<EOF
+requires = "bigarray"
+version = "%{version}"
+directory = "+cryptgps"
+archive(byte) = "cryptgps.cma"
+archive(native) = "cryptgps.cmxa"
+linkopts = ""
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc LICENSE *.mli
+%dir %{_libdir}/ocaml/cryptgps
+%{_libdir}/ocaml/cryptgps/*.cm[ixa]*
+%{_libdir}/ocaml/cryptgps/*.a
+%{_libdir}/ocaml/site-lib/cryptgps
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/07/18 10:22:56 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list