Compare commits

...

109 Commits
f8 ... rawhide

Author SHA1 Message Date
Richard W.M. Jones
be40febedd OCaml 4.12.0 build 2021-03-01 11:02:45 +00:00
Fedora Release Engineering
6861d08bef - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:02:14 +00:00
Richard W.M. Jones
152920c078 Build ocamlrpcgen as native code.
Enable stripping.
Enable LTO (RHBZ#1915570).
2021-01-14 12:34:41 +00:00
Richard W.M. Jones
89b9dc8cb6 New upstream version 4.1.8.
Disable LTO (RHBZ#1915570).
2021-01-13 09:11:33 +00:00
Richard W.M. Jones
9e23a46d76 Bump release and rebuild. 2021-01-13 08:50:53 +00:00
Tom Stellard
878563436c Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-07 06:17:00 +00:00
Richard W.M. Jones
3b3bce04b8 OCaml 4.11.1 rebuild 2020-09-01 20:33:13 +01:00
Richard W.M. Jones
ed2e790f96 OCaml 4.11.0 rebuild 2020-08-21 12:23:23 +01:00
Fedora Release Engineering
3ee6e2f187 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 12:14:20 +00:00
Richard W.M. Jones
e9f1a1dbf6 OCaml 4.11.0+dev2-2020-04-22 rebuild 2020-05-05 00:00:57 +01:00
Richard W.M. Jones
48b24ca011 OCaml 4.11.0 pre-release attempt 2 2020-04-21 19:49:11 +01:00
Richard W.M. Jones
6524045f08 OCaml 4.11.0 pre-release 2020-04-17 21:35:35 +01:00
Richard W.M. Jones
868d2971e0 Update all OCaml dependencies for RPM 4.16. 2020-04-02 23:08:13 +01:00
Richard W.M. Jones
16c8071f34 OCaml 4.10.0 final. 2020-02-26 14:17:15 +00:00
Fedora Release Engineering
447c62c3e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 19:40:45 +00:00
Richard W.M. Jones
2bbc36054f Fixes for OCaml 4.10. 2020-01-19 16:38:10 +00:00
Richard W.M. Jones
34f8b8dc83 OCaml 4.10.0+beta1 rebuild. 2020-01-19 16:14:23 +00:00
Richard W.M. Jones
8e6f5b1114 Bump and rebuild (RHBZ#1770380). 2019-11-08 20:58:02 +00:00
Richard W.M. Jones
fff925c5be Remove camlp4 dependency. 2019-07-27 21:24:16 +01:00
Fedora Release Engineering
f9ade6c0f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 22:57:11 +00:00
Fedora Release Engineering
b25e786f9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 16:54:10 +00:00
Fedora Release Engineering
656e7b1fd7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 14:46:08 +00:00
Richard W.M. Jones
39fbc1b302 OCaml 4.07.0 (final) rebuild. 2018-07-11 14:18:14 +01:00
Richard W.M. Jones
e04eae4e2c OCaml 4.07.0-rc1 rebuild. 2018-06-19 22:12:03 +01:00
Richard W.M. Jones
d7d4c5f084 New upstream version 4.1.6.
- Remove upstream patch.
2018-05-15 14:32:25 +01:00
Fedora Release Engineering
904d534b7d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 08:54:39 +00:00
Richard W.M. Jones
d4507a597d New upstream version 4.1.5. 2017-12-12 10:46:35 +00:00
Richard W.M. Jones
de3a1765bd New upstream version 4.1.4. 2017-11-08 16:26:54 +00:00
Richard W.M. Jones
a351710826 Bump release and rebuild. 2017-11-08 16:16:10 +00:00
Richard W.M. Jones
1580d44d94 Bump release and rebuild. 2017-11-08 15:28:27 +00:00
Richard W.M. Jones
b9bb0bc279 OCaml 4.06.0 rebuild. 2017-11-07 23:11:11 +00:00
Richard W.M. Jones
c07923eec3 New upstream version 4.1.3. 2017-08-07 19:44:42 +01:00
Richard W.M. Jones
b48d00420d OCaml 4.05.0 rebuild. 2017-08-07 19:13:44 +01:00
Fedora Release Engineering
9d187e083c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:17:58 +00:00
Fedora Release Engineering
2c820de845 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:29:57 +00:00
Richard W.M. Jones
78080ce77e Bump release and rebuild. 2017-06-26 21:39:09 +01:00
Richard W.M. Jones
f626b6ad55 OCaml 4.04.2 rebuild. 2017-06-26 18:26:25 +01:00
Richard W.M. Jones
af6e67fe82 Bump release and rebuild. 2017-05-12 08:22:49 +01:00
Richard W.M. Jones
b5c78b71f6 Bump release and rebuild. 2017-05-11 21:21:20 +01:00
Richard W.M. Jones
ffc4ad190a OCaml 4.04.1 rebuild. 2017-05-11 18:48:23 +01:00
Fedora Release Engineering
e7c344e556 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 00:33:57 +00:00
Richard W.M. Jones
f2bbd6acc4 New upstream version 4.1.2. 2016-11-05 08:52:14 +00:00
Fedora Release Engineering
aedeba54ac - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 11:09:00 +00:00
Richard W.M. Jones
0e4ff4f6b2 OCaml 4.02.3 rebuild. 2015-07-28 15:13:36 +01:00
Richard W.M. Jones
d8e0a8a7d2 Remove ExcludeArch since bytecode build should now work. 2015-07-27 10:25:54 +01:00
Richard W.M. Jones
0dabc99bf2 New upstream version 4.0.4.
- Remove ugly hack for gnutls, since it is fixed properly upstream.
2015-07-22 15:20:40 +01:00
Richard W.M. Jones
4006fadf03 ocaml-4.02.2 final rebuild. 2015-06-24 16:57:18 +01:00
Richard W.M. Jones
a989b0d699 Add a hack to make it compile with latest gnutls 3.4.2. 2015-06-17 15:02:35 +01:00
Richard W.M. Jones
f6826aa112 Bump release and rebuild. 2015-06-17 14:35:51 +01:00
Richard W.M. Jones
4e670fc785 ocaml-4.02.2 rebuild. 2015-06-17 14:12:01 +01:00
Richard W.M. Jones
145ee6e0fa Upgrade to 4.0.3, which also fixes gnutls 3.4 compilation problems. 2015-05-15 08:45:20 +01:00
Richard W.M. Jones
1a23a7893e Bump and rebuild again for gnutls/nettle soname change. 2015-05-13 21:15:54 +01:00
Kalev Lember
9fc1faba38 Rebuilt for nettle soname bump 2015-05-04 14:48:54 +02:00
Richard W.M. Jones
46d6fd400c Enable more features, readding features disabled in the previous commit.
- Enable PCRE.
- Enable GnuTLS.
- Enable GSSAPI.
- Re-enable Nethttpd.
- Re-add documentation for Netsmtp and Netpop (modules renamed).
- Enable camlzip.
2015-02-18 11:13:39 +00:00
Richard W.M. Jones
23b2b30a21 New upstream version 4.0.1.
- ocaml-4.02.1 rebuild.
- Disable SSL (removed from upstream, apparently?)
- Remove POP and SMTP (removed from upstream?)
- Add netunidata.
- Remove patches which are no longer needed / upstream.
2015-02-16 17:29:18 +00:00
Richard W.M. Jones
14bb5ef2ab ocaml-4.02.1 rebuild. 2015-02-16 17:13:05 +00:00
Richard W.M. Jones
c3a6a1252e Bump and rebuild. 2014-11-03 12:50:11 +00:00
Richard W.M. Jones
abe5835673 - Fix for int(32|64) -> int(32|64)_t in latest OCaml upstream. 2014-08-30 18:14:56 +01:00
Richard W.M. Jones
97fdbaef06 ocaml-4.02.0 final rebuild. 2014-08-30 17:35:17 +01:00
Richard W.M. Jones
15bfe91414 Fix for broken configure tests. 2014-08-24 09:43:48 +01:00
Richard W.M. Jones
3147baff1d Bump release and rebuild. 2014-08-23 13:04:24 +01:00
Richard W.M. Jones
66fcba1d3f ocaml-4.02.0+rc1 rebuild. 2014-08-23 13:02:09 +01:00
Peter Robinson
c62bf6e74e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 13:01:08 +00:00
Richard W.M. Jones
d26009f978 ocaml-4.02.0-0.8.git10e45753.fc22 rebuild. 2014-08-01 22:41:42 +01:00
Richard W.M. Jones
f3a7b1182e Add BR tcl-devel. 2014-07-23 13:01:12 +01:00
Richard W.M. Jones
5f9422d26e New upstream version 3.7.4.
- OCaml 4.02.0 beta rebuild.
- Some spec file modernization.
2014-07-23 12:37:27 +01:00
Dennis Gilmore
4f787e3a63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:44:06 -05:00
Richard W.M. Jones
00fcf59c85 Rebuild for ocaml-lablgtk 2.18. 2013-10-02 14:15:29 +01:00
Richard W.M. Jones
13a990f2ef Disable debuginfo for the same reason. 2013-09-19 17:20:52 +01:00
Richard W.M. Jones
6c2de7cace Unfortunately we have to re-add the anti-stripping code back. See
comment at top of spec file.
2013-09-19 17:17:20 +01:00
Richard W.M. Jones
7cb7e7e47c - Missing BR ncurses-devel. 2013-09-14 11:08:10 +01:00
Richard W.M. Jones
2ce2932a81 New upstream version 3.7.3.
- Rebuild for OCaml 4.01.0.
- Enable debuginfo.
- Do not strip binaries, remove anti-prelink protection.
2013-09-14 09:27:35 +01:00
Dennis Gilmore
063664e449 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 09:58:16 -05:00
Dennis Gilmore
83e836dabf - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 03:01:12 -06:00
Richard W.M. Jones
f76c14c6fa Rebuild for OCaml 4.00.1. 2012-12-14 09:56:38 +00:00
Richard W.M. Jones
d389d18029 Rebuild for OCaml 4.00.0 official. 2012-07-28 12:30:21 +01:00
Dennis Gilmore
2c4733edb3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 01:05:34 -05:00
Richard W.M. Jones
f11ed3c2a1 New upstream version 3.5.1.
Rebuild for OCaml 4.00.0.
2012-06-09 15:45:35 +01:00
Richard W.M. Jones
c9324bd6ba Bump and rebuild against new OCaml compiler in ARM. 2012-04-28 17:57:09 +01:00
Petr Písař
678eca87df Rebuild against PCRE 8.30 2012-02-10 13:00:32 +01:00
Richard W.M. Jones
6c511248cd - New upstream version 3.4.1.
- Rebuild for OCaml 3.12.1.
2012-01-06 15:38:41 +00:00
Richard W.M. Jones
6001d991d3 - Move to new upstream 3.4 version. Note this is not compatible with
ocamlnet 2.x.
2011-09-19 17:10:23 +01:00
Dennis Gilmore
77f171272f - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 19:59:59 -06:00
Richard W.M. Jones
4a337b52d6 - Rebuild against rpm-4.9.0-0.beta1.6.fc15. See discussion:
http://lists.fedoraproject.org/pipermail/devel/2011-February/148398.html
2011-02-06 10:24:49 +00:00
Richard W.M. Jones
db50c118cb Bump and rebuild because of broken deps on ocaml-lablgtk. 2011-02-05 15:08:08 +00:00
Richard W.M. Jones
30b739d2f9 Missing BR ocaml-labltk-devel. 2011-01-05 17:09:33 +00:00
Richard W.M. Jones
317c8d59f6 Bump and rebuild. 2011-01-05 16:57:41 +00:00
Fedora Release Engineering
15a770b0fc dist-git conversion 2010-07-29 04:46:09 +00:00
Richard W.M. Jones
1bf62c830f - {gtk2,openssl,pcre,tcl}-devel BRs have now been pushed down to the
corresponding ocaml-X-devel packages, so we don't need those here any
    more.
2010-01-05 13:44:37 +00:00
Richard W.M. Jones
4006afef5c Add BR gtk2-devel. 2010-01-05 13:32:43 +00:00
Richard W.M. Jones
02b7d13b95 - Use new dependency generator in upstream RPM 4.8.
- Add a temporary patch to diagnose build problem on Koji.
2010-01-05 13:20:35 +00:00
Richard W.M. Jones
19f283e7af Rebuild for OCaml 3.11.2 2009-12-30 13:51:23 +00:00
Bill Nottingham
09ce48a68a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:56:28 +00:00
Richard W.M. Jones
0cb519a061 Force rebuild against newer lablgtk. 2009-09-29 15:15:02 +00:00
Jesse Keating
f03bf6cba7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 20:01:04 +00:00
Richard W.M. Jones
45b15ab3b6 Rebuild for OCaml 3.11.1 2009-05-23 11:07:23 +00:00
Karsten Hopp
2b841ed1da - ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
(added sparc64 per request from the sparc maintainer)
2009-04-16 09:06:11 +00:00
Jesse Keating
6db7c27a85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 07:20:21 +00:00
Richard W.M. Jones
9ec572a2ba Rebuild against updated lablgtk. 2009-02-07 09:24:16 +00:00
Richard W.M. Jones
5d9895726e Fix prelink configuration file. 2009-01-21 20:58:08 +00:00
Richard W.M. Jones
25ee4572f5 Rebuild 2008-12-04 19:30:19 +00:00
Richard W.M. Jones
65237f45d7 Rebuild for OCaml 3.11.0 2008-11-24 11:42:50 +00:00
Richard W.M. Jones
225fc7c650 - Prevent RPM & prelink from stripping bytecode. 2008-09-02 09:01:38 +00:00
Richard W.M. Jones
d99964fbd3 Rebuild for OCaml 3.10.2 2008-04-23 16:16:57 +00:00
Richard W.M. Jones
c7bf57a798 - New upstream URL. 2008-04-23 08:50:55 +00:00
Richard W.M. Jones
f2a7fa4ad3 - Do not strip binaries (bz 435559). 2008-03-03 21:50:00 +00:00
Richard W.M. Jones
8d2c64e353 - Rebuild for ppc64. 2008-03-01 10:13:06 +00:00
Richard W.M. Jones
a0c0f12783 - Rebuild for OCaml 3.10.1. 2008-02-13 01:21:46 +00:00
Richard W.M. Jones
a277c2154f Initial release for F-9. 2007-12-06 17:08:25 +00:00
6 changed files with 620 additions and 21 deletions

View File

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/ocamlnet-*.tar.gz

View File

@ -0,0 +1,45 @@
From 828a873df2b838e46faa5700dbae18601cb8dcb9 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 14 Jan 2021 12:20:03 +0000
Subject: [PATCH] Build ocamlrpcgen as native code.
---
code/src/rpc-generator/Makefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/code/src/rpc-generator/Makefile b/code/src/rpc-generator/Makefile
index e0ed4f5..a475e83 100644
--- a/code/src/rpc-generator/Makefile
+++ b/code/src/rpc-generator/Makefile
@@ -6,9 +6,11 @@ PKGNAME = rpc-generator
ARCHIVE = rpc_generator
OBJECTS = config.cmo syntax.cmo options.cmo parser.cmo lexer.cmo rename.cmo \
generate.cmo direct.cmo
+XOBJECTS = config.cmx syntax.cmx options.cmx parser.cmx lexer.cmx rename.cmx \
+ generate.cmx direct.cmx
DOBJECTS =
-ALL_EXTRA = ocamlrpcgen$(EXEC_SUFFIX) rpcgen-packlist
+OPT_EXTRA = ocamlrpcgen$(EXEC_SUFFIX) rpcgen-packlist
PACKLIST = rpcgen-packlist
@@ -21,12 +23,12 @@ PP_OPTIONS = -pp "$(CPPO) $(PP_BYTES) $(PP_DEPRECATED)"
include $(TOP_DIR)/Makefile.rules
-ocamlrpcgen$(EXEC_SUFFIX): $(ARCHIVE).cma main.cmo
+ocamlrpcgen$(EXEC_SUFFIX): $(ARCHIVE).cmxa main.cmx
rm -f ocamlrpcgen ocamlrpcgen$(EXEC_SUFFIX)
OCAMLPATH="..$(PATH_SEP)$$OCAMLPATH" \
- $(OCAMLC) -custom -o ocamlrpcgen \
+ $(OCAMLOPT) -o ocamlrpcgen \
-package unix,netstring,$(REGEXP_PROVIDER) \
- $(ARCHIVE).cma main.cmo -linkpkg
+ $(ARCHIVE).cmxa main.cmx -linkpkg
rpcgen-packlist:
echo $(BINDIR)/ocamlrpcgen >rpcgen-packlist
--
2.28.0.rc2

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: ocaml-ocamlnet
# $Id$
NAME := ocaml-ocamlnet
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

573
ocaml-ocamlnet.spec Normal file
View File

@ -0,0 +1,573 @@
Name: ocaml-ocamlnet
Version: 4.1.8
Release: 4%{?dist}
Summary: Network protocols for OCaml
License: BSD
URL: http://projects.camlcity.org/projects/ocamlnet.html
Source0: http://download.camlcity.org/download/ocamlnet-%{version}.tar.gz
# Build ocamlrpcgen as native code. Sent upstream 2021-01-14.
Patch1: 0001-Build-ocamlrpcgen-as-native-code.patch
BuildRequires: make
BuildRequires: ocaml >= 3.12.1-3
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-lablgtk-devel
BuildRequires: ocaml-labltk-devel
BuildRequires: ocaml-pcre-devel
BuildRequires: ocaml-zip-devel
BuildRequires: gnutls-devel
BuildRequires: krb5-devel
BuildRequires: ncurses-devel
BuildRequires: tcl-devel
%global __ocaml_requires_opts -i Asttypes -i Outcometree -i Parsetree
%description
Ocamlnet is an ongoing effort to collect modules, classes and
functions that are useful to implement network protocols. Since
version 2.2, Ocamlnet incorporates the Equeue, RPC, and Netclient
libraries, so it now really a big player.
In detail, the following features are available:
* netstring is about processing strings that occur in network
context. Features: MIME encoding/decoding, Date/time parsing,
Character encoding conversion, HTML parsing and printing, URL
parsing and printing, OO-representation of channels, and a lot
more.
* netcgi2 focuses on portable web applications.
* rpc implements ONCRPC (alias SunRPC), the remote procedure call
technology behind NFS and other Unix services.
* netplex is a generic server framework. It can be used to build
stand-alone server programs from individual components like those
from netcgi2, nethttpd, and rpc.
* netclient implements clients for HTTP (version 1.1, of course), FTP
(currently partially), and Telnet.
* equeue is an event queue used for many protocol implementations. It
makes it possible to run several clients and/or servers in parallel
without having to use multi-threading or multi-processing.
* shell is about calling external commands like a Unix shell does.
* netshm provides shared memory for IPC purposes.
* netsys contains bindings for system functions missing in core OCaml.
* netsmtp and netpop are client implementations of the SMTP and POP3
protocols.
* Bindings for GnuTLS and GSSAPI (TLS/HTTPS support).
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%package nethttpd
Summary: Ocamlnet HTTP daemon
License: GPLv2+
Requires: %{name} = %{version}-%{release}
%description nethttpd
Nethttpd is a web server component (HTTP server implementation). It
can be used for web applications without using an extra web server, or
for serving web services.
%package nethttpd-devel
Summary: Development files for %{name}-nethttpd
License: GPLv2+
Requires: %{name}-nethttpd = %{version}-%{release}
%description nethttpd-devel
The %{name}-nethttpd-devel package contains libraries and signature
files for developing applications that use %{name}-nethttpd.
%prep
%setup -q -n ocamlnet-%{version}
%patch1 -p2
%build
# Parallel builds don't work:
unset MAKEFLAGS
./configure \
-bindir %{_bindir} \
-datadir %{_datadir}/%{name} \
-disable-apache \
-enable-pcre \
-enable-gtk2 \
-enable-gnutls \
-enable-gssapi \
-enable-nethttpd \
-enable-tcl \
-enable-zip
# This is a hack caused by the ocamlrpcgen patch. Because "make all"
# no longer builds ocamlrpcgen (it is now built by "make opt") but
# some other parts of the build depend on this program, we have to run
# make opt first and ignore the result. Hopefully we'll get a better
# result when upstream integrate the patch. RWMJ 2021-01.
make opt ||:
make all
%ifarch %{ocaml_native_compiler}
make opt
%endif
%install
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR
mkdir -p $OCAMLFIND_DESTDIR/stublibs
make install
# rpc-generator/dummy.mli is empty and according to Gerd Stolpmann can
# be deleted safely. This avoids an rpmlint warning.
rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/rpc-generator/dummy.mli
# NB. Do NOT strip the binaries and prevent prelink from stripping them too.
# See comment at top of spec file.
mkdir -p $RPM_BUILD_ROOT/etc/prelink.conf.d
echo -e '-b /usr/bin/netplex-admin\n-b /usr/bin/ocamlrpcgen' \
> $RPM_BUILD_ROOT/etc/prelink.conf.d/ocaml-ocamlnet.conf
%files
%doc ChangeLog RELNOTES
%{_libdir}/ocaml/equeue
%{_libdir}/ocaml/equeue-gtk2
%{_libdir}/ocaml/equeue-tcl
%{_libdir}/ocaml/netcamlbox
%{_libdir}/ocaml/netcgi2
%{_libdir}/ocaml/netcgi2-plex
%{_libdir}/ocaml/netclient
%{_libdir}/ocaml/netgss-system
%{_libdir}/ocaml/netmulticore
%{_libdir}/ocaml/netplex
%{_libdir}/ocaml/netshm
%{_libdir}/ocaml/netstring
%{_libdir}/ocaml/netstring-pcre
%{_libdir}/ocaml/netsys
%{_libdir}/ocaml/nettls-gnutls
%{_libdir}/ocaml/netunidata
%{_libdir}/ocaml/netzip
%{_libdir}/ocaml/rpc
%{_libdir}/ocaml/rpc-auth-local
%{_libdir}/ocaml/rpc-generator
%{_libdir}/ocaml/shell
%ifarch %{ocaml_native_compiler}
%exclude %{_libdir}/ocaml/*/*.a
%exclude %{_libdir}/ocaml/*/*.cmxa
%exclude %{_libdir}/ocaml/*/*.cmx
%exclude %{_libdir}/ocaml/*/*.o
%endif
%exclude %{_libdir}/ocaml/*/*.mli
%{_libdir}/ocaml/stublibs/*.so
%{_libdir}/ocaml/stublibs/*.so.owner
%{_datadir}/%{name}/
%{_bindir}/netplex-admin
%{_bindir}/ocamlrpcgen
%config(noreplace) /etc/prelink.conf.d/ocaml-ocamlnet.conf
%files devel
%doc ChangeLog RELNOTES
%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmxa
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.o
%endif
%{_libdir}/ocaml/*/*.mli
%files nethttpd
%doc ChangeLog RELNOTES
%{_libdir}/ocaml/nethttpd
%ifarch %{ocaml_native_compiler}
%exclude %{_libdir}/ocaml/*/*.a
%exclude %{_libdir}/ocaml/*/*.cmxa
%endif
%exclude %{_libdir}/ocaml/*/*.mli
%files nethttpd-devel
%doc ChangeLog RELNOTES
%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmxa
%endif
%{_libdir}/ocaml/*/*.mli
%changelog
* Mon Mar 1 11:02:44 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 4.1.8-4
- OCaml 4.12.0 build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Richard W.M. Jones <rjones@redhat.com> - 4.1.8-2
- Build ocamlrpcgen as native code.
- Enable stripping.
- Enable LTO (RHBZ#1915570).
* Wed Jan 13 2021 Richard W.M. Jones <rjones@redhat.com> - 4.1.8-1
- New upstream version 4.1.8.
- Disable LTO (RHBZ#1915570).
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-18
- OCaml 4.11.1 rebuild
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-17
- OCaml 4.11.0 rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-15
- OCaml 4.11.0+dev2-2020-04-22 rebuild
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-14
- OCaml 4.11.0 pre-release attempt 2
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-13
- OCaml 4.11.0 pre-release
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-12
- Update all OCaml dependencies for RPM 4.16.
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-11
- OCaml 4.10.0 final.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-9
- OCaml 4.10.0+beta1 rebuild.
* Fri Nov 08 2019 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-8
- Bump and rebuild (RHBZ#1770380).
* Sat Jul 27 2019 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-7
- Remove camlp4 dependency.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-3
- OCaml 4.07.0 (final) rebuild.
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-2
- OCaml 4.07.0-rc1 rebuild.
* Tue May 15 2018 Richard W.M. Jones <rjones@redhat.com> - 4.1.6-1
- New upstream version 4.1.6.
- Remove upstream patch.
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Dec 12 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.5-1
- New upstream version 4.1.5.
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.4-1
- New upstream version 4.1.4.
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.3-2
- OCaml 4.06.0 rebuild.
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.3-1
- New upstream version 4.1.3.
- OCaml 4.05.0 rebuild.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-7
- Bump release and rebuild.
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-6
- OCaml 4.04.2 rebuild.
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-5
- Bump release and rebuild.
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-4
- Bump release and rebuild.
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-3
- OCaml 4.04.1 rebuild.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 4.1.2-1
- New upstream version 4.1.2.
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.4-3
- OCaml 4.02.3 rebuild.
* Mon Jul 27 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.4-2
- Remove ExcludeArch since bytecode build should now work.
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.4-1
- New upstream version 4.0.4.
- Remove ugly hack for gnutls, since it is fixed properly upstream.
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.3-4
- ocaml-4.02.2 final rebuild.
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.3-3
- Bump release and rebuild.
- Add a hack to make it compile with latest gnutls 3.4.2.
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.3-2
- ocaml-4.02.2 rebuild.
* Fri May 15 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.3-1
- Upgrade to 4.0.3, which also fixes gnutls 3.4 compilation problems.
* Wed May 13 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.1-4
- Bump and rebuild again for gnutls/nettle soname change.
* Mon May 04 2015 Kalev Lember <kalevlember@gmail.com> - 4.0.1-3
- Rebuilt for nettle soname bump
* Wed Feb 18 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.1-2
- Enable more features, readding features disabled in the previous commit.
- Enable PCRE.
- Enable GnuTLS.
- Enable GSSAPI.
- Re-enable Nethttpd.
- Re-add documentation for Netsmtp and Netpop (modules renamed).
- Enable camlzip.
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 4.0.1-1
- New upstream version 4.0.1.
- ocaml-4.02.1 rebuild.
- Disable SSL (removed from upstream, apparently?)
- Remove POP and SMTP (removed from upstream?)
- Add netunidata.
- Remove patches which are no longer needed / upstream.
* Mon Nov 03 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-10
- Bump and rebuild.
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-9
- ocaml-4.02.0 final rebuild.
- Fix for int(32|64) -> int(32|64)_t in latest OCaml upstream.
* Sun Aug 24 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-7
- Fix for broken configure tests.
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-6
- Bump release and rebuild.
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-5
- ocaml-4.02.0+rc1 rebuild.
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 01 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-3
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
* Wed Jul 23 2014 Richard W.M. Jones <rjones@redhat.com> - 3.7.4-2
- New upstream version 3.7.4.
- OCaml 4.02.0 beta rebuild.
- Some spec file modernization.
- Add BR tcl-devel.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Oct 02 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-4
- Rebuild for ocaml-lablgtk 2.18.
* Thu Sep 19 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-3
- Unfortunately we have to re-add the anti-stripping code back. See
comment at top of spec file.
- Disable debuginfo for the same reason.
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 3.7.3-1
- New upstream version 3.7.3.
- Rebuild for OCaml 4.01.0.
- Enable debuginfo.
- Do not strip binaries, remove anti-prelink protection.
- Missing BR ncurses-devel.
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Dec 14 2012 Richard W.M. Jones <rjones@redhat.com> - 3.5.1-4
- Rebuild for OCaml 4.00.1.
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 3.5.1-3
- Rebuild for OCaml 4.00.0 official.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jun 09 2012 Richard W.M. Jones <rjones@redhat.com> - 3.5.1-1
- New upstream version 3.5.1.
- Rebuild for OCaml 4.00.0, plus small patch.
- Move configure into build (not prep).
* Sat Apr 28 2012 Richard W.M. Jones <rjones@redhat.com> - 3.4.1-3
- Bump and rebuild against new OCaml compiler in ARM.
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 3.4.1-2
- Rebuild against PCRE 8.30
* Fri Jan 6 2012 Richard W.M. Jones <rjones@redhat.com> - 3.4.1-1
- New upstream version 3.4.1.
- Rebuild for OCaml 3.12.1.
* Mon Sep 19 2011 Richard W.M. Jones <rjones@redhat.com> - 3.4-1
- Move to new upstream 3.4 version. Note this is not compatible with
ocamlnet 2.x.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.9-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Feb 6 2011 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-23
- Rebuild against rpm-4.9.0-0.beta1.6.fc15. See discussion:
http://lists.fedoraproject.org/pipermail/devel/2011-February/148398.html
* Sat Feb 5 2011 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-22
- Bump and rebuild because of broken deps on ocaml-lablgtk.
* Wed Jan 05 2011 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-21
- Rebuild for OCaml 3.12 (http://fedoraproject.org/wiki/Features/OCaml3.12).
- Missing BR ocaml-labltk-devel.
* Tue Jan 5 2010 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-19
- {gtk2,openssl,pcre,tcl}-devel BRs have now been pushed down to the
corresponding ocaml-X-devel packages, so we don't need those here
any more.
* Tue Jan 5 2010 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-18
- Use new dependency generator in upstream RPM 4.8.
- Add BR gtk2-devel.
* Wed Dec 30 2009 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-16
- Rebuild for OCaml 3.11.2.
* Tue Sep 29 2009 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-15
- Force rebuild against newer lablgtk.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.9-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-13
- Rebuild for OCaml 3.11.1
* Thu Apr 16 2009 S390x secondary arch maintainer <fedora-s390x@lists.fedoraproject.org>
- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
(added sparc64 per request from the sparc maintainer)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.9-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Feb 7 2009 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-11
- Rebuild against updated lablgtk.
* Wed Jan 21 2009 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-10
- Fix prelink configuration file.
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-9
- Rebuild for OCaml 3.11.0+rc1.
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-8
- Rebuild for OCaml 3.11.0
* Tue Sep 2 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-7
- Prevent RPM & prelink from stripping bytecode.
* Wed Apr 23 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-6
- Rebuild for OCaml 3.10.2
* Mon Apr 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-5
- New upstream URL.
* Mon Mar 3 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-4
- Do not strip binaries (bz 435559).
* Sat Mar 1 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-3
- Rebuild for ppc64.
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-2
- Rebuild for OCaml 3.10.1.
* Wed Nov 7 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.9-1
- New upstream release 2.2.9.
- A more bletcherous, but more working, patch to fix the camlp4
missing path bug. Hopefully this is very temporary.
- Fixes for mock build under F8:
+ BR tcl-devel
* Thu Sep 13 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.8.1-1
- New upstream version 2.2.8.1.
- License of the base package is in fact BSD. Clarified also that
the license of nethttpd is GPLv2+.
- Removed the camlp4 paths patch as it doesn't seem to be necessary.
- Add BRs for camlp4, ocaml-pcre-devel, ocaml-lablgtk-devel,
openssl-devel
- Removed explicit requires, they're not needed.
- Strip binaries and libraries.
- Ignore Parsetree module in deps.
* Thu Aug 2 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-6
- ExcludeArch ppc64
- BR ocaml-pcre-devel
- Fix for camlp4 missing path
* Mon Jun 11 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-5
- Updated to latest packaging guidelines.
* Tue May 29 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-4
- Added support for ocaml-lablgtk2
* Tue May 29 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-3
- Remove empty file rpc-generator/dummy.mli.
* Sat May 26 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-2
- Added support for SSL.
* Sat May 26 2007 Richard W.M. Jones <rjones@redhat.com> - 2.2.7-1
- Initial RPM.

View File

@ -0,0 +1 @@
SHA512 (ocamlnet-4.1.8.tar.gz) = e238235968b9546c60568a38e68e354378d30e7137973332dcb10da21fa775ab7b367889fc51f5bd7cb00e51582834cafe2a0c4706b0bc77a44d4571a6f22815