gsl-ocaml / ocamlgsl.spec

Markus Mottl f721575 






























































Summary: OCaml interface for gsl
Name: ocamlgsl
Version: 0.6.0
Release: 1
URL: http://oandrieu.nerim.net/ocaml/#gsl
Source: %name-%version.tar.gz
License: GPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/buildroot/%name-%version
Requires: gsl >= 1.9
Buildrequires: gsl-devel >= 1.9

%description
An Objective Caml / GSL interface.

%define ocamldir %(ocamlc -where)

%prep
%setup -q

%build
make

%install
rm -rf %buildroot
make DESTDIR=%buildroot INSTALLDIR=%ocamldir/gsl install
mkdir -p %buildroot/%{_infodir}
install -m 644 ocamlgsl.info* %buildroot/%{_infodir}

%clean
rm -rf %buildroot

%post
if test -x /sbin/install-info ; then
  /sbin/install-info %{_infodir}/ocamlgsl.info %{_infodir}/dir
fi

%preun
if test -x /sbin/install-info ; then
  /sbin/install-info --delete ocamlgsl %{_infodir}/dir
fi

%files
%defattr(-,root,root)
%doc doc README NOTES COPYING
%ocamldir/gsl
%ocamldir/stublibs/*
%{_infodir}/*.info*

%changelog
* Fri Apr 13 2007 Olivier Andrieu <oandrieu@nerim.net> - 0.6.0-1
- Updated to 0.6.0

* Mon Oct  2 2006 Olivier Andrieu <oandrieu@nerim.net> - 0.5.0-1
- Updated to 0.5.0

* Sun Oct  1 2006 Olivier Andrieu <oandrieu@nerim.net> - 0.4.1-1
- Updated to 0.4.1

* Tue Oct 21 2003 Olivier Andrieu <oandrieu@nerim.net> 0.3.0-1
- Updated to 0.3.0

* Wed Nov 20 2002 Olivier Andrieu <oandrieu@nerim.net> 0.2-1
- Initial build.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.