10 |
%bcond_with java |
%bcond_with java |
11 |
|
|
12 |
Name: ice |
Name: ice |
13 |
Version: 3.5.1 |
Version: 3.7.3 |
14 |
Release: %mkrel 21 |
Release: %mkrel 1 |
15 |
Summary: The Ice base runtime and services |
Summary: The Ice base runtime and services |
16 |
|
|
17 |
Group: Networking/WWW |
Group: Networking/WWW |
18 |
License: GPLv2 with exceptions |
License: GPLv2 with exceptions |
19 |
URL: http://www.zeroc.com/ |
URL: http://www.zeroc.com/ |
20 |
Source0: http://zeroc.com/download/Ice/3.5/Ice-%{version}.tar.gz |
Source0: https://github.com/zeroc-ice/ice/archive/v%{version}.tar.gz |
21 |
Source3: IceGridAdmin.desktop |
Source3: IceGridAdmin.desktop |
22 |
Source4: Ice-README.Mageia |
Source4: Ice-README.Mageia |
23 |
Source5: glacier2router.conf |
Source5: glacier2router.conf |
28 |
Source10: icegridregistry.service |
Source10: icegridregistry.service |
29 |
Source11: ice.ini |
Source11: ice.ini |
30 |
Source12: ice.pth |
Source12: ice.pth |
31 |
# don't build demo/test |
|
32 |
# TODO: should we keep it or not ? |
Patch0: ice-3.7.3-python-undefined.patch |
33 |
# significantly reduce compile time but shipping demos could be useful |
Patch1: ice-3.7.3-ruby27-1.patch |
34 |
Patch1: ice-3.5.1-dont-build-demo-test.patch |
Patch2: ice-3.7.3-ruby27-2.patch |
|
# arm /aarch64 |
|
|
Patch3: ice-3.5.1-archs.patch |
|
|
# libdb4 |
|
|
Patch4: ice-3.5.0-libdb4.patch |
|
|
|
|
|
# Add relevant upstream patches |
|
|
# http://www.zeroc.com/forums/patches/6285-patch-5-ice-3-5-1-fix-icegrid-registry-issue-shared-replica-groups.html |
|
|
Patch5: patch-3.5.1-5.txt |
|
|
# http://www.zeroc.com/forums/patches/6183-patch-3-ice-3-5-1-marshaling-bug-nested-optionals.html |
|
|
Patch6: patch-3.5.1-3.txt |
|
|
|
|
|
# Debian patch for building with Java 8 |
|
|
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745100 |
|
|
Patch7: java8-compatibility.patch |
|
|
# Will no longer be needed in 3.6.x |
|
|
Patch8: ice-3.5.1-ruby22.patch |
|
35 |
|
|
36 |
# Ice doesn't officially support ppc64 at all |
# Ice doesn't officially support ppc64 at all |
37 |
# sparc64 doesnt have mono |
# sparc64 doesnt have mono |
205 |
%endif |
%endif |
206 |
|
|
207 |
%prep |
%prep |
208 |
%setup -q -n Ice-%{version} |
%setup -q |
209 |
%patch1 -p1 -b .demo |
%autopatch -p1 |
|
%patch3 -p1 -b .arch |
|
|
%patch4 -p1 -b .libdb4 |
|
|
%patch5 -p1 -b .icegrid-registry |
|
|
%patch6 -p1 -b .marshalling-optionals |
|
|
%patch7 -p1 -b .java8 |
|
|
%patch8 -p1 -b .ruby22 |
|
210 |
|
|
211 |
%if %{without mono} |
%if %{without mono} |
212 |
sed -i -e 's|\(SUBDIRS.*=.*\)cs\s*|\1|g' Makefile |
sed -i -e 's|\(SUBDIRS.*=.*\)cs\s*|\1|g' Makefile |
230 |
%endif |
%endif |
231 |
|
|
232 |
# Compile the main Ice runtime |
# Compile the main Ice runtime |
233 |
%make_build CXXFLAGS="%{optflags} -fPIC -fpermissive -pthread" CFLAGS="%{optflags} -fPIC -fpermissive -pthread" embedded_runpath_prefix="" libsubdir=%{_lib} DB_FLAGS="-I/usr/include/db4" |
%make_build CXXFLAGS="%{optflags} -fPIC -fpermissive -pthread" CFLAGS="%{optflags} -fPIC -fpermissive -pthread" embedded_runpath_prefix="" libsubdir=%{_lib} DB_FLAGS="-I/usr/include/db4" LANGUAGES="cpp ruby" |
234 |
|
|
235 |
|
%make_build CXXFLAGS="%{optflags} -fPIC -fpermissive -pthread" CFLAGS="%{optflags} -fPIC -fpermissive -pthread" embedded_runpath_prefix="" libsubdir=%{_lib} DB_FLAGS="-I/usr/include/db4" LANGUAGES="python" LDFLAGS="$(echo %{build_ldflags} | sed -e s/-Wl,--as-needed// -e s/-Wl,--no-undefined//)" |
236 |
|
|
237 |
%if %{with java} |
%if %{with java} |
238 |
# Rebuild the Java ImportKey class |
# Rebuild the Java ImportKey class |