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