rpms/ocaml-p3l/devel README.Fedora, NONE, 1.1 debian-01-correct-href-to-gz-doc.patch, NONE, 1.1 debian-02-install-mli.patch, NONE, 1.1 import.log, NONE, 1.1 ocaml-p3l.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard W.M. Jones rjones at fedoraproject.org
Wed Mar 18 09:31:23 UTC 2009


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-p3l/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29090/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.Fedora debian-01-correct-href-to-gz-doc.patch 
	debian-02-install-mli.patch import.log ocaml-p3l.spec 
Log Message:
Initial import.



--- NEW FILE README.Fedora ---
The user manual and other documentation that goes with ocamlp3l is
rather large, so it is split off into a separate 'ocaml-p3l-doc'
subpackage.

debian-01-correct-href-to-gz-doc.patch:

--- NEW FILE debian-01-correct-href-to-gz-doc.patch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01-correct-href-to-gz-doc.dpatch by Sylvain Le Gall <gildor at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Replace href in HTML documentation that link to PDF/PS/DVI files to
## DP: the same file but compressed using gzip.

@DPATCH@
diff -urNad ocamlp3l~/doc/eng.htm ocamlp3l/doc/eng.htm
--- ocamlp3l~/doc/eng.htm	2008-06-17 18:37:13.000000000 +0000
+++ ocamlp3l/doc/eng.htm	2008-08-09 16:57:29.000000000 +0000
@@ -87,8 +87,8 @@
 <A HREF="UserManual.htm">on line</A>.
 
 <P>You can also download the manual as
-<A HREF="UserManual.dvi">DVI</A>, <A HREF="UserManual.ps">PS</A>, and
-<A HREF="UserManual.pdf">PDF</A> files.
+<A HREF="UserManual.dvi.gz">DVI</A>, <A HREF="UserManual.ps.gz">PS</A>, and
+<A HREF="UserManual.pdf.gz">PDF</A> files.
 
 <P>The manual only exists in the English version,
 volunteers to translate it are warmly welcomed...
diff -urNad ocamlp3l~/doc/fra.htm ocamlp3l/doc/fra.htm
--- ocamlp3l~/doc/fra.htm	2008-06-17 18:37:13.000000000 +0000
+++ ocamlp3l/doc/fra.htm	2008-08-09 16:57:29.000000000 +0000
@@ -86,9 +86,9 @@
 <A HREF="UserManual.htm">en ligne</A>.
 
 <P>Vous pouvez également télécharger le manuel en
-<A HREF="UserManual.dvi">DVI</A>,
-<A HREF="UserManual.ps">PS</A> ou
-<A HREF="UserManual.pdf">PDF</A>.
+<A HREF="UserManual.dvi.gz">DVI</A>,
+<A HREF="UserManual.ps.gz">PS</A> ou
+<A HREF="UserManual.pdf.gz">PDF</A>.
 
 <P>Le manuel est actuellement en anglais uniquement, on attend des volontaires
 pour se charger de la traduction.
diff -urNad ocamlp3l~/doc/papers/eng.htm ocamlp3l/doc/papers/eng.htm
--- ocamlp3l~/doc/papers/eng.htm	2008-06-17 18:37:15.000000000 +0000
+++ ocamlp3l/doc/papers/eng.htm	2008-08-09 16:57:29.000000000 +0000
@@ -26,9 +26,9 @@
   <LI>Paper presented at the <EM>Third International Workshop on High-level
     Parallel Programming and Applications (HLPP 2005)</EM>.
 <!--       <A HREF="hlpp05/paper.tgz">the entire source of the paper</A>,-->
-       <A HREF="hlpp05/paper.dvi">The DVI version</A>,
-       <A HREF="hlpp05/paper.ps">the PS version</A>,
-       <A HREF="hlpp05/paper.pdf">the PDF version</A>.
+       <A HREF="hlpp05/paper.dvi.gz">The DVI version</A>,
+       <A HREF="hlpp05/paper.ps.gz">the PS version</A>,
+       <A HREF="hlpp05/paper.pdf.gz">the PDF version</A>.
 </UL>
 
 <P>
diff -urNad ocamlp3l~/doc/papers/fra.htm ocamlp3l/doc/papers/fra.htm
--- ocamlp3l~/doc/papers/fra.htm	2008-06-17 18:37:15.000000000 +0000
+++ ocamlp3l/doc/papers/fra.htm	2008-08-09 16:57:29.000000000 +0000
@@ -26,9 +26,9 @@
   <LI>Article présenté à <EM>Third International Workshop on High-level
     Parallel Programming and Applications (HLPP 2005)</EM>.
 <!--       <A HREF="hlpp05/paper.tgz">les sources complètes du papier</A>,-->
-       <A HREF="hlpp05/paper.dvi">La version DVI</A>,
-       <A HREF="hlpp05/paper.ps">la version PS</A>,
-       <A HREF="hlpp05/paper.pdf">la version PDF</A>.
+       <A HREF="hlpp05/paper.dvi.gz">La version DVI</A>,
+       <A HREF="hlpp05/paper.ps.gz">la version PS</A>,
+       <A HREF="hlpp05/paper.pdf.gz">la version PDF</A>.
 </UL>
 
 <P>

debian-02-install-mli.patch:

--- NEW FILE debian-02-install-mli.patch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02-install-mli.dpatch by Sylvain Le Gall <gildor at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Install mli file in destination directory.

@DPATCH@
diff -urNad ocamlp3l~/Source/Makefile ocamlp3l/Source/Makefile
--- ocamlp3l~/Source/Makefile	2008-06-17 18:37:14.000000000 +0000
+++ ocamlp3l/Source/Makefile	2008-08-09 17:01:08.000000000 +0000
@@ -61,8 +61,9 @@
 
 all: $(CAMLBYTOBJS) $(CAMLBINOBJS)
 
-install: $(CAMLIOBJS) $(CAMLBYTOBJS) $(CAMLBINOBJS)
+install: $(CAMLIOBJS) $(CAMLBYTOBJS) $(CAMLBINOBJS) $(ALLMLISOURCES)
 	$(MKDIR) $(PACKAGELIBDIR)
+	$(CP) $(ALLMLISOURCES) $(PACKAGELIBDIR)
 	$(CP) $(CAMLIOBJS) $(PACKAGELIBDIR)
 	$(CP) $(CAMLBYTOBJS) $(PACKAGELIBDIR)
 	$(CP) $(CAMLBINOBJS) $(CAMLOOBJS) $(PACKAGELIBDIR)


--- NEW FILE import.log ---
ocaml-p3l-2_03-2_fc11:HEAD:ocaml-p3l-2.03-2.fc11.src.rpm:1237368665


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

Name:           ocaml-p3l
Version:        2.03
Release:        2%{?dist}
Summary:        OCaml compiler for parallel programs

Group:          Development/Libraries
License:        LGPLv2+ with exceptions

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

URL:            http://camlp3l.inria.fr/
Source0:        ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/ocamlp3l/ocamlp3l-%{version}.tgz
Source1:        README.Fedora

# These patches come from Debian:
Patch0:         debian-01-correct-href-to-gz-doc.patch
Patch1:         debian-02-install-mli.patch

BuildRequires:  ocaml >= 3.10.0
BuildRequires:  ocaml-ocamldoc

%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
OCamlP3l is a compiler for Caml parallel programs.

The OCamlP3l programming paradigm is skeleton programming. The
skeletons encapsulate basic parallel programming patterns in a well
understood and structured approach. Based on P3L, the Pisa Parallel
Programming Language, OCamlP3l skeleton algebra is embedded in a
full-fledged functional programming language, namely Objective Caml.

The skeleton programming approach used in OCamlP3l allows three
different operational interpretations of the same source program:

* the sequential interpretation which is deterministic, hence easy
  to understand and debug,
* the parallel interpretation using a network of computing nodes
  run in parallel to speed up the computation,
* the graphical interpretation, which is run to obtain a drawing
  of the parallel computing network deployed at run-time by the
  parallel interpretation. 


%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}.


%package        doc
Summary:        User manual and other documentation for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}


%description    doc
The %{name}-doc package contains the user manual and other
documentation for %{name}.


%prep
%setup -q -n ocamlp3l-%{version}

%patch0 -p1
%patch1 -p1


%build
make configure
make


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $RPM_BUILD_ROOT%{_bindir}

make install \
  CAMLLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
  PREFIX=$RPM_BUILD_ROOT%{_prefix}

strip $RPM_BUILD_ROOT%{_bindir}/ocamlp3l*

# Zero-length file - remove it.
rm doc/favicon.ico

cp %{SOURCE1} README.Fedora


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc doc/LICENSE
%{_libdir}/ocaml/ocamlp3l
%if %opt
%exclude %{_libdir}/ocaml/ocamlp3l/vprocess/*.cmx
%exclude %{_libdir}/ocaml/ocamlp3l/vthread/*.cmx
%endif
%exclude %{_libdir}/ocaml/ocamlp3l/vprocess/*.mli
%exclude %{_libdir}/ocaml/ocamlp3l/vthread/*.mli
%{_bindir}/ocamlp3lc
%{_bindir}/ocamlp3lopt
%{_bindir}/ocamlp3ltop


%files devel
%defattr(-,root,root,-)
%doc README.Fedora
%if %opt
%{_libdir}/ocaml/ocamlp3l/vprocess/*.cmx
%{_libdir}/ocaml/ocamlp3l/vthread/*.cmx
%endif
%{_libdir}/ocaml/ocamlp3l/vprocess/*.mli
%{_libdir}/ocaml/ocamlp3l/vthread/*.mli


%files doc
%defattr(-,root,root,-)
%doc doc/*


%changelog
* Mon Mar 16 2009 Richard W.M. Jones <rjones at redhat.com> - 2.03-2
- Don't duplicate the LICENSE and README.Fedora files.

* Sat Dec 20 2008 Richard W.M. Jones <rjones at redhat.com> - 2.03-1
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-p3l/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Mar 2009 03:42:03 -0000	1.1
+++ .cvsignore	18 Mar 2009 09:30:52 -0000	1.2
@@ -0,0 +1 @@
+ocamlp3l-2.03.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-p3l/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Mar 2009 03:42:03 -0000	1.1
+++ sources	18 Mar 2009 09:30:53 -0000	1.2
@@ -0,0 +1 @@
+8d7b791873c8f544b4cd5a08d87cc426  ocamlp3l-2.03.tgz




More information about the fedora-extras-commits mailing list