[packages/ocaml-camlp4] - up to 4.14 - dropped outdated documentation

baggins baggins at pld-linux.org
Wed Apr 22 21:34:42 CEST 2026


commit 93849385a9a6e9a20c8ffb2877043f935e31443d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Apr 22 23:34:16 2026 +0200

    - up to 4.14
    - dropped outdated documentation

 ocaml-camlp4.spec | 45 +++++++--------------------------------------
 1 file changed, 7 insertions(+), 38 deletions(-)
---
diff --git a/ocaml-camlp4.spec b/ocaml-camlp4.spec
index 4f89091..c1ff64a 100644
--- a/ocaml-camlp4.spec
+++ b/ocaml-camlp4.spec
@@ -2,11 +2,9 @@
 # Conditional build:
 %bcond_without	ocaml_opt	# build opt (native code)
 
-%define		main_ver	4.12
+%define		main_ver	4.14
 %define		subver		1
 
-%define		doc_ver		3.06
-
 %ifnarch %{ix86} %{x8664} %{arm} aarch64 ppc sparc sparcv9
 %undefine	with_ocaml_opt
 %endif
@@ -16,28 +14,20 @@ Summary:	Objective Caml Preprocessor
 Summary(pl.UTF-8):	Preprocesor OCamla
 Name:		ocaml-camlp4
 Version:	%{main_ver}.%{subver}
-Release:	3
+Release:	1
 Epoch:		1
 License:	LGPL v2 with linking exception
 Group:		Libraries
 #Source0Download: https://github.com/ocaml/camlp4/releases/
 Source0:	https://github.com/ocaml/camlp4/archive/%{main_ver}+%{subver}/camlp4-%{version}.tar.gz
-# Source0-md5:	baa1a11a2252b400c46c87592fc46f22
-# following 4 URLs are dead, some version now available at http://pauillac.inria.fr/camlp4/
-Source1:	ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/camlp4-%{doc_ver}-manual.html.tar.gz
-# Source1-md5:	21370bae4e7f6435b38aeb21db7ce8bb
-Source2:	ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/camlp4-%{doc_ver}-manual.dvi.gz
-# Source2-md5:	035915d1a530aa7ec9b194d9a7d258eb
-Source3:	ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/camlp4-%{doc_ver}-tutorial.html.tar.gz
-# Source3-md5:	96d8eb4ca5abd58c9a280ba59f73b192
-Source4:	ftp://ftp.inria.fr/INRIA/Projects/cristal/camlp4/camlp4-%{doc_ver}-tutorial.dvi.gz
-# Source4-md5:	fcd87c235109364242a0c9ccf176dff8
+# Source0-md5:	39def6befe8f961a89250e3106199359
 URL:		https://github.com/ocaml/camlp4
-BuildRequires:	ocaml >= 1:4.12
+BuildRequires:	ocaml >= 1:4.14
 BuildRequires:	ocaml-ocamlbuild
 %requires_eq	ocaml-runtime
 Provides:	camlp4 = %{epoch}:%{version}-%{release}
-Obsoletes:	camlp4
+Obsoletes:	camlp4 < 4.14
+Obsoletes:	ocaml-camlp4-doc-html < 4.14
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		debug_package	%{nil}
@@ -71,25 +61,8 @@ Camlp4 umie ładnie formatować źródła zarówno w oryginalnej jak i
 poprawionej składni OCamla. Potrafi także tłumaczyć programy z jednej
 składni na drugą.
 
-%package doc-html
-Summary:	Objective Caml Preprocessor - HTML documentation 
-Summary(pl.UTF-8):	Preprocesor OCamla - dokumentacja HTML 
-Group:		Documentation
-
-%description doc-html
-Objective Caml Preprocessor - HTML documentation.
-
-%description doc-html -l pl.UTF-8
-Preprocesor OCamla - dokumentacja HTML.
-
 %prep
-%setup -q -n camlp4-%{main_ver}-%{subver} -a1 -a3
-
-mkdir -p docs/html
-mv camlp4-%{doc_ver}-manual.html docs/html/camlp4
-cp %{SOURCE2} docs/camlp4.ps.gz
-mv camlp4-%{doc_ver}-tutorial.html docs/html/camlp4-tutorial
-cp %{SOURCE4} docs/camlp4-tutorial.ps.gz
+%setup -q -n camlp4-%{main_ver}-%{subver}
 
 %build
 ./configure
@@ -112,7 +85,3 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/camlp4*
 %attr(755,root,root) %{_bindir}/mkcamlp4
 %{_libdir}/ocaml/camlp4
-
-%files doc-html
-%defattr(644,root,root,755)
-%doc docs/html/camlp4*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-camlp4.git/commitdiff/93849385a9a6e9a20c8ffb2877043f935e31443d



More information about the pld-cvs-commit mailing list