author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6215 | 2653e6560475 |
child 6413 | 5fb05d148417 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package libbonobo |
|
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: libbonobo |
150 | 9 |
License: LGPL |
10 |
Group: System/Libraries/GNOME |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5529
diff
changeset
|
11 |
Version: 2.10.1 |
5518 | 12 |
Release: 2 |
13 |
Distribution: Java Desktop System |
|
575 | 14 |
Vendor: Sun Microsystems, Inc. |
150 | 15 |
Summary: Bonobo Base Library |
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.10/libbonobo-%{version}.tar.bz2 |
5518 | 17 |
Source1: bonobo-slay.1.gz |
1432 | 18 |
Source2: libbonobo-2.3.gz |
5518 | 19 |
Source3: libbonobo-activation.3.gz |
1623 | 20 |
Patch1: libbonobo-01-forte.diff |
5518 | 21 |
Patch2: libbonobo-02-popt.diff |
5863 | 22 |
Patch3: libbonobo-03-gthread.diff |
150 | 23 |
URL: http://www.gnome.org |
16 | 24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
25 |
Docdir: %{_prefix}/doc |
|
150 | 26 |
Autoreqprov: on |
1080 | 27 |
Prereq: /sbin/ldconfig |
150 | 28 |
|
3628 | 29 |
%define ORBit2_version 2.10.1 |
30 |
%define libxml2_version 2.6.7 |
|
1207 | 31 |
%define gnome_common_version 2.4.0 |
184 | 32 |
%define pkgconfig_version 0.15.0 |
1315 | 33 |
%define bonobo_activation_version 2.4.0 |
1207 | 34 |
%define gtk_doc_version 1.1 |
1623 | 35 |
%define glib2_version 2.3.2 |
184 | 36 |
|
1623 | 37 |
Requires: glib2 >= %{glib2_version} |
1207 | 38 |
Requires: libxml2 >= %{libxml2_version} |
39 |
Requires: ORBit2 >= %{ORBit2_version} |
|
1623 | 40 |
BuildRequires: glib2-devel >= %{glib2_version} |
1207 | 41 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
42 |
BuildRequires: ORBit2-devel >= %{ORBit2_version} |
|
43 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
184 | 44 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
45 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
|
16 | 46 |
|
1315 | 47 |
Obsoletes: bonobo-activation < %{bonobo_activation_version} |
48 |
Provides: bonobo-activation = %{bonobo_activation_version} |
|
49 |
||
16 | 50 |
%description |
150 | 51 |
libbonobo is one of the base libraries for the GNOME Desktop, containing |
52 |
convenient API for writing reusable components. |
|
16 | 53 |
|
54 |
%package devel |
|
150 | 55 |
Summary: Bonobo Base Development Library |
16 | 56 |
Group: Development/Libraries/GNOME |
1207 | 57 |
Requires: %{name} = %{version}-%{release} |
1623 | 58 |
Requires: glib2-devel >= %{glib2_version} |
1207 | 59 |
Requires: pkgconfig >= %{pkgconfig_version} |
60 |
Requires: libxml2-devel >= %{libxml2_version} |
|
61 |
Requires: ORBit2-devel >= %{ORBit2_version} |
|
16 | 62 |
|
1315 | 63 |
Obsoletes: bonobo-activation-devel < %{bonobo_activation_version} |
64 |
Provides: bonobo-activation-devel = %{bonobo_activation_version} |
|
65 |
||
16 | 66 |
%description devel |
150 | 67 |
libbonobo is one of the base libraries for the GNOME Desktop, containing |
68 |
convenient API for writing reusable components. |
|
16 | 69 |
|
70 |
%prep |
|
1866 | 71 |
%setup -q |
1551 | 72 |
%patch1 -p1 |
3435 | 73 |
%patch2 -p1 |
5863 | 74 |
%patch3 -p1 |
4121 | 75 |
|
76 |
%ifos solaris |
|
4271 | 77 |
%ifarch amd64 sparcv9 |
4121 | 78 |
cd .. |
79 |
cp -rp libbonobo-%{version} libbonobo-%{version}-64 |
|
80 |
%endif |
|
4127 | 81 |
%endif |
4121 | 82 |
|
4455 | 83 |
|
16 | 84 |
%build |
3263 | 85 |
%ifos linux |
86 |
if [ -x /usr/bin/getconf ]; then |
|
87 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
88 |
fi |
|
89 |
%else |
|
3846 | 90 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 91 |
%endif |
92 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
93 |
CPUS=1 |
|
94 |
fi |
|
95 |
||
4121 | 96 |
CONFLAGS="--prefix=%{_prefix} --mandir=%{_mandir}" |
97 |
||
98 |
%ifos solaris |
|
4271 | 99 |
%ifarch amd64 sparcv9 |
4121 | 100 |
|
101 |
cd ../libbonobo-%version-64 |
|
102 |
||
103 |
export CFLAGS="$CFLAGS64" |
|
104 |
export LDFLAGS="$LDFLAGS64" |
|
105 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" |
|
4365 | 106 |
export CC=${CC64:-$CC} |
107 |
save_PATH="$PATH" |
|
108 |
ccdir=`dirname $CC` |
|
109 |
export PATH=$ccdir:$PATH |
|
4121 | 110 |
|
5863 | 111 |
autoconf |
4121 | 112 |
./configure $CONFLAGS \ |
113 |
--bindir=%{_bindir}/%{_arch64} \ |
|
114 |
--sbindir=%{_sbindir}/%{_arch64} \ |
|
115 |
--libdir=%{_libdir}/%{_arch64} \ |
|
116 |
--libexecdir=%{_libexecdir}/%{_arch64} \ |
|
117 |
--sysconfdir=%{_sysconfdir}/%{_arch64} \ |
|
118 |
--disable-gtk-doc |
|
119 |
||
120 |
make -j $CPUS |
|
121 |
||
122 |
cd ../libbonobo-%version |
|
123 |
||
124 |
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" |
|
125 |
export LDFLAGS="$LDFLAGS32" |
|
4365 | 126 |
export CFLAGS="$CFLAGS32" |
127 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
128 |
export CC=${CC32:-$CC} |
|
129 |
export PATH="$save_PATH" |
|
4121 | 130 |
|
131 |
%endif |
|
4127 | 132 |
%endif |
4121 | 133 |
|
134 |
||
605 | 135 |
CFLAGS="$RPM_OPT_FLAGS" \ |
5863 | 136 |
autoconf |
4121 | 137 |
./configure $CONFLAGS \ |
1207 | 138 |
--sysconfdir=%{_sysconfdir} \ |
4121 | 139 |
--libexecdir=%{_libexecdir} \ |
140 |
--enable-gtk-doc |
|
141 |
||
3263 | 142 |
make -j $CPUS |
16 | 143 |
|
144 |
%install |
|
4121 | 145 |
|
146 |
%ifos solaris |
|
4271 | 147 |
%ifarch amd64 sparcv9 |
4121 | 148 |
cd ../libbonobo-%version-64 |
149 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
150 |
cd ../libbonobo-%version |
|
6215 | 151 |
rm -f $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/bonobo-slay |
4121 | 152 |
%endif |
4127 | 153 |
%endif |
4121 | 154 |
|
1207 | 155 |
make -i DESTDIR=$RPM_BUILD_ROOT install |
4357 | 156 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 157 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
5518 | 158 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 159 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man3 |
5518 | 160 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man3 |
1432 | 161 |
#Copy zh_HK from zh_TW |
162 |
#Fixes bug 4930405 |
|
1522 | 163 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
164 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 165 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.a |
166 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.la |
|
167 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
168 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
169 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.a |
|
170 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la |
|
16 | 171 |
|
172 |
%clean |
|
150 | 173 |
rm -rf $RPM_BUILD_ROOT |
174 |
||
175 |
%post |
|
176 |
/sbin/ldconfig |
|
177 |
||
178 |
%postun |
|
179 |
/sbin/ldconfig |
|
16 | 180 |
|
181 |
%files |
|
150 | 182 |
%defattr(-, root, root) |
1207 | 183 |
%doc COPYING ChangeLog NEWS README |
184 | 184 |
%{_bindir}/* |
1207 | 185 |
%{_sbindir}/* |
186 |
%{_libexecdir}/* |
|
187 |
%{_libdir}/lib*.so* |
|
184 | 188 |
%{_libdir}/orbit-2.0/*.so |
1207 | 189 |
%{_libdir}/bonobo/servers/*.server |
190 |
%{_libdir}/bonobo/monikers/*.so |
|
191 |
%dir %{_sysconfdir}/bonobo-activation |
|
192 |
%config %{_sysconfdir}/bonobo-activation/* |
|
193 |
%{_datadir}/man/man*/* |
|
194 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
16 | 195 |
|
196 |
%files devel |
|
150 | 197 |
%defattr(-, root, root) |
1207 | 198 |
%{_includedir}/libbonobo-2.0/libbonobo.h |
184 | 199 |
%{_includedir}/libbonobo-2.0/bonobo/*.h |
1207 | 200 |
%{_includedir}/bonobo-activation-2.0/bonobo-activation/*.h |
184 | 201 |
%{_libdir}/bonobo-2.0/samples/* |
202 |
%{_libdir}/pkgconfig/*.pc |
|
203 |
%{_datadir}/idl/bonobo-2.0/*.idl |
|
1207 | 204 |
%{_datadir}/idl/bonobo-activation-2.0/*.idl |
184 | 205 |
%{_datadir}/gtk-doc/html/* |
4357 | 206 |
%{_mandir}/man1/* |
1432 | 207 |
%{_mandir}/man3/* |
16 | 208 |
|
209 |
%changelog |
|
5863 | 210 |
* Thu Sep 15 2005 - [email protected] |
211 |
- Added libbonobo-03-gthread.diff because building with uninstalled pc |
|
212 |
was causing the gthread configure test to fail. |
|
213 |
||
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5529
diff
changeset
|
214 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5529
diff
changeset
|
215 |
- Bump to 2.10.1. |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5529
diff
changeset
|
216 |
|
5529
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
217 |
* Mon Aug 15 2005 - [email protected] |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
218 |
- Bump to 2.10.0. |
9133a916e53a
* *.spec: More bumping to latest versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
219 |
|
5518 | 220 |
* Wed Jun 29 2005 - [email protected] |
221 |
- Include popt in the .pc file |
|
222 |
||
223 |
* Fri May 06 2005 - [email protected] |
|
224 |
- Bump to 2.8.1 |
|
225 |
||
5138 | 226 |
* Fri Feb 25 2005 - [email protected] |
227 |
- Remove patch libbonobo-03-accessibility-support.diff since |
|
228 |
jdshelp does not come up when accessibility is on. |
|
229 |
||
5091 | 230 |
* Tue Feb 15 2005 - [email protected] |
231 |
- Add patch to fix dhcp hostname change blocking |
|
232 |
login |
|
233 |
||
5037 | 234 |
* Wed Feb 09 2005 - [email protected] |
235 |
- Added libbonobo-03-accessibility-support.diff |
|
236 |
patch to set accessibility support. |
|
237 |
||
4686 | 238 |
* Mon Nov 29 2004 - [email protected] |
239 |
- Remove patch libbonobo-03-change-of-hostname.diff. |
|
240 |
It does not fix the scenario reported by user. |
|
241 |
||
4673 | 242 |
* Fri Nov 26 2004 - [email protected] |
243 |
- Added patch libbonobo-03-change-of-hostname.diff to prevent hosing of |
|
244 |
system after changing hostname. Fixes #6193930. |
|
245 |
||
4563 | 246 |
* Sun Nov 14 2004 - [email protected] |
247 |
- remove CPUS=$((CPUS*4)) because it seems to cause random build failures |
|
248 |
on multicpu systems (probably missing deps in some makefiles) |
|
249 |
||
4365 | 250 |
* Fri Oct 29 2004 - [email protected] |
251 |
- use $CC64 for the 64-bit build if defined |
|
252 |
||
4357 | 253 |
* Thu Oct 28 2004 - [email protected] |
254 |
- Add bonobo-slay.1, libbonobo-activation.3 man pages |
|
255 |
||
4121 | 256 |
* Sat Oct 2 2004 - [email protected] |
257 |
- Create 64bit libraries for Solaris |
|
258 |
||
3692 | 259 |
* Wed Aug 18 2004 - [email protected] |
260 |
- added --enable-gtk-doc. |
|
261 |
||
3435 | 262 |
* Tue Jul 27 2004 - [email protected] |
263 |
- Add patch from [email protected] to fix b-a-s |
|
264 |
quit on logout after evolution was run in the session |
|
265 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
266 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
267 |
- Updated l10n content to libbonobo-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
268 |
|
3628 | 269 |
* Wed Jul 07 2004 - [email protected] |
270 |
- port to rpm4 |
|
271 |
||
3263 | 272 |
* Wed Jul 07 2004 - [email protected] |
273 |
- added "-j $CPUS" to make to speed up builds |
|
274 |
||
2923 | 275 |
* Thu May 27 2004 - [email protected] |
276 |
- Update to 2.6.1 tarball, rework patch 01-forte |
|
277 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
278 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
279 |
- Updated l10n content to libbonobo-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
280 |
|
2402 | 281 |
* Tue Apr 6 2004 - [email protected] |
282 |
- Bump to 2.6.0 |
|
283 |
||
2350 | 284 |
* Mon Mar 29 2004 - [email protected] |
285 |
- Updated l10n content to libbonobo-l10n-po-1.0.tar.bz2 |
|
286 |
||
2106 | 287 |
* Mon Mar 01 2004 - <[email protected]> |
288 |
- define libexecdir in configure args |
|
289 |
||
1623 | 290 |
* Wed Feb 11 2004 - <[email protected]> |
291 |
- Update to 2.5.4 tarball, remove patch 01-environ.diff |
|
292 |
Rename patch 02-forte -> 01-forte |
|
293 |
||
1432 | 294 |
* Mon Dec 15 2003 - <[email protected]> |
295 |
- Update to 2.5.1 tarball |
|
296 |
||
1207 | 297 |
* Tue Oct 07 2003 - <[email protected]> 2.4.0-1 |
1432 | 298 |
- Update to 2.4.0. bonobo-activation has now been swallowed |
1207 | 299 |
into this package. |
300 |
||
1058 | 301 |
* Thu Aug 14 2003 - <[email protected]> |
302 |
- move lib*.so to -devel, remove *.a, *.la |
|
303 |
||
919 | 304 |
* Fri Aug 01 2003 - <[email protected]> 2.2.3-1 |
305 |
- Update to 2.2.3 |
|
306 |
||
508 | 307 |
* Wed Jul 09 2003 - <[email protected]> |
308 |
- add in sun po files |
|
309 |
||
919 | 310 |
* Wed Apr 30 2003 - <[email protected]> |
150 | 311 |
- Create new spec file for libbonobo |