Group :: Desenvolvimento/ML
RPM: ocaml-zip
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: ocaml-zip
Version: 1.03
Release: alt1
Summary: OCaml library for reading and writing zip, jar and gzip files
Group: Development/ML
License: LGPLv2 with exceptions
Url: http://pauillac.inria.fr/~xleroy/software.html
Packager: Veaceslav Grecea <slavutich at altlinux.org>
Source: http://caml.inria.fr/distrib/bazar-ocaml/camlzip-%version.tar.bz2
# Automatically added by buildreq on Wed Jul 16 2008
BuildRequires: ocaml zlib-devel
BuildRequires(pre): ocaml
Requires: ocaml-runtime = %{get_SVR ocaml-runtime}
%description
This Objective Caml library provides easy access to compressed files
in ZIP and GZIP format, as well as to Java JAR files. It provides
functions for reading from and writing to compressed files in these
formats.
%prep
%setup -q -n camlzip-%version
%build
%make_build all
%make_build allopt
cat > META <<EOF
name = "%name"
version = "%version"
description = "%description"
requires = ""
archive(byte) = "zip.cma"
archive(native) = "zip.cmxa"
EOF
%install
%define ocamlsitelib %_libdir/ocaml/site-lib
mkdir -p %buildroot%ocamlsitelib/zip
cp *.{mli,cmi,a,cma,so} %buildroot%_libdir/ocaml/site-lib/zip
cp META %buildroot%_libdir/ocaml/site-lib/zip
%files
%doc LICENSE
%ocamlsitelib/zip
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.03
Release: alt1
Summary: OCaml library for reading and writing zip, jar and gzip files
Group: Development/ML
License: LGPLv2 with exceptions
Url: http://pauillac.inria.fr/~xleroy/software.html
Packager: Veaceslav Grecea <slavutich at altlinux.org>
Source: http://caml.inria.fr/distrib/bazar-ocaml/camlzip-%version.tar.bz2
# Automatically added by buildreq on Wed Jul 16 2008
BuildRequires: ocaml zlib-devel
BuildRequires(pre): ocaml
Requires: ocaml-runtime = %{get_SVR ocaml-runtime}
%description
This Objective Caml library provides easy access to compressed files
in ZIP and GZIP format, as well as to Java JAR files. It provides
functions for reading from and writing to compressed files in these
formats.
%prep
%setup -q -n camlzip-%version
%build
%make_build all
%make_build allopt
cat > META <<EOF
name = "%name"
version = "%version"
description = "%description"
requires = ""
archive(byte) = "zip.cma"
archive(native) = "zip.cmxa"
EOF
%install
%define ocamlsitelib %_libdir/ocaml/site-lib
mkdir -p %buildroot%ocamlsitelib/zip
cp *.{mli,cmi,a,cma,so} %buildroot%_libdir/ocaml/site-lib/zip
cp META %buildroot%_libdir/ocaml/site-lib/zip
%files
%doc LICENSE
%ocamlsitelib/zip
%changelog
…
Todas as alterações você pod ver aqui