author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8529 | ace8e9b8a2b7 |
child 8709 | b1d6def4fe33 |
child 19052 | 95a83f0fb372 |
permissions | -rw-r--r-- |
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
1 |
|
5518 | 2 |
# spec file for package ORBit2 |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8529 | 8 |
# Owner:gheet |
9 |
# |
|
16 | 10 |
Name: ORBit2 |
11 |
License: LGPL |
|
12 |
Group: System/Libraries |
|
13 |
Provides: ORBit2 |
|
14 |
Summary: High-performance CORBA Object Request Broker |
|
7743 | 15 |
Version: 2.14.2 |
5912 | 16 |
Release: 3 |
5518 | 17 |
Distribution: Java Desktop System |
575 | 18 |
Vendor: Sun Microsystems, Inc. |
6941 | 19 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-%{version}.tar.bz2 |
1432 | 20 |
Source1: orbit-idl-2.1.gz |
21 |
Source2: orbit2-config.1.gz |
|
22 |
Source3: libORBit-2.3.gz |
|
23 |
Source4: libORBitCosNaming-2.3.gz |
|
3131 | 24 |
Source5: orbitrc |
1622 | 25 |
Patch1: ORBit-01-no-static.diff |
26 |
Patch2: ORBit-02-uninstalled_pc.diff |
|
8152 | 27 |
Patch3: ORBit-03-gcc-Werror.diff |
28 |
Patch4: ORBit-04-localonly.diff |
|
8173 | 29 |
Patch5: ORBit-05-fixhypen.diff |
16 | 30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
1197 | 31 |
URL: http://www.gnome.org/projects/ORBit2 |
152 | 32 |
DocDir: %{_defaultdocdir}/doc |
33 |
Autoreqprov: on |
|
1080 | 34 |
Prereq: /sbin/ldconfig |
152 | 35 |
|
1197 | 36 |
%define libIDL_version 0.8.2 |
187 | 37 |
%define popt_version 1.6.4 |
1198 | 38 |
%define gtk_doc_version 1.1 |
4788 | 39 |
%define linc_version 1.1.1 |
179 | 40 |
|
187 | 41 |
Requires: libIDL >= %{libIDL_version} |
42 |
Requires: popt >= %{popt_version} |
|
179 | 43 |
BuildRequires: libIDL-devel >= %{libIDL_version} |
187 | 44 |
BuildRequires: popt-devel >= %{popt_version} |
1198 | 45 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
16 | 46 |
|
4788 | 47 |
Obsoletes: linc < %{linc_version} |
48 |
Provides: linc = %{linc_version} |
|
49 |
Obsoletes: linc-devel < %{linc_version} |
|
50 |
Provides: linc-devel = %{linc_version} |
|
51 |
||
16 | 52 |
%description |
53 |
ORBit is a high-performance CORBA (Common Object Request Broker |
|
54 |
Architecture) ORB (object request broker). It allows programs to |
|
55 |
send requests and receive replies from other programs, regardless |
|
56 |
of the locations of the two programs. CORBA is an architecture that |
|
57 |
enables communication between program objects, regardless of the |
|
58 |
programming language they're written in or the operating system they |
|
59 |
run on. |
|
60 |
||
61 |
%package devel |
|
62 |
Summary: High-performance CORBA Object Request Broker |
|
152 | 63 |
Group: Development/Libraries |
16 | 64 |
Provides: ORBit2-devel |
65 |
Autoreqprov: on |
|
66 |
Requires: %name = %version |
|
1197 | 67 |
Requires: libIDL-devel >= %{libIDL_version} |
16 | 68 |
|
69 |
%description devel |
|
70 |
ORBit is a high-performance CORBA (Common Object Request Broker |
|
71 |
Architecture) ORB (object request broker). It allows programs to |
|
72 |
send requests and receive replies from other programs, regardless |
|
73 |
of the locations of the two programs. CORBA is an architecture that |
|
74 |
enables communication between program objects, regardless of the |
|
75 |
programming language they're written in or the operating system they |
|
76 |
run on. |
|
77 |
||
78 |
%prep |
|
5626 | 79 |
%setup -q |
1551 | 80 |
%patch1 -p1 |
1622 | 81 |
%patch2 -p1 |
82 |
%patch3 -p1 |
|
6429 | 83 |
%patch4 -p1 |
8173 | 84 |
%patch5 -p1 |
16 | 85 |
|
4121 | 86 |
%ifos solaris |
4271 | 87 |
%ifarch amd64 sparcv9 |
4121 | 88 |
cd .. |
89 |
cp -rp ORBit2-%{version} ORBit2-%{version}-64 |
|
6613 | 90 |
cd ORBit2-%{version} |
4121 | 91 |
%endif |
4127 | 92 |
%endif |
4121 | 93 |
|
16 | 94 |
%build |
3263 | 95 |
%ifos linux |
96 |
if [ -x /usr/bin/getconf ]; then |
|
97 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
98 |
fi |
|
99 |
%else |
|
3846 | 100 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 101 |
%endif |
102 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
103 |
CPUS=1 |
|
104 |
fi |
|
105 |
||
4121 | 106 |
CONFLAGS="--prefix=%{_prefix}" |
107 |
||
108 |
%ifos solaris |
|
4271 | 109 |
%ifarch amd64 sparcv9 |
4121 | 110 |
CPUS=$(($CPUS*4)) |
111 |
||
112 |
cd ../ORBit2-%version-64 |
|
113 |
||
114 |
export CFLAGS="$CFLAGS64" |
|
115 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" |
|
4365 | 116 |
export CC=${CC64:-$CC} |
117 |
save_PATH="$PATH" |
|
118 |
ccdir=`dirname $CC` |
|
119 |
export PATH=$ccdir:$PATH |
|
4121 | 120 |
|
121 |
libtoolize --copy --force |
|
6070
e086b0dbdb62
* ORBit2.spec: Add gtkdocize call to 64 bit section.
dc144907
parents:
6034
diff
changeset
|
122 |
gtkdocize |
5518 | 123 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal |
124 |
automake -a -c -f |
|
4121 | 125 |
autoconf |
126 |
||
127 |
./configure $CONFLAGS \ |
|
128 |
--bindir=%{_bindir}/%{_arch64} \ |
|
129 |
--libdir=%{_libdir}/%{_arch64} \ |
|
130 |
--libexecdir=%{_libexecdir}/%{_arch64} \ |
|
131 |
--sysconfdir=%{_sysconfdir}/%{_arch64} \ |
|
132 |
--disable-gtk-doc |
|
133 |
||
134 |
make -j $CPUS |
|
135 |
||
136 |
cd ../ORBit2-%version |
|
137 |
||
138 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" |
|
4365 | 139 |
export CFLAGS="$CFLAGS32" |
140 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
141 |
export CC=${CC32:-$CC} |
|
142 |
export PATH="$save_PATH" |
|
4121 | 143 |
|
144 |
%endif |
|
4127 | 145 |
%endif |
4121 | 146 |
|
147 |
||
1551 | 148 |
libtoolize --copy --force |
6034 | 149 |
gtkdocize |
5518 | 150 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal |
151 |
automake -a -c -f |
|
1551 | 152 |
autoconf |
152 | 153 |
CFLAGS="$RPM_OPT_FLAGS" \ |
4121 | 154 |
./configure $CONFLAGS \ |
155 |
--sysconfdir=%{_sysconfdir} \ |
|
8501 | 156 |
%{gtk_doc_option} |
157 |
||
3263 | 158 |
make -j $CPUS |
16 | 159 |
|
160 |
%install |
|
4121 | 161 |
|
162 |
%ifos solaris |
|
4271 | 163 |
%ifarch amd64 sparcv9 |
4121 | 164 |
cd ../ORBit2-%version-64 |
165 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
6215 | 166 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/orbit2-config |
4121 | 167 |
cd ../ORBit2-%version |
168 |
%endif |
|
4127 | 169 |
%endif |
4121 | 170 |
|
16 | 171 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 172 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
173 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
2707 | 174 |
install -d $RPM_BUILD_ROOT%{_sysconfdir} |
1522 | 175 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
176 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
177 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
178 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
3131 | 179 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_sysconfdir}/orbitrc |
3628 | 180 |
AFILES=" libORBit-2 libORBit-imodule-2 libORBitCosNaming-2 orbit-2.0/Everything_module" |
181 |
pushd $RPM_BUILD_ROOT%{_libdir} |
|
182 |
for i in $AFILES; do |
|
183 |
rm $i.a |
|
184 |
rm $i.la |
|
185 |
done |
|
186 |
popd |
|
187 |
||
16 | 188 |
|
189 |
%clean |
|
190 |
rm -rf $RPM_BUILD_ROOT |
|
191 |
||
152 | 192 |
%post |
193 |
/sbin/ldconfig |
|
194 |
||
195 |
%postun |
|
196 |
/sbin/ldconfig |
|
197 |
||
16 | 198 |
%files |
199 |
%defattr(-, root, root) |
|
1058 | 200 |
%{_libdir}/libORBit*.so.* |
179 | 201 |
%{_libdir}/orbit-2.0/Every*so* |
202 |
%{_bindir}/ior-decode-2 |
|
203 |
%{_bindir}/typelib-dump |
|
1197 | 204 |
%{_bindir}/linc-cleanup-sockets |
3131 | 205 |
%{_sysconfdir}/orbitrc |
16 | 206 |
|
207 |
%files devel |
|
208 |
%defattr(-, root, root) |
|
179 | 209 |
%{_includedir}/orbit-2.0 |
210 |
%{_bindir}/orbit-idl-2 |
|
211 |
%{_bindir}/orbit2-config |
|
1058 | 212 |
%{_libdir}/libname-server-2.a |
213 |
%{_libdir}/libORBit*.so |
|
179 | 214 |
%{_libdir}/pkgconfig/*.pc |
3628 | 215 |
%{_datadir}/idl/orbit-2.0/*.idl |
179 | 216 |
%{_datadir}/aclocal/*.m4 |
1197 | 217 |
%{_datadir}/gtk-doc/html/ORBit2 |
1432 | 218 |
%{_mandir}/man1/* |
219 |
%{_mandir}/man3/* |
|
16 | 220 |
|
221 |
%changelog |
|
8501 | 222 |
* Fri Nov 3 2006 - [email protected] |
223 |
- use %gtk_doc_option in configure so that it can be disabled using |
|
224 |
--without-gtk-doc |
|
8173 | 225 |
* Wed Sep 20 2006 - [email protected] |
226 |
- Add patch ORBit-06-fixhyphen.diff to resolve escalation #1-19359745 |
|
227 |
and bug 6466464. GNOME Bugzilla bug #152659. |
|
8152 | 228 |
* Fri Sep 15 2006 - [email protected] |
229 |
- Remove patch ORBit-03-dhcp-hostname.diff after reviewing with the |
|
230 |
maintainer, Michael Meeks, andt he patch writer Arvind |
|
231 |
Samptur we all agreed that this is the wrong approach to fix any |
|
232 |
issues with ORBit haveing problems with the hostname changing due to |
|
233 |
DHCP reallocation. |
|
7847 | 234 |
* Tue Aug 1 2006 - [email protected] |
235 |
- Add patch 5 so LocalOnly mode works on Solaris. This patch causes |
|
236 |
the linc library to not use getaddrinfo() and getaddrname(), which |
|
237 |
do not seem to work on Solaris. The fallback code that uses |
|
238 |
gethostbyname() and gethostbyaddr() seem to work better. Might be |
|
239 |
good to fix the getaddrinfo(), getaddrname() code to work on |
|
240 |
Solaris, though not sure if this is really necessary. |
|
7743 | 241 |
* Mon Jul 24 2006 - [email protected] |
242 |
- Bump to 2.14.2. |
|
243 |
* Tue Jun 2 2006 - [email protected] |
|
7361 | 244 |
- Add patch, ORBIT-05-signal-broadcast.diff. |
6941 | 245 |
* Tue Mar 14 2006 - [email protected] |
246 |
- Bump to 2.14.0. |
|
6726 | 247 |
* Thu Feb 9 2006 - [email protected] |
248 |
- Remove upstream patch, ORBit-05-illegal_cast.diff. |
|
6725 | 249 |
* Wed Feb 8 2006 - [email protected] |
250 |
- Bump to 2.13.3. |
|
6443
7d58eda5e2cd
* ORBit2.spec: Add patch to remove unnecessary cast that breaks build.
dc144907
parents:
6429
diff
changeset
|
251 |
* Wed Dec 21 2005 - [email protected] |
7d58eda5e2cd
* ORBit2.spec: Add patch to remove unnecessary cast that breaks build.
dc144907
parents:
6429
diff
changeset
|
252 |
- Add patch, 05-illegal_cast.diff, to remove unnecessary cast that breaks the |
7d58eda5e2cd
* ORBit2.spec: Add patch to remove unnecessary cast that breaks build.
dc144907
parents:
6429
diff
changeset
|
253 |
build. Bugzilla #324686. |
6413 | 254 |
* Tue Dec 20 2005 - [email protected] |
6425
1508101ffefc
* ORBit2.spec: Remove upstream patch, 04-ipv4-port-hosed.
dc144907
parents:
6413
diff
changeset
|
255 |
- Bump to 2.13.2. Remove upstream patch, 04-ipv4-port-hosed. |
6429 | 256 |
- Add ORBit-04-gcc-Werror.diff so gcc option is only set when using gcc. |
6070
e086b0dbdb62
* ORBit2.spec: Add gtkdocize call to 64 bit section.
dc144907
parents:
6034
diff
changeset
|
257 |
* Thu Oct 06 2005 - [email protected] |
e086b0dbdb62
* ORBit2.spec: Add gtkdocize call to 64 bit section.
dc144907
parents:
6034
diff
changeset
|
258 |
- Add gtkdocize call to 64 bit section. |
6034 | 259 |
* Wed Sep 29 2005 - [email protected] |
260 |
- Add gtkdocize call for automake. |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5914
diff
changeset
|
261 |
* Tue Sep 27 2005 - [email protected] |
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5914
diff
changeset
|
262 |
- Bump to 2.12.4. |
5912 | 263 |
* Sun Sep 18 2005 - [email protected] |
5914
6573255d1f9a
s/FIXME/patch so that it doesn't turn up in a grep ;)
gman
parents:
5912
diff
changeset
|
264 |
- Remove some patches. |
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5528
diff
changeset
|
265 |
* Wed Aug 17 2005 - [email protected] |
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5528
diff
changeset
|
266 |
- Bump to 2.12.3. |
5518 | 267 |
* Wed Jun 15 2005 - [email protected] |
268 |
- Add patch new-pkgconfig.diff taken from GNOME CVS to make ORBit2 build |
|
269 |
with pkg-config > 0.15.0 |
|
270 |
* Fri May 06 2005 - [email protected] |
|
271 |
- Bump to 2.12.2 |
|
5348 | 272 |
* Tue Apr 19 2005 - [email protected] |
273 |
- fix login failure when ipv4 port in the IOR |
|
274 |
is taken to be valid on login after reboot |
|
275 |
Fixes #6238754 |
|
5219 | 276 |
* Fri Mar 11 2005 - [email protected] |
277 |
- fix a bogus linc_protocol_destroy assertion |
|
278 |
coming up at install time |
|
5171 | 279 |
* Wed Mar 02 2005 - [email protected] |
280 |
- another attempt to fix dhcp bug safely. |
|
5091 | 281 |
* Tue Feb 15 2005 - [email protected] |
282 |
- Add patch to fix dhcp hostname change blocking |
|
283 |
the login |
|
4788 | 284 |
* Tue Dec 21 2004 - [email protected] |
285 |
- Obsoletes linc for upgrade purposes. Fix bug 6211773. |
|
4365 | 286 |
* Fri Oct 29 2004 - [email protected] |
287 |
- use $CC64 for the 64-bit build if defined |
|
4121 | 288 |
* Sat Oct 2 2004 - [email protected] |
289 |
- Create 64bit libraries for Solaris |
|
3692 | 290 |
* Wed Aug 18 2004 - [email protected] |
291 |
- added --enable-gtk-doc. |
|
3628 | 292 |
* Thu Jul 08 2004 - [email protected] |
293 |
- ported to rpm4 |
|
3263 | 294 |
* Wed Jul 07 2004 - [email protected] |
295 |
- added "-j $CPUS" to make to speed up builds |
|
3131 | 296 |
* Fri Jun 11 2004 - <[email protected]> |
297 |
- Put back /etc/orbitrc which is required by A11y login. Bug 5059822. |
|
3045 | 298 |
* Tue Jun 08 2004 - <[email protected]> |
299 |
- removed /etc/orbitrc at the moment as this is a feature for Cinnabar not |
|
300 |
metro. |
|
1864 | 301 |
* Mon Feb 23 2004 - <[email protected]> |
302 |
- Bump to 2.9.8 |
|
1622 | 303 |
* Wed Feb 11 2004 - <[email protected]> |
304 |
- Bump to 2.9.7, gtk-doc.make hack patch 03 |
|
1432 | 305 |
* Mon Dec 15 2003 - <[email protected]> |
306 |
- Bump to 2.9.2 |
|
1198 | 307 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-2 |
308 |
- Require gtk-doc. |
|
1197 | 309 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-1 |
310 |
- Update to 2.8.1. |
|
1058 | 311 |
* Thu Aug 14 2003 - <[email protected]> |
312 |
- add patch to disable static linking of test programs |
|
313 |
- remove lib*.a and .la, except libname-server-2.a which is |
|
314 |
apparently needed by bonobo-activation |
|
315 |
- move *.so to -devel |
|
909 | 316 |
* Fri Aug 01 2003 - <[email protected]> 2.6.3-1 |
317 |
- Upgrade to 2.6.3. |
|
318 |
* Wed Apr 30 2003 - <[email protected]> |
|
152 | 319 |
- Create new spec file for ORBit2 |