rpms/ocaml-lacaml/devel ocaml-lacaml.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
Wed Mar 5 22:10:48 UTC 2008
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-lacaml/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21107/devel
Modified Files:
.cvsignore sources
Added Files:
ocaml-lacaml.spec
Log Message:
Initial CVS import.
--- NEW FILE ocaml-lacaml.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-lacaml
Version: 4.3.0
Release: 2%{?dist}
Summary: BLAS/LAPACK-interface for OCaml
Group: Development/Libraries
License: LGPLv2 with exceptions
URL: http://ocaml.info/home/ocaml_sources.html
Source0: http://www.ocaml.info/ocaml_sources/lacaml-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml
BuildRequires: ocaml-camlp4-devel
BuildRequires: ocaml-findlib-devel
BuildRequires: lapack-devel
BuildRequires: blas-devel
%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh -i Asttypes -i Parsetree
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh -i Common -i Install_printers -i Io -i Utils
%description
This OCaml-library interfaces the BLAS-library (Basic Linear Algebra
Subroutines) and LAPACK-library (Linear Algebra routines), which are
written in FORTRAN.
This allows people to write high-performance numerical code for
applications that need linear algebra.
%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 lacaml-%{version}
%build
make
make examples
strip lib/dlllacaml_stubs.so
%install
# These rules work if the library uses 'ocamlfind install' to install itself.
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
# By installing the *.cmx files, the compiler can do cross-module inlining.
install -m 0644 lib/*.cmx $RPM_BUILD_ROOT%{_libdir}/ocaml/lacaml
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT LICENSE
%{_libdir}/ocaml/lacaml
%if %opt
%exclude %{_libdir}/ocaml/lacaml/*.a
%exclude %{_libdir}/ocaml/lacaml/*.cmxa
%exclude %{_libdir}/ocaml/lacaml/*.cmx
%endif
%exclude %{_libdir}/ocaml/lacaml/*.mli
%exclude %{_libdir}/ocaml/lacaml/*.ml
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
%files devel
%defattr(-,root,root,-)
%doc COPYRIGHT LICENSE Changes README TODO VERSION
%if %opt
%{_libdir}/ocaml/lacaml/*.a
%{_libdir}/ocaml/lacaml/*.cmxa
%{_libdir}/ocaml/lacaml/*.cmx
%endif
%{_libdir}/ocaml/lacaml/*.mli
%{_libdir}/ocaml/lacaml/*.ml
%changelog
* Tue Mar 4 2008 Richard W.M. Jones <rjones at redhat.com> - 4.3.0-2
- Rebuild for ppc64.
* Wed Feb 20 2008 Richard W.M. Jones <rjones at redhat.com> - 4.3.0-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-lacaml/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Mar 2008 19:47:48 -0000 1.1
+++ .cvsignore 5 Mar 2008 22:10:14 -0000 1.2
@@ -0,0 +1 @@
+lacaml-4.3.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-lacaml/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Mar 2008 19:47:48 -0000 1.1
+++ sources 5 Mar 2008 22:10:14 -0000 1.2
@@ -0,0 +1 @@
+dd42769a777f9dfc086b1d23e2d6ed44 lacaml-4.3.0.tar.bz2
More information about the fedora-extras-commits
mailing list