16
|
1 |
Name: ORBit2
|
|
2 |
License: LGPL
|
|
3 |
Group: System/Libraries
|
|
4 |
Provides: ORBit2
|
|
5 |
Summary: High-performance CORBA Object Request Broker
|
2554
|
6 |
Version: 2.10.1
|
4409
|
7 |
Release: 24
|
1622
|
8 |
Distribution: Cinnabar
|
575
|
9 |
Vendor: Sun Microsystems, Inc.
|
2554
|
10 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.10/ORBit2-%{version}.tar.bz2
|
1432
|
11 |
Source1: orbit-idl-2.1.gz
|
|
12 |
Source2: orbit2-config.1.gz
|
|
13 |
Source3: libORBit-2.3.gz
|
|
14 |
Source4: libORBitCosNaming-2.3.gz
|
3131
|
15 |
Source5: orbitrc
|
4455
|
16 |
Source6: l10n-configure.sh
|
1622
|
17 |
Patch1: ORBit-01-no-static.diff
|
|
18 |
Patch2: ORBit-02-uninstalled_pc.diff
|
|
19 |
Patch3: ORBit-03-gtk-doc-make.diff
|
16
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
1197
|
21 |
URL: http://www.gnome.org/projects/ORBit2
|
152
|
22 |
DocDir: %{_defaultdocdir}/doc
|
|
23 |
Autoreqprov: on
|
1080
|
24 |
Prereq: /sbin/ldconfig
|
152
|
25 |
|
1197
|
26 |
%define libIDL_version 0.8.2
|
187
|
27 |
%define popt_version 1.6.4
|
1198
|
28 |
%define gtk_doc_version 1.1
|
179
|
29 |
|
187
|
30 |
Requires: libIDL >= %{libIDL_version}
|
|
31 |
Requires: popt >= %{popt_version}
|
179
|
32 |
BuildRequires: libIDL-devel >= %{libIDL_version}
|
187
|
33 |
BuildRequires: popt-devel >= %{popt_version}
|
1198
|
34 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
16
|
35 |
|
|
36 |
%description
|
|
37 |
ORBit is a high-performance CORBA (Common Object Request Broker
|
|
38 |
Architecture) ORB (object request broker). It allows programs to
|
|
39 |
send requests and receive replies from other programs, regardless
|
|
40 |
of the locations of the two programs. CORBA is an architecture that
|
|
41 |
enables communication between program objects, regardless of the
|
|
42 |
programming language they're written in or the operating system they
|
|
43 |
run on.
|
|
44 |
|
|
45 |
%package devel
|
|
46 |
Summary: High-performance CORBA Object Request Broker
|
152
|
47 |
Group: Development/Libraries
|
16
|
48 |
Provides: ORBit2-devel
|
|
49 |
Autoreqprov: on
|
|
50 |
Requires: %name = %version
|
1197
|
51 |
Requires: libIDL-devel >= %{libIDL_version}
|
16
|
52 |
|
|
53 |
%description devel
|
|
54 |
ORBit is a high-performance CORBA (Common Object Request Broker
|
|
55 |
Architecture) ORB (object request broker). It allows programs to
|
|
56 |
send requests and receive replies from other programs, regardless
|
|
57 |
of the locations of the two programs. CORBA is an architecture that
|
|
58 |
enables communication between program objects, regardless of the
|
|
59 |
programming language they're written in or the operating system they
|
|
60 |
run on.
|
|
61 |
|
|
62 |
%prep
|
152
|
63 |
%setup
|
1551
|
64 |
%patch1 -p1
|
1622
|
65 |
%patch2 -p1
|
|
66 |
%patch3 -p1
|
16
|
67 |
|
4121
|
68 |
%ifos solaris
|
4271
|
69 |
%ifarch amd64 sparcv9
|
4121
|
70 |
cd ..
|
|
71 |
cp -rp ORBit2-%{version} ORBit2-%{version}-64
|
|
72 |
%endif
|
4127
|
73 |
%endif
|
4121
|
74 |
|
|
75 |
|
4455
|
76 |
bash -x %SOURCE6
|
|
77 |
|
16
|
78 |
%build
|
3263
|
79 |
%ifos linux
|
|
80 |
if [ -x /usr/bin/getconf ]; then
|
|
81 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
82 |
fi
|
|
83 |
%else
|
3846
|
84 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
3263
|
85 |
%endif
|
|
86 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
87 |
CPUS=1
|
|
88 |
fi
|
|
89 |
|
4121
|
90 |
CONFLAGS="--prefix=%{_prefix}"
|
|
91 |
|
|
92 |
%ifos solaris
|
4271
|
93 |
%ifarch amd64 sparcv9
|
4121
|
94 |
CPUS=$(($CPUS*4))
|
|
95 |
|
|
96 |
cd ../ORBit2-%version-64
|
|
97 |
|
|
98 |
export CFLAGS="$CFLAGS64"
|
|
99 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64"
|
4365
|
100 |
export CC=${CC64:-$CC}
|
|
101 |
save_PATH="$PATH"
|
|
102 |
ccdir=`dirname $CC`
|
|
103 |
export PATH=$ccdir:$PATH
|
4121
|
104 |
|
|
105 |
libtoolize --copy --force
|
|
106 |
aclocal -I %{_datadir}/aclocal
|
|
107 |
automake --add-missing --copy
|
|
108 |
autoconf
|
|
109 |
|
|
110 |
./configure $CONFLAGS \
|
|
111 |
--bindir=%{_bindir}/%{_arch64} \
|
|
112 |
--libdir=%{_libdir}/%{_arch64} \
|
|
113 |
--libexecdir=%{_libexecdir}/%{_arch64} \
|
|
114 |
--sysconfdir=%{_sysconfdir}/%{_arch64} \
|
|
115 |
--disable-gtk-doc
|
|
116 |
|
|
117 |
make -j $CPUS
|
|
118 |
|
|
119 |
cd ../ORBit2-%version
|
|
120 |
|
|
121 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32"
|
4365
|
122 |
export CFLAGS="$CFLAGS32"
|
|
123 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
124 |
export CC=${CC32:-$CC}
|
|
125 |
export PATH="$save_PATH"
|
4121
|
126 |
|
|
127 |
%endif
|
4127
|
128 |
%endif
|
4121
|
129 |
|
|
130 |
|
1551
|
131 |
libtoolize --copy --force
|
3628
|
132 |
aclocal -I %{_datadir}/aclocal
|
1551
|
133 |
automake --add-missing --copy
|
|
134 |
autoconf
|
152
|
135 |
CFLAGS="$RPM_OPT_FLAGS" \
|
4121
|
136 |
./configure $CONFLAGS \
|
|
137 |
--sysconfdir=%{_sysconfdir} \
|
3692
|
138 |
--enable-gtk-doc
|
3263
|
139 |
make -j $CPUS
|
16
|
140 |
|
|
141 |
%install
|
4121
|
142 |
|
|
143 |
%ifos solaris
|
4271
|
144 |
%ifarch amd64 sparcv9
|
4121
|
145 |
cd ../ORBit2-%version-64
|
|
146 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
147 |
cd ../ORBit2-%version
|
|
148 |
%endif
|
4127
|
149 |
%endif
|
4121
|
150 |
|
16
|
151 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1522
|
152 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1
|
|
153 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3
|
2707
|
154 |
install -d $RPM_BUILD_ROOT%{_sysconfdir}
|
1522
|
155 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
156 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
157 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man3
|
|
158 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man3
|
3131
|
159 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_sysconfdir}/orbitrc
|
3628
|
160 |
AFILES=" libORBit-2 libORBit-imodule-2 libORBitCosNaming-2 orbit-2.0/Everything_module"
|
|
161 |
pushd $RPM_BUILD_ROOT%{_libdir}
|
|
162 |
for i in $AFILES; do
|
|
163 |
rm $i.a
|
|
164 |
rm $i.la
|
|
165 |
done
|
|
166 |
popd
|
|
167 |
|
16
|
168 |
|
|
169 |
%clean
|
|
170 |
rm -rf $RPM_BUILD_ROOT
|
|
171 |
|
152
|
172 |
%post
|
|
173 |
/sbin/ldconfig
|
|
174 |
|
|
175 |
%postun
|
|
176 |
/sbin/ldconfig
|
|
177 |
|
16
|
178 |
%files
|
|
179 |
%defattr(-, root, root)
|
1058
|
180 |
%{_libdir}/libORBit*.so.*
|
179
|
181 |
%{_libdir}/orbit-2.0/Every*so*
|
|
182 |
%{_bindir}/ior-decode-2
|
|
183 |
%{_bindir}/typelib-dump
|
1197
|
184 |
%{_bindir}/linc-cleanup-sockets
|
3131
|
185 |
%{_sysconfdir}/orbitrc
|
16
|
186 |
|
|
187 |
%files devel
|
|
188 |
%defattr(-, root, root)
|
179
|
189 |
%{_includedir}/orbit-2.0
|
|
190 |
%{_bindir}/orbit-idl-2
|
|
191 |
%{_bindir}/orbit2-config
|
1058
|
192 |
%{_libdir}/libname-server-2.a
|
|
193 |
%{_libdir}/libORBit*.so
|
179
|
194 |
%{_libdir}/pkgconfig/*.pc
|
3628
|
195 |
%{_datadir}/idl/orbit-2.0/*.idl
|
179
|
196 |
%{_datadir}/aclocal/*.m4
|
1197
|
197 |
%{_datadir}/gtk-doc/html/ORBit2
|
1432
|
198 |
%{_mandir}/man1/*
|
|
199 |
%{_mandir}/man3/*
|
16
|
200 |
|
|
201 |
%changelog
|
4365
|
202 |
* Fri Oct 29 2004 - [email protected]
|
|
203 |
- use $CC64 for the 64-bit build if defined
|
|
204 |
|
4121
|
205 |
* Sat Oct 2 2004 - [email protected]
|
|
206 |
- Create 64bit libraries for Solaris
|
|
207 |
|
3692
|
208 |
* Wed Aug 18 2004 - [email protected]
|
|
209 |
- added --enable-gtk-doc.
|
|
210 |
|
3628
|
211 |
* Thu Jul 08 2004 - [email protected]
|
|
212 |
- ported to rpm4
|
|
213 |
|
3263
|
214 |
* Wed Jul 07 2004 - [email protected]
|
|
215 |
- added "-j $CPUS" to make to speed up builds
|
3692
|
216 |
|
3131
|
217 |
* Fri Jun 11 2004 - <[email protected]>
|
|
218 |
- Put back /etc/orbitrc which is required by A11y login. Bug 5059822.
|
|
219 |
|
3045
|
220 |
* Tue Jun 08 2004 - <[email protected]>
|
|
221 |
- removed /etc/orbitrc at the moment as this is a feature for Cinnabar not
|
|
222 |
metro.
|
|
223 |
|
1864
|
224 |
* Mon Feb 23 2004 - <[email protected]>
|
|
225 |
- Bump to 2.9.8
|
|
226 |
|
1622
|
227 |
* Wed Feb 11 2004 - <[email protected]>
|
|
228 |
- Bump to 2.9.7, gtk-doc.make hack patch 03
|
|
229 |
|
1432
|
230 |
* Mon Dec 15 2003 - <[email protected]>
|
|
231 |
- Bump to 2.9.2
|
|
232 |
|
1198
|
233 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-2
|
|
234 |
- Require gtk-doc.
|
|
235 |
|
1197
|
236 |
* Mon Oct 02 2003 - <[email protected]> 2.8.1-1
|
|
237 |
- Update to 2.8.1.
|
|
238 |
|
1058
|
239 |
* Thu Aug 14 2003 - <[email protected]>
|
|
240 |
- add patch to disable static linking of test programs
|
|
241 |
- remove lib*.a and .la, except libname-server-2.a which is
|
|
242 |
apparently needed by bonobo-activation
|
|
243 |
- move *.so to -devel
|
|
244 |
|
909
|
245 |
* Fri Aug 01 2003 - <[email protected]> 2.6.3-1
|
|
246 |
- Upgrade to 2.6.3.
|
|
247 |
|
|
248 |
* Wed Apr 30 2003 - <[email protected]>
|
152
|
249 |
- Create new spec file for ORBit2
|