rpms/ocaml-res/devel ocaml-res.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
Mon May 12 19:19:50 UTC 2008
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-res/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18661/devel
Modified Files:
.cvsignore sources
Added Files:
ocaml-res.spec
Log Message:
Initial import.
--- NEW FILE ocaml-res.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-res
Version: 2.2.5
Release: 1%{?dist}
Summary: OCaml library for resizing arrays and strings
Group: Development/Libraries
License: LGPLv2+ with exceptions
URL: http://www.ocaml.info/home/ocaml_sources.html#RES
Source0: http://www.ocaml.info/ocaml_sources/res-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-ocamldoc
BuildRequires: texlive-latex, texlive-dvips, ghostscript
%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 OCaml-library consists of a set of modules which implement
automatically resizing (= reallocating) datastructures that consume a
contiguous part of memory. This allows appending and removing of
elements to/from arrays (both boxed and unboxed), strings (->
buffers), bit strings and weak arrays while still maintaining fast
constant-time access to elements.
There are also functors that allow the generation of similar modules
which use different reallocation strategies.
%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 res-%{version}
%build
make
make doc
%install
rm -rf $RPM_BUILD_ROOT
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}/ocaml/res
%if %opt
%exclude %{_libdir}/ocaml/res/*.a
%exclude %{_libdir}/ocaml/res/*.cmxa
%endif
%exclude %{_libdir}/ocaml/res/*.mli
%files devel
%defattr(-,root,root,-)
%doc LICENSE README Changes TODO
%doc lib/doc/res/html
%doc lib/doc/res/latex/*.dvi lib/doc/res/latex/*.ps lib/doc/res/latex/*.pdf
%if %opt
%{_libdir}/ocaml/res/*.a
%{_libdir}/ocaml/res/*.cmxa
%endif
%{_libdir}/ocaml/res/*.mli
%changelog
* Sat May 3 2008 Richard W.M. Jones <rjones at redhat.com> - 2.2.5-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-res/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 May 2008 16:55:19 -0000 1.1
+++ .cvsignore 12 May 2008 19:19:12 -0000 1.2
@@ -0,0 +1 @@
+res-2.2.5.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-res/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 May 2008 16:55:19 -0000 1.1
+++ sources 12 May 2008 19:19:12 -0000 1.2
@@ -0,0 +1 @@
+6990499f7fa6dbc555c30e1324f66f28 res-2.2.5.tar.bz2
More information about the scm-commits
mailing list