9397
|
1 |
#
|
|
2 |
# spec file for package libbonobo
|
|
3 |
#
|
11382
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
9397
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner padraig
|
9397
|
9 |
#
|
16426
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16426
|
12 |
|
9397
|
13 |
Name: libbonobo
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries/GNOME
|
17793
|
16 |
Version: 2.24.3
|
9397
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17864
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: Bonobo Base Library
|
13817
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.24/libbonobo-%{version}.tar.bz2
|
12031
|
22 |
%if %build_l10n
|
|
23 |
Source1: l10n-configure.sh
|
|
24 |
%endif
|
9397
|
25 |
#owner:padraig date:2006-10-06 type:bug bugster:6472900 bugzilla:359617
|
9548
|
26 |
Patch1: libbonobo-01-close-down.diff
|
9397
|
27 |
URL: http://www.gnome.org
|
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
29 |
Docdir: %{_prefix}/doc
|
|
30 |
Autoreqprov: on
|
|
31 |
Prereq: /sbin/ldconfig
|
|
32 |
|
|
33 |
%define ORBit2_version 2.10.1
|
|
34 |
%define libxml2_version 2.6.7
|
|
35 |
%define gnome_common_version 2.4.0
|
|
36 |
%define pkgconfig_version 0.15.0
|
|
37 |
%define bonobo_activation_version 2.4.0
|
|
38 |
%define gtk_doc_version 1.1
|
|
39 |
%define glib2_version 2.3.2
|
|
40 |
|
|
41 |
Requires: glib2 >= %{glib2_version}
|
|
42 |
Requires: libxml2 >= %{libxml2_version}
|
|
43 |
Requires: ORBit2 >= %{ORBit2_version}
|
|
44 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
45 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
46 |
BuildRequires: ORBit2-devel >= %{ORBit2_version}
|
|
47 |
BuildRequires: gnome-common >= %{gnome_common_version}
|
|
48 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
49 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
50 |
|
|
51 |
Obsoletes: bonobo-activation < %{bonobo_activation_version}
|
|
52 |
Provides: bonobo-activation = %{bonobo_activation_version}
|
|
53 |
|
|
54 |
%description
|
|
55 |
libbonobo is one of the base libraries for the GNOME Desktop, containing
|
|
56 |
convenient API for writing reusable components.
|
|
57 |
|
|
58 |
%package devel
|
|
59 |
Summary: Bonobo Base Development Library
|
|
60 |
Group: Development/Libraries/GNOME
|
|
61 |
Requires: %{name} = %{version}-%{release}
|
|
62 |
Requires: glib2-devel >= %{glib2_version}
|
|
63 |
Requires: pkgconfig >= %{pkgconfig_version}
|
|
64 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
65 |
Requires: ORBit2-devel >= %{ORBit2_version}
|
|
66 |
|
|
67 |
Obsoletes: bonobo-activation-devel < %{bonobo_activation_version}
|
|
68 |
Provides: bonobo-activation-devel = %{bonobo_activation_version}
|
|
69 |
|
|
70 |
%description devel
|
|
71 |
libbonobo is one of the base libraries for the GNOME Desktop, containing
|
|
72 |
convenient API for writing reusable components.
|
|
73 |
|
|
74 |
%prep
|
|
75 |
%setup -q
|
|
76 |
%patch1 -p1
|
|
77 |
|
|
78 |
%build
|
|
79 |
%ifos linux
|
|
80 |
if [ -x /usr/bin/getconf ]; then
|
|
81 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
82 |
fi
|
|
83 |
%else
|
|
84 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
85 |
%endif
|
|
86 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
87 |
CPUS=1
|
|
88 |
fi
|
|
89 |
|
10395
|
90 |
intltoolize --force --copy --automake
|
12031
|
91 |
|
|
92 |
%if %build_l10n
|
|
93 |
bash -x %SOURCE1 --enable-copyright
|
|
94 |
%endif
|
|
95 |
|
9397
|
96 |
aclocal $ACLOCAL_FLAGS
|
|
97 |
libtoolize --force --copy
|
|
98 |
gtkdocize
|
|
99 |
autoheader
|
|
100 |
automake -a -c -f
|
|
101 |
autoconf
|
10572
|
102 |
export CFLAGS="%optflags"
|
|
103 |
export LDFLAGS="%_ldflags"
|
|
104 |
./configure --prefix=%{_prefix} \
|
|
105 |
--mandir=%{_mandir} \
|
|
106 |
--datadir=%{_datadir} \
|
|
107 |
--libdir=%{_libdir} \
|
|
108 |
--bindir=%{_bindir} \
|
|
109 |
--sbindir=%{_sbindir} \
|
9397
|
110 |
--sysconfdir=%{_sysconfdir} \
|
|
111 |
--libexecdir=%{_libexecdir} \
|
|
112 |
%{gtk_doc_option}
|
|
113 |
|
|
114 |
make -j $CPUS
|
|
115 |
|
|
116 |
%install
|
10572
|
117 |
make install DESTDIR=$RPM_BUILD_ROOT
|
9397
|
118 |
|
|
119 |
#Copy zh_HK from zh_TW
|
|
120 |
#Fixes bug 4930405
|
|
121 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
122 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
|
123 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.a
|
|
124 |
rm $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.la
|
|
125 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
126 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
127 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.a
|
|
128 |
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la
|
|
129 |
|
|
130 |
%clean
|
|
131 |
rm -rf $RPM_BUILD_ROOT
|
|
132 |
|
|
133 |
%post
|
|
134 |
/sbin/ldconfig
|
|
135 |
|
|
136 |
%postun
|
|
137 |
/sbin/ldconfig
|
|
138 |
|
|
139 |
%files
|
|
140 |
%defattr(-, root, root)
|
|
141 |
%doc COPYING ChangeLog NEWS README
|
|
142 |
%{_bindir}/*
|
|
143 |
%{_sbindir}/*
|
|
144 |
%{_libexecdir}/*
|
|
145 |
%{_libdir}/lib*.so*
|
|
146 |
%{_libdir}/orbit-2.0/*.so
|
|
147 |
%{_libdir}/bonobo/servers/*.server
|
|
148 |
%{_libdir}/bonobo/monikers/*.so
|
|
149 |
%dir %{_sysconfdir}/bonobo-activation
|
|
150 |
%config %{_sysconfdir}/bonobo-activation/*
|
|
151 |
%{_datadir}/man/man*/*
|
|
152 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
153 |
|
|
154 |
%files devel
|
|
155 |
%defattr(-, root, root)
|
|
156 |
%{_includedir}/libbonobo-2.0/libbonobo.h
|
|
157 |
%{_includedir}/libbonobo-2.0/bonobo/*.h
|
|
158 |
%{_includedir}/bonobo-activation-2.0/bonobo-activation/*.h
|
|
159 |
%{_libdir}/bonobo-2.0/samples/*
|
|
160 |
%{_libdir}/pkgconfig/*.pc
|
|
161 |
%{_datadir}/idl/bonobo-2.0/*.idl
|
|
162 |
%{_datadir}/idl/bonobo-activation-2.0/*.idl
|
|
163 |
%{_datadir}/gtk-doc/html/*
|
|
164 |
%{_mandir}/man1/*
|
|
165 |
%{_mandir}/man3/*
|
|
166 |
|
|
167 |
%changelog
|
17793
|
168 |
* Sat Apr 3 2010 - [email protected]
|
|
169 |
- Bump to 2.24.3.
|
16643
|
170 |
* Wed Sep 23 2009 - [email protected]
|
|
171 |
- Bump to 2.24.2
|
15392
|
172 |
* Fri Mar 13 2009 - [email protected]
|
|
173 |
- Bump to 2.24.1
|
13817
|
174 |
* Mon Sep 29 2008 - [email protected]
|
|
175 |
- Bump to 2.24.0.
|
13209
|
176 |
* Thu Aug 21 2008 - [email protected]
|
|
177 |
- Bump to 2.23.1
|
12677
|
178 |
* Tue Jun 17 2008 - [email protected]
|
|
179 |
- Bump to 2.23.0.
|
11832
|
180 |
* Mon Mar 10 2008 - [email protected]
|
|
181 |
- Bump to 2.22.0.
|
11555
|
182 |
* Tue Jan 29 2008 - [email protected]
|
|
183 |
- Bump to 2.21.90.
|
11538
|
184 |
* Mon Jan 28 2008 - [email protected]
|
11555
|
185 |
- Bump to 2.20.4. Remove upstream patch 02-fixcompile.
|
11382
|
186 |
* Thu Jan 03 2008 - [email protected]
|
|
187 |
- Damien backed libbonobo back to 2.20.2 due to a build problem. I
|
|
188 |
fixed this with the libbonobo-02-fixcompile.diff patch, and Bump
|
|
189 |
back to 2.20.3.
|
11350
|
190 |
* Sun Dec 23 2007 - [email protected]
|
|
191 |
- Bump to 2.20.3.
|
11329
|
192 |
* Tue Dec 18 2007 - [email protected]
|
|
193 |
- Bump to 2.20.2.
|
10674
|
194 |
* Fri Oct 19 2007 - [email protected]
|
|
195 |
- Bump to 2.20.1.
|
10572
|
196 |
* Fri Sep 28 2007 - [email protected]
|
|
197 |
- convert to new style multi-ISA build
|
10507
|
198 |
* Tue Sep 18 2007 - [email protected]
|
|
199 |
- Bump to 2.20.0.
|
10395
|
200 |
* Wed Aug 29 2007 - [email protected]
|
|
201 |
- Add intltoolize calls to update intltool scripts.
|
10231
|
202 |
* Mon Jul 30 2007 - [email protected]
|
|
203 |
- Bump to 2.19.6.
|
10076
|
204 |
* Tue Jun 19 2007 - [email protected]
|
|
205 |
- Bump to 2.19.4.
|
9565
|
206 |
* Wed Mar 15 2007 - [email protected]
|
|
207 |
- Removed adding ccdir to PATH
|
9524
|
208 |
* Mon Mar 12 2007 - [email protected]
|
|
209 |
- Bump to 2.18.0.
|
9489
|
210 |
* Thu Mar 08 2007 - [email protected]
|
|
211 |
- Remove unnecessary patch, 02-popt. Renumber rest.
|
9438
|
212 |
* Mon Mar 05 2007 - [email protected]
|
|
213 |
- Bump to 2.17.92.
|
9397
|
214 |
* Tue Feb 13 2007 - [email protected]
|
|
215 |
- Bump to 2.17.91.
|
|
216 |
* Wed Jan 24 2007 - [email protected]
|
|
217 |
- Add more autofoo because autoconf 2.61 used by maintainer, CBE has 2.60.
|
|
218 |
* Tue Jan 23 2007 - [email protected]
|
|
219 |
- Bump to 2.17.90.
|
|
220 |
* Fri Nov 3 2006 - [email protected]
|
|
221 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
222 |
--without-gtk-doc
|
|
223 |
* Fri Oct 06 2006 - [email protected]
|
|
224 |
- Add patch libbonobo-03-close-down.diff to fix bug 6472900.
|
|
225 |
* Mon Sep 04 2006 - [email protected]
|
|
226 |
- Bump to 2.16.0.
|
|
227 |
* Mon Aug 14 2006 - [email protected]
|
|
228 |
- Bump to 2.15.3.
|
|
229 |
* Tue Aug 08 2006 - [email protected]
|
|
230 |
- Bump to 2.15.2.
|
|
231 |
* Web Jul 21 2006 - [email protected]
|
|
232 |
- Bump to 2.15.0.
|
|
233 |
Delete patch 03 (upstream).
|
|
234 |
* Tue Mar 14 2006 - [email protected]
|
|
235 |
- Bump to 2.14.0.
|
|
236 |
* Tue Mar 7 2006 - [email protected]
|
|
237 |
- Bump to 2.13.93.
|
|
238 |
* Wed Feb 15 2006 - [email protected]
|
|
239 |
- Remove patch, 04-undo-1.27, as issue is gone.
|
|
240 |
* Fri Feb 3 2006 - [email protected]
|
|
241 |
- Add patch, 03-add-newline, to fix .server.in.in so sed doesn't complain.
|
|
242 |
- Add patch, 04-undo-1.27, to undo commit to try fix libbonobo runtime issue.
|
|
243 |
* Tue Jan 17 2006 - [email protected]
|
|
244 |
- Bump to 2.13.1
|
|
245 |
* Tue Dec 20 2005 - [email protected]
|
|
246 |
- Bump to 2.13.0. Remove upstream patch (01-forte).
|
|
247 |
* Thu Sep 15 2005 - [email protected]
|
|
248 |
- Added libbonobo-03-gthread.diff because building with uninstalled pc
|
|
249 |
was causing the gthread configure test to fail.
|
|
250 |
* Mon Sep 05 2005 - [email protected]
|
|
251 |
- Bump to 2.10.1.
|
|
252 |
* Mon Aug 15 2005 - [email protected]
|
|
253 |
- Bump to 2.10.0.
|
|
254 |
* Wed Jun 29 2005 - [email protected]
|
|
255 |
- Include popt in the .pc file
|
|
256 |
* Fri May 06 2005 - [email protected]
|
|
257 |
- Bump to 2.8.1
|
|
258 |
* Fri Feb 25 2005 - [email protected]
|
|
259 |
- Remove patch libbonobo-03-accessibility-support.diff since
|
|
260 |
jdshelp does not come up when accessibility is on.
|
|
261 |
* Tue Feb 15 2005 - [email protected]
|
|
262 |
- Add patch to fix dhcp hostname change blocking
|
|
263 |
login
|
|
264 |
* Wed Feb 09 2005 - [email protected]
|
|
265 |
- Added libbonobo-03-accessibility-support.diff
|
|
266 |
patch to set accessibility support.
|
|
267 |
* Mon Nov 29 2004 - [email protected]
|
|
268 |
- Remove patch libbonobo-03-change-of-hostname.diff.
|
|
269 |
It does not fix the scenario reported by user.
|
|
270 |
* Fri Nov 26 2004 - [email protected]
|
|
271 |
- Added patch libbonobo-03-change-of-hostname.diff to prevent hosing of
|
|
272 |
system after changing hostname. Fixes #6193930.
|
|
273 |
* Sun Nov 14 2004 - [email protected]
|
|
274 |
- remove CPUS=$((CPUS*4)) because it seems to cause random build failures
|
|
275 |
on multicpu systems (probably missing deps in some makefiles)
|
|
276 |
* Fri Oct 29 2004 - [email protected]
|
|
277 |
- use $CC64 for the 64-bit build if defined
|
|
278 |
* Thu Oct 28 2004 - [email protected]
|
|
279 |
- Add bonobo-slay.1, libbonobo-activation.3 man pages
|
|
280 |
* Sat Oct 2 2004 - [email protected]
|
|
281 |
- Create 64bit libraries for Solaris
|
|
282 |
* Wed Aug 18 2004 - [email protected]
|
|
283 |
- added --enable-gtk-doc.
|
|
284 |
* Tue Jul 27 2004 - [email protected]
|
|
285 |
- Add patch from [email protected] to fix b-a-s
|
|
286 |
quit on logout after evolution was run in the session
|
|
287 |
* Thu Jul 08 2004 - [email protected]
|
|
288 |
- Updated l10n content to libbonobo-l10n-po-1.2.tar.bz2
|
|
289 |
* Wed Jul 07 2004 - [email protected]
|
|
290 |
- port to rpm4
|
|
291 |
* Wed Jul 07 2004 - [email protected]
|
|
292 |
- added "-j $CPUS" to make to speed up builds
|
|
293 |
* Thu May 27 2004 - [email protected]
|
|
294 |
- Update to 2.6.1 tarball, rework patch 01-forte
|
|
295 |
* Wed May 12 2004 - [email protected]
|
|
296 |
- Updated l10n content to libbonobo-l10n-po-1.1.tar.bz2
|
|
297 |
* Tue Apr 6 2004 - [email protected]
|
|
298 |
- Bump to 2.6.0
|
|
299 |
* Mon Mar 29 2004 - [email protected]
|
|
300 |
- Updated l10n content to libbonobo-l10n-po-1.0.tar.bz2
|
|
301 |
* Mon Mar 01 2004 - <[email protected]>
|
|
302 |
- define libexecdir in configure args
|
|
303 |
* Wed Feb 11 2004 - <[email protected]>
|
|
304 |
- Update to 2.5.4 tarball, remove patch 01-environ.diff
|
|
305 |
Rename patch 02-forte -> 01-forte
|
|
306 |
* Mon Dec 15 2003 - <[email protected]>
|
|
307 |
- Update to 2.5.1 tarball
|
|
308 |
* Tue Oct 07 2003 - <[email protected]> 2.4.0-1
|
|
309 |
- Update to 2.4.0. bonobo-activation has now been swallowed
|
|
310 |
into this package.
|
|
311 |
* Thu Aug 14 2003 - <[email protected]>
|
|
312 |
- move lib*.so to -devel, remove *.a, *.la
|
|
313 |
* Fri Aug 01 2003 - <[email protected]> 2.2.3-1
|
|
314 |
- Update to 2.2.3
|
|
315 |
* Wed Jul 09 2003 - <[email protected]>
|
|
316 |
- add in sun po files
|
|
317 |
* Wed Apr 30 2003 - <[email protected]>
|
|
318 |
- Create new spec file for libbonobo
|