9397
|
1 |
|
|
2 |
# spec file for package ORBit2
|
|
3 |
#
|
11531
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner gheet
|
9397
|
9 |
#
|
16426
|
10 |
|
17851
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16426
|
12 |
|
9397
|
13 |
Name: ORBit2
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries
|
|
16 |
Provides: ORBit2
|
|
17 |
Summary: High-performance CORBA Object Request Broker
|
17793
|
18 |
Version: 2.14.18
|
13817
|
19 |
Release: 1
|
9397
|
20 |
Distribution: Java Desktop System
|
17851
|
21 |
Vendor: Gnome Community
|
9397
|
22 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-%{version}.tar.bz2
|
16088
|
23 |
# date:2009-07-22 owner:gheet type:branding doo:10086
|
|
24 |
Patch1: ORBit2-01-alignments.diff
|
18069
|
25 |
# date:2010-05-28 owner:wangke type:bug doo:15964
|
18046
|
26 |
Patch2: ORBit2-02-custom-g-main-context.diff
|
9400
|
27 |
Source1: orbitrc
|
9397
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
URL: http://www.gnome.org/projects/ORBit2
|
|
30 |
DocDir: %{_defaultdocdir}/doc
|
|
31 |
Autoreqprov: on
|
|
32 |
Prereq: /sbin/ldconfig
|
|
33 |
|
|
34 |
%define libIDL_version 0.8.2
|
|
35 |
%define popt_version 1.6.4
|
|
36 |
%define gtk_doc_version 1.1
|
|
37 |
%define linc_version 1.1.1
|
|
38 |
|
|
39 |
Requires: libIDL >= %{libIDL_version}
|
|
40 |
Requires: popt >= %{popt_version}
|
|
41 |
BuildRequires: libIDL-devel >= %{libIDL_version}
|
|
42 |
BuildRequires: popt-devel >= %{popt_version}
|
|
43 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
44 |
|
|
45 |
Obsoletes: linc < %{linc_version}
|
|
46 |
Provides: linc = %{linc_version}
|
|
47 |
Obsoletes: linc-devel < %{linc_version}
|
|
48 |
Provides: linc-devel = %{linc_version}
|
|
49 |
|
|
50 |
%description
|
|
51 |
ORBit is a high-performance CORBA (Common Object Request Broker
|
|
52 |
Architecture) ORB (object request broker). It allows programs to
|
|
53 |
send requests and receive replies from other programs, regardless
|
|
54 |
of the locations of the two programs. CORBA is an architecture that
|
|
55 |
enables communication between program objects, regardless of the
|
|
56 |
programming language they're written in or the operating system they
|
|
57 |
run on.
|
|
58 |
|
|
59 |
%package devel
|
|
60 |
Summary: High-performance CORBA Object Request Broker
|
|
61 |
Group: Development/Libraries
|
|
62 |
Provides: ORBit2-devel
|
|
63 |
Autoreqprov: on
|
|
64 |
Requires: %name = %version
|
|
65 |
Requires: libIDL-devel >= %{libIDL_version}
|
|
66 |
|
|
67 |
%description devel
|
|
68 |
ORBit is a high-performance CORBA (Common Object Request Broker
|
|
69 |
Architecture) ORB (object request broker). It allows programs to
|
|
70 |
send requests and receive replies from other programs, regardless
|
|
71 |
of the locations of the two programs. CORBA is an architecture that
|
|
72 |
enables communication between program objects, regardless of the
|
|
73 |
programming language they're written in or the operating system they
|
|
74 |
run on.
|
|
75 |
|
|
76 |
%prep
|
|
77 |
%setup -q
|
10572
|
78 |
ln -s `pwd`/src/services/name `pwd`/include/ORBitservices
|
9397
|
79 |
|
16088
|
80 |
%patch1 -p1
|
18046
|
81 |
%patch2 -p1
|
16088
|
82 |
|
9397
|
83 |
%build
|
|
84 |
%ifos linux
|
|
85 |
if [ -x /usr/bin/getconf ]; then
|
|
86 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
87 |
fi
|
|
88 |
%else
|
|
89 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
90 |
%endif
|
|
91 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
92 |
CPUS=1
|
|
93 |
fi
|
|
94 |
|
|
95 |
libtoolize --copy --force
|
|
96 |
gtkdocize
|
|
97 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal
|
|
98 |
automake -a -c -f
|
|
99 |
autoconf
|
10572
|
100 |
export CFLAGS="%optflags"
|
|
101 |
export LDFLAGS="%_ldflags"
|
|
102 |
./configure --prefix=%{_prefix} \
|
|
103 |
--mandir=%{_mandir} \
|
|
104 |
--datadir=%{_datadir} \
|
|
105 |
--libdir=%{_libdir} \
|
|
106 |
--bindir=%{_bindir} \
|
9397
|
107 |
--sysconfdir=%{_sysconfdir} \
|
|
108 |
%{gtk_doc_option}
|
|
109 |
|
|
110 |
make -j $CPUS
|
|
111 |
|
|
112 |
%install
|
|
113 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
114 |
install -d $RPM_BUILD_ROOT%{_sysconfdir}
|
9400
|
115 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/orbitrc
|
9397
|
116 |
AFILES=" libORBit-2 libORBit-imodule-2 libORBitCosNaming-2 orbit-2.0/Everything_module"
|
|
117 |
pushd $RPM_BUILD_ROOT%{_libdir}
|
|
118 |
for i in $AFILES; do
|
|
119 |
rm $i.a
|
|
120 |
rm $i.la
|
|
121 |
done
|
|
122 |
popd
|
|
123 |
|
|
124 |
|
|
125 |
%clean
|
|
126 |
rm -rf $RPM_BUILD_ROOT
|
|
127 |
|
|
128 |
%post
|
|
129 |
/sbin/ldconfig
|
|
130 |
|
|
131 |
%postun
|
|
132 |
/sbin/ldconfig
|
|
133 |
|
|
134 |
%files
|
|
135 |
%defattr(-, root, root)
|
|
136 |
%{_libdir}/libORBit*.so.*
|
|
137 |
%{_libdir}/orbit-2.0/Every*so*
|
|
138 |
%{_bindir}/ior-decode-2
|
|
139 |
%{_bindir}/typelib-dump
|
|
140 |
%{_bindir}/linc-cleanup-sockets
|
|
141 |
%{_sysconfdir}/orbitrc
|
|
142 |
|
|
143 |
%files devel
|
|
144 |
%defattr(-, root, root)
|
|
145 |
%{_includedir}/orbit-2.0
|
|
146 |
%{_bindir}/orbit-idl-2
|
|
147 |
%{_bindir}/orbit2-config
|
|
148 |
%{_libdir}/libname-server-2.a
|
|
149 |
%{_libdir}/libORBit*.so
|
|
150 |
%{_libdir}/pkgconfig/*.pc
|
|
151 |
%{_datadir}/idl/orbit-2.0/*.idl
|
|
152 |
%{_datadir}/aclocal/*.m4
|
|
153 |
%{_datadir}/gtk-doc/html/ORBit2
|
|
154 |
%{_mandir}/man1/*
|
|
155 |
%{_mandir}/man3/*
|
|
156 |
|
|
157 |
%changelog
|
18046
|
158 |
* Fri May 28 2010 - [email protected]
|
|
159 |
- Add ORBit2-02-custom-g-main-context.diff to fix doo 15964.
|
17793
|
160 |
* Sat Apr 3 2010 - [email protected]
|
|
161 |
- Bump to 2.14.18.
|
15392
|
162 |
* Fri Mar 13 2009 - [email protected]
|
|
163 |
- Bump to 2.14.17
|
13817
|
164 |
* Mon Sep 29 2008 - [email protected]
|
|
165 |
- Bump to 2.14.16.
|
13710
|
166 |
* Sun Sep 21 2008 - [email protected]
|
|
167 |
- Bump to 2.14.15.
|
13209
|
168 |
* Thu Aug 21 2008 - [email protected]
|
|
169 |
- Bump to 2.14.14
|
12571
|
170 |
* Tue Jun 03 2008 - [email protected]
|
|
171 |
- Bump to 2.14.13. Remove upstream patch, 01-linc-localhost.
|
12116
|
172 |
* Tue Apr 15 2008 - [email protected]
|
|
173 |
- Add patch -01-linc-localhost.diff
|
|
174 |
Fix bug #527128
|
11553
|
175 |
* Tue Jan 29 2008 - [email protected]
|
|
176 |
- Bump to 2.14.12.
|
11531
|
177 |
* Fri Jan 25 2008 - [email protected]
|
|
178 |
- Bump to 2.14.11.
|
10674
|
179 |
* Fri Oct 19 2007 - [email protected]
|
|
180 |
- Bump to 2.14.10.
|
10572
|
181 |
* Fri Sep 28 2007 - [email protected]
|
|
182 |
- convert to new style multi-ISA build
|
10507
|
183 |
* Tue Sep 18 2007 - [email protected]
|
|
184 |
- Bump to 2.14.9.
|
10227
|
185 |
* Fri Jul 27 2007 - [email protected]
|
|
186 |
- Bump to 2.14.8. Remove upstream patch, 01-secureports.
|
9666
|
187 |
* Wed Apr 04 2007 - [email protected]
|
|
188 |
- Add patch ORBit2-01-secureports.diff so that ports are opened more
|
|
189 |
securely. This makes sure to bind the socket when using IPv4 and
|
|
190 |
IPv6 since this is needed for Secure-By-Default requirements to be
|
|
191 |
met. Without this when you run "netstat -a" you see that all the
|
|
192 |
GNOME sockets are listening wide open on the internet even when
|
|
193 |
ORBLocalOnly=1 in /etc/orbitrc. After this change, you see that
|
|
194 |
the ports are listed properly with "localhost.####" in the "Local
|
|
195 |
Address" column. This indicates Secure By Default is working.
|
9565
|
196 |
* Wed Mar 15 2007 - [email protected]
|
|
197 |
- Removed adding ccdir to PATH
|
9457
|
198 |
* Tue Mar 06 2005 - [email protected]
|
|
199 |
- Bump to 2.14.7.
|
9397
|
200 |
* Tue Feb 13 2007 - [email protected]
|
|
201 |
- Bump to 2.14.6. Remove upstream patch, 01-uninstalled_pc.
|
|
202 |
* Mon Jan 22 2007 - [email protected]
|
|
203 |
- Bump to 2.14.5.
|
|
204 |
* Mon Dec 18 2006 - [email protected]
|
|
205 |
- Bump to 2.14.4. Remove upstream patch, ORBit-02-fixhypen.diff.
|
|
206 |
* Fri Dec 08 2006 - [email protected]
|
|
207 |
- Bump to 2.14.3. Remove upstream patches, 03-gcc-Werror and 04-localonly.
|
|
208 |
Renumber remainder.
|
|
209 |
* Fri Nov 3 2006 - [email protected]
|
|
210 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
211 |
--without-gtk-doc
|
|
212 |
* Wed Sep 20 2006 - [email protected]
|
|
213 |
- Add patch ORBit-06-fixhyphen.diff to resolve escalation #1-19359745
|
|
214 |
and bug 6466464. GNOME Bugzilla bug #152659.
|
|
215 |
* Fri Sep 15 2006 - [email protected]
|
|
216 |
- Remove patch ORBit-03-dhcp-hostname.diff after reviewing with the
|
|
217 |
maintainer, Michael Meeks, andt he patch writer Arvind
|
|
218 |
Samptur we all agreed that this is the wrong approach to fix any
|
|
219 |
issues with ORBit haveing problems with the hostname changing due to
|
|
220 |
DHCP reallocation.
|
|
221 |
* Tue Aug 1 2006 - [email protected]
|
|
222 |
- Add patch 5 so LocalOnly mode works on Solaris. This patch causes
|
|
223 |
the linc library to not use getaddrinfo() and getaddrname(), which
|
|
224 |
do not seem to work on Solaris. The fallback code that uses
|
|
225 |
gethostbyname() and gethostbyaddr() seem to work better. Might be
|
|
226 |
good to fix the getaddrinfo(), getaddrname() code to work on
|
|
227 |
Solaris, though not sure if this is really necessary.
|
|
228 |
* Mon Jul 24 2006 - [email protected]
|
|
229 |
- Bump to 2.14.2.
|
|
230 |
* Tue Jun 2 2006 - [email protected]
|
|
231 |
- Add patch, ORBIT-05-signal-broadcast.diff.
|
|
232 |
* Tue Mar 14 2006 - [email protected]
|
|
233 |
- Bump to 2.14.0.
|
|
234 |
* Thu Feb 9 2006 - [email protected]
|
|
235 |
- Remove upstream patch, ORBit-05-illegal_cast.diff.
|
|
236 |
* Wed Feb 8 2006 - [email protected]
|
|
237 |
- Bump to 2.13.3.
|
|
238 |
* Wed Dec 21 2005 - [email protected]
|
|
239 |
- Add patch, 05-illegal_cast.diff, to remove unnecessary cast that breaks the
|
|
240 |
build. Bugzilla #324686.
|
|
241 |
* Tue Dec 20 2005 - [email protected]
|
|
242 |
- Bump to 2.13.2. Remove upstream patch, 04-ipv4-port-hosed.
|
|
243 |
- Add ORBit-04-gcc-Werror.diff so gcc option is only set when using gcc.
|
|
244 |
* Thu Oct 06 2005 - [email protected]
|
|
245 |
- Add gtkdocize call to 64 bit section.
|
|
246 |
* Wed Sep 29 2005 - [email protected]
|
|
247 |
- Add gtkdocize call for automake.
|
|
248 |
* Tue Sep 27 2005 - [email protected]
|
|
249 |
- Bump to 2.12.4.
|
|
250 |
* Sun Sep 18 2005 - [email protected]
|
|
251 |
- Remove some patches.
|
|
252 |
* Wed Aug 17 2005 - [email protected]
|
|
253 |
- Bump to 2.12.3.
|
|
254 |
* Wed Jun 15 2005 - [email protected]
|
|
255 |
- Add patch new-pkgconfig.diff taken from GNOME CVS to make ORBit2 build
|
|
256 |
with pkg-config > 0.15.0
|
|
257 |
* Fri May 06 2005 - [email protected]
|
|
258 |
- Bump to 2.12.2
|
|
259 |
* Tue Apr 19 2005 - [email protected]
|
|
260 |
- fix login failure when ipv4 port in the IOR
|
|
261 |
is taken to be valid on login after reboot
|
|
262 |
Fixes #6238754
|
|
263 |
* Fri Mar 11 2005 - [email protected]
|
|
264 |
- fix a bogus linc_protocol_destroy assertion
|
|
265 |
coming up at install time
|
|
266 |
* Wed Mar 02 2005 - [email protected]
|
|
267 |
- another attempt to fix dhcp bug safely.
|
|
268 |
* Tue Feb 15 2005 - [email protected]
|
|
269 |
- Add patch to fix dhcp hostname change blocking
|
|
270 |
the login
|
|
271 |
* Tue Dec 21 2004 - [email protected]
|
|
272 |
- Obsoletes linc for upgrade purposes. Fix bug 6211773.
|
|
273 |
* Fri Oct 29 2004 - [email protected]
|
|
274 |
- use $CC64 for the 64-bit build if defined
|
|
275 |
* Sat Oct 2 2004 - [email protected]
|
|
276 |
- Create 64bit libraries for Solaris
|
|
277 |
* Wed Aug 18 2004 - [email protected]
|
|
278 |
- added --enable-gtk-doc.
|
|
279 |
* Thu Jul 08 2004 - [email protected]
|
|
280 |
- ported to rpm4
|
|
281 |
* Wed Jul 07 2004 - [email protected]
|
|
282 |
- added "-j $CPUS" to make to speed up builds
|
|
283 |
* Fri Jun 11 2004 - <[email protected]>
|
|
284 |
- Put back /etc/orbitrc which is required by A11y login. Bug 5059822.
|
|
285 |
* Tue Jun 08 2004 - <[email protected]>
|
|
286 |
- removed /etc/orbitrc at the moment as this is a feature for Cinnabar not
|
|
287 |
metro.
|
|
288 |
* Mon Feb 23 2004 - <[email protected]>
|
|
289 |
- Bump to 2.9.8
|
|
290 |
* Wed Feb 11 2004 - <[email protected]>
|
|
291 |
- Bump to 2.9.7, gtk-doc.make hack patch 03
|
|
292 |
* Mon Dec 15 2003 - <[email protected]>
|
|
293 |
- Bump to 2.9.2
|
|
294 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-2
|
|
295 |
- Require gtk-doc.
|
|
296 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-1
|
|
297 |
- Update to 2.8.1.
|
|
298 |
* Thu Aug 14 2003 - <[email protected]>
|
|
299 |
- add patch to disable static linking of test programs
|
|
300 |
- remove lib*.a and .la, except libname-server-2.a which is
|
|
301 |
apparently needed by bonobo-activation
|
|
302 |
- move *.so to -devel
|
|
303 |
* Fri Aug 01 2003 - <[email protected]> 2.6.3-1
|
|
304 |
- Upgrade to 2.6.3.
|
|
305 |
* Wed Apr 30 2003 - <[email protected]>
|
|
306 |
- Create new spec file for ORBit2
|