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