rpms/ocaml-pa-monad/F-8 ocaml-pa-monad.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 May 14 20:19:37 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-pa-monad/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32520/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	ocaml-pa-monad.spec 
Log Message:
Initial import.



--- NEW FILE ocaml-pa-monad.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}

Name:           ocaml-pa-monad
Version:        1.2.0
Release:        3%{?dist}
Summary:        OCaml syntax extension for monads

Group:          Development/Libraries
License:        LGPLv2+ with exceptions
URL:            http://www.cas.mcmaster.ca/~carette/pa_monad/
Source0:        http://www.cas.mcmaster.ca/~carette/pa_monad/pa_monad.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ocaml >= 3.10.0
BuildRequires:  ocaml-findlib-devel
BuildRequires:  ocaml-ocamldoc
BuildRequires:  ocaml-camlp4-devel

%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 Camlp4 parser adds some syntactic sugar to beautify monadic
expressions.  The name of the syntax extension is a bit misleading as
it does not provide any monad nor monadic computation.


%prep
%setup -q -c


%build
make all doc


%check
make test


%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 findlib-install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README ChangeLog html-doc
%{_libdir}/ocaml/monad


%changelog
* Mon May 10 2008 Richard W.M. Jones <rjones at redhat.com> - 1.2.0-3
- Added a check section.

* Wed Mar  5 2008 Richard W.M. Jones <rjones at redhat.com> - 1.2.0-2
- Remove ExcludeArch ppc64.

* Thu Feb 28 2008 Richard W.M. Jones <rjones at redhat.com> - 1.2.0-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-pa-monad/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 May 2008 15:42:58 -0000	1.1
+++ .cvsignore	14 May 2008 20:19:00 -0000	1.2
@@ -0,0 +1 @@
+pa_monad.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-pa-monad/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 May 2008 15:42:58 -0000	1.1
+++ sources	14 May 2008 20:19:00 -0000	1.2
@@ -0,0 +1 @@
+c80937e9d6a1d8e7867d0b2e31abf055  pa_monad.tar.gz




More information about the fedora-extras-commits mailing list