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