rpms/ocaml-zip/devel ocaml-zip.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Richard W.M. Jones (rjones)
fedora-extras-commits at redhat.com
Fri Feb 29 09:33:07 UTC 2008
- Previous message (by thread): rpms/gammu/F-8 .cvsignore, 1.7, 1.8 gammu.spec, 1.9, 1.10 sources, 1.7, 1.8
- Next message (by thread): rpms/ocaml-zip/F-8 ocaml-zip.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-zip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22634/devel
Modified Files:
.cvsignore sources
Added Files:
ocaml-zip.spec
Log Message:
Initial import.
--- NEW FILE ocaml-zip.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-zip
Version: 1.03
Release: 1%{?dist}
Summary: OCaml library for reading and writing zip, jar and gzip files
Group: Development/Libraries
License: LGPLv2 with exceptions
URL: http://pauillac.inria.fr/~xleroy/software.html
Source0: http://caml.inria.fr/distrib/bazar-ocaml/camlzip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ExcludeArch: ppc64
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib-devel
BuildRequires: zlib-devel >= 1.1.3
BuildRequires: chrpath
%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
%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.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
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 camlzip-%{version}
%build
make all
%if %opt
make allopt
%endif
strip dll*.so
chrpath --delete dll*.so
cat > META <<EOF
name = "%{name}"
version = "%{version}"
description = "%{description}"
requires = ""
archive(byte) = "zip.cma"
archive(native) = "zip.cmxa"
EOF
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/zip
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/stublibs
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
ocamlfind install zip *.cma *.cmxa *.a *.cmx *.cmi *.mli dll*.so META
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}/ocaml/zip
%if %opt
%exclude %{_libdir}/ocaml/zip/*.a
%exclude %{_libdir}/ocaml/zip/*.cmxa
%exclude %{_libdir}/ocaml/zip/*.cmx
%endif
%exclude %{_libdir}/ocaml/zip/*.mli
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
%files devel
%defattr(-,root,root,-)
%doc LICENSE Changes README
%if %opt
%{_libdir}/ocaml/zip/*.a
%{_libdir}/ocaml/zip/*.cmxa
%{_libdir}/ocaml/zip/*.cmx
%endif
%{_libdir}/ocaml/zip/*.mli
%changelog
* Fri Feb 22 2008 Richard W.M. Jones <rjones at redhat.com> - 1.03-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-zip/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Feb 2008 03:14:46 -0000 1.1
+++ .cvsignore 29 Feb 2008 09:32:34 -0000 1.2
@@ -0,0 +1 @@
+camlzip-1.03.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-zip/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Feb 2008 03:14:46 -0000 1.1
+++ sources 29 Feb 2008 09:32:34 -0000 1.2
@@ -0,0 +1 @@
+65cee9abf1df6544cae554b94128d441 camlzip-1.03.tar.gz
- Previous message (by thread): rpms/gammu/F-8 .cvsignore, 1.7, 1.8 gammu.spec, 1.9, 1.10 sources, 1.7, 1.8
- Next message (by thread): rpms/ocaml-zip/F-8 ocaml-zip.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list