rpms/ocaml-openin/devel ocaml-openin.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 Apr 4 16:14:43 UTC 2008
- Previous message (by thread): rpms/ocaml-type-conv/F-8 ocaml-type-conv.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ocaml-openin/F-8 ocaml-openin.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-openin/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30498/devel
Modified Files:
.cvsignore sources
Added Files:
ocaml-openin.spec
Log Message:
Initial import.
--- NEW FILE ocaml-openin.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-openin
Version: 20070524
Release: 2%{?dist}
Summary: OCaml syntax to locally open modules
Group: Development/Libraries
License: Public Domain
URL: http://alain.frisch.fr/soft#openin
Source0: http://alain.frisch.fr/info/openin-20070524.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 package implements a Camlp4 syntax extension for Objective
Caml. It adds the syntactic construction:
open M in e
that can appear in any context where an expression is expected. M is
an arbitrary module expression (not only qualified names as for usual
open statements) and e is an expression.
%prep
%setup -q -n openin-%{version}
%build
make
cat > META <<EOF
name = "openin"
version = "%{version}"
requires = "camlp4"
archive(syntax,toploop) = "pa_openin.cmo"
archive(syntax,preprocessor) = "pa_openin.cmo"
EOF
%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
ocamlfind install openin META pa_openin.cmo
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_libdir}/ocaml/openin
%changelog
* Wed Mar 5 2008 Richard W.M. Jones <rjones at redhat.com> - 20070524-2
- Remove ExcludeArch ppc64.
* Thu Feb 28 2008 Richard W.M. Jones <rjones at redhat.com> - 20070524-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-openin/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Apr 2008 15:37:28 -0000 1.1
+++ .cvsignore 4 Apr 2008 16:13:54 -0000 1.2
@@ -0,0 +1 @@
+openin-20070524.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-openin/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Apr 2008 15:37:28 -0000 1.1
+++ sources 4 Apr 2008 16:13:55 -0000 1.2
@@ -0,0 +1 @@
+ac44983ed6c1d2ac81c6d6cbfe330975 openin-20070524.tar.gz
- Previous message (by thread): rpms/ocaml-type-conv/F-8 ocaml-type-conv.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ocaml-openin/F-8 ocaml-openin.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