]> git.pld-linux.org Git - packages/camlp5.git/blobdiff - camlp5.spec
- fix building with ocaml 4.02.2
[packages/camlp5.git] / camlp5.spec
index ba467d70c4efc4afe69a2969462ac616f0e30d82..ca36c0ed409e73ad980e8cde29ec2233c50d1b5b 100644 (file)
@@ -1,16 +1,19 @@
 Summary:       Objective Caml Preprocessor
 Summary(pl.UTF-8):     Preprocesor OCamla
 Name:          camlp5
-Version:       5.11
-Release:       0.1
+Version:       6.12
+Release:       1
 License:       distributable
 Group:         Development/Languages
 Source0:       http://pauillac.inria.fr/~ddr/camlp5/distrib/src/%{name}-%{version}.tgz
-# Source0-md5: 26d69abd669c5fda43dbf35074debc81
-Source1:       http://pauillac.inria.fr/~ddr/camlp5/doc/pdf/%{name}-%{version}.pdf
-# Source1-md5: 57cf4eb162568d9b755e8120a1b82d43
+# Source0-md5: d49d30b62396b7285f3d609ac90c3fe5
+#Source1:      http://pauillac.inria.fr/~ddr/camlp5/doc/pdf/%{name}-%{version}.pdf
+Source1:       http://pauillac.inria.fr/~ddr/camlp5/doc/pdf/%{name}-6.00.pdf
+# Source1-md5: b241eabfeb48f22b0fbd3e497198a76a
 URL:           http://caml.inria.fr/
 BuildRequires: db-devel >= 4.1
+BuildRequires: ocaml
+%requires_eq   ocaml-runtime
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -58,6 +61,9 @@ Preprocesor OCamla - dokumentacja HTML.
 %setup -q
 cp %{SOURCE1} doc/camlp4.pdf
 
+cp ocaml_src/lib/versdep/4.02.{1,2}.ml
+cp -a ocaml_stuff/4.02.{1,2}
+
 %build 
 ./configure \
        -bindir %{_bindir} \
@@ -88,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc CHANGES DEVEL ICHANGES MODE README UPGRADING doc/camlp4.pdf
 %attr(755,root,root) %{_bindir}/*
 %{_libdir}/ocaml/%{name}
 %{_mandir}/man1/*
This page took 0.068038 seconds and 4 git commands to generate.