9397
|
1 |
#
|
|
2 |
# spec file for package libbonoboui
|
|
3 |
#
|
11537
|
4 |
# Copyright (c) 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 |
#
|
16427
|
10 |
|
|
11 |
%define OSR gnome.org:0
|
|
12 |
|
9397
|
13 |
Name: libbonoboui
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries/GNOME
|
15384
|
16 |
Version: 2.24.1
|
9397
|
17 |
Release: 2
|
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Summary: Bonobo Base User Interface Library
|
15384
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.24/libbonoboui-%{version}.tar.bz2
|
12031
|
22 |
%if %build_l10n
|
|
23 |
Source1: l10n-configure.sh
|
|
24 |
%endif
|
9397
|
25 |
# owner:yippi date:2004-11-23 type:branding
|
15602
|
26 |
# Needed to support /usr/share/gnome/gnome-2.0/ui for backwards compatibility.
|
9397
|
27 |
Patch1: libbonoboui-01-solaris-backcompat.diff
|
|
28 |
URL: http://www.gnome.org
|
|
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
30 |
Docdir: %{_defaultdocdir}/doc
|
|
31 |
Autoreqprov: on
|
|
32 |
Prereq: /sbin/ldconfig
|
|
33 |
|
|
34 |
%define libgnomecanvas_version 2.6.0
|
|
35 |
%define libglade_version 2.3.6
|
|
36 |
%define libbonobo_version 2.6.0
|
|
37 |
%define libgnome_version 2.6.0
|
|
38 |
|
|
39 |
Requires: libgnomecanvas >= %{libgnomecanvas_version}
|
|
40 |
Requires: libbonobo >= %{libbonobo_version}
|
|
41 |
Requires: libglade >= %{libglade_version}
|
|
42 |
Requires: libgnome >= %{libgnome_version}
|
|
43 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version}
|
|
44 |
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
|
45 |
BuildRequires: libglade-devel >= %{libglade_version}
|
|
46 |
BuildRequires: libgnome-devel >= %{libgnome_version}
|
|
47 |
|
|
48 |
%description
|
|
49 |
libbonoboui is one of the base user interface libraries for the GNOME Desktop, containing
|
|
50 |
convenient API for writing reusable components.
|
|
51 |
|
|
52 |
%package devel
|
|
53 |
Summary: Bonobo Base User Interface Development Library
|
|
54 |
Group: Development/Libraries/GNOME
|
|
55 |
Requires: %name = %version-%release
|
|
56 |
Requires: libbonobo-devel >= %{libbonobo_version}
|
|
57 |
|
|
58 |
%description devel
|
|
59 |
libbonoboui is one of the base user interface libraries for the GNOME Desktop, containing
|
|
60 |
convenient API for writing reusable components.
|
|
61 |
|
|
62 |
%prep
|
|
63 |
%setup -q
|
|
64 |
%patch1 -p1
|
|
65 |
|
|
66 |
%build
|
|
67 |
%ifos linux
|
|
68 |
if [ -x /usr/bin/getconf ]; then
|
|
69 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
70 |
fi
|
|
71 |
%else
|
|
72 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
73 |
%endif
|
|
74 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
75 |
CPUS=1
|
|
76 |
fi
|
|
77 |
|
|
78 |
libtoolize --force
|
10397
|
79 |
intltoolize --force --copy --automake
|
12031
|
80 |
|
|
81 |
%if %build_l10n
|
|
82 |
bash -x %SOURCE1 --enable-copyright
|
|
83 |
%endif
|
|
84 |
|
9397
|
85 |
aclocal $ACLOCAL_FLAGS -I .
|
|
86 |
autoheader
|
|
87 |
automake -a -c -f
|
|
88 |
autoconf
|
|
89 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
90 |
./configure --prefix=%{_prefix} \
|
|
91 |
--sysconfdir=%{_sysconfdir} \
|
|
92 |
--libexecdir=%{_libexecdir} \
|
|
93 |
%{gtk_doc_option}
|
|
94 |
make -j $CPUS
|
|
95 |
|
|
96 |
%install
|
|
97 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
98 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
99 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
100 |
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a
|
|
101 |
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.la
|
|
102 |
rm $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
103 |
|
|
104 |
%clean
|
|
105 |
rm -rf $RPM_BUILD_ROOT
|
|
106 |
|
|
107 |
%post
|
|
108 |
/sbin/ldconfig
|
|
109 |
|
|
110 |
%postun
|
|
111 |
/sbin/ldconfig
|
|
112 |
|
|
113 |
%files
|
|
114 |
%{_datadir}/locale/*/LC_MESSAGES/libbonoboui-2.0.mo
|
|
115 |
%{_libdir}/libbonoboui-2*so.*
|
|
116 |
%{_libdir}/libglade/2.0/libbonobo*so*
|
|
117 |
|
|
118 |
%files devel
|
|
119 |
%{_bindir}/test-moniker
|
|
120 |
%{_bindir}/bonobo-browser
|
|
121 |
%{_includedir}/libbonoboui-2.0/*.h
|
|
122 |
%{_includedir}/libbonoboui-2.0/bonobo/*.h
|
|
123 |
%{_libdir}/libbonoboui-2*so
|
|
124 |
%{_libdir}/bonobo-2.0/samples/*
|
|
125 |
%{_libdir}/bonobo/servers/*.server
|
|
126 |
%{_datadir}/gnome-2.0/ui/*.xml
|
|
127 |
%{_libdir}/pkgconfig/*.pc
|
|
128 |
%{_datadir}/gtk-doc/html/*
|
|
129 |
%{_mandir}/man3/*.gz
|
|
130 |
|
|
131 |
%changelog
|
15384
|
132 |
* Fri Mar 13 2009 - [email protected]
|
|
133 |
- Bump to 2.24.1
|
13813
|
134 |
* Mon Sep 29 2008 - [email protected]
|
|
135 |
- Bump to 2.24.0.
|
13047
|
136 |
* Wed Aug 06 2008 - [email protected]
|
|
137 |
- Bump to 2.23.5. Remove upstream patch, 02-gtk-deprecated.
|
12797
|
138 |
* Thu Jul 10 2008 - [email protected]
|
|
139 |
- Add 02-gtk-deprecated to update files for the new gtk+ tarball.
|
12677
|
140 |
* Tue Jun 17 2008 - [email protected]
|
|
141 |
- Bump to 2.23.4.
|
11832
|
142 |
* Mon Mar 10 2008 - [email protected]
|
|
143 |
- Bump to 2.22.0.
|
11537
|
144 |
* Mon Jan 28 2008 - [email protected]
|
|
145 |
- Bump to 2.21.90.
|
10521
|
146 |
* Wed Sep 19 2007 - [email protected]
|
|
147 |
- Bump to 2.20.0.
|
10397
|
148 |
* Wed Aug 29 2007 - [email protected]
|
|
149 |
- Add intltoolize call to update intltool scripts.
|
10231
|
150 |
* Mon Jul 30 2007 - [email protected]
|
|
151 |
- Bump to 2.19.6.
|
10076
|
152 |
* Tue Jun 19 2007 - [email protected]
|
|
153 |
- Bump to 2.19.4.
|
9524
|
154 |
* Mon Mar 12 2007 - [email protected]
|
|
155 |
- Bump to 2.18.0.
|
9397
|
156 |
* Tue Feb 27 2007 - [email protected]
|
|
157 |
- Bump to 2.17.94.
|
|
158 |
* Tue Feb 13 2007 - [email protected]
|
|
159 |
- Bump to 2.17.91.
|
|
160 |
* Mon Jan 22 2007 - [email protected]
|
|
161 |
- Bump to 2.17.90.
|
|
162 |
* Wed Jan 10 2007 - [email protected]
|
|
163 |
- Bump to 2.17.0.
|
|
164 |
* Fri Nov 3 2006 - [email protected]
|
|
165 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
166 |
--without-gtk-doc
|
|
167 |
* Mon Sep 04 2006 - [email protected]
|
|
168 |
- Bump to 2.16.0.
|
|
169 |
* Fri Sep 01 2006 - [email protected]
|
|
170 |
- Bump to 2.15.1.
|
|
171 |
* Tue Aug 08 2006 - [email protected]
|
|
172 |
- Bump to 2.15.0.
|
|
173 |
* Wed Mar 15 2006 - [email protected]
|
|
174 |
- Bump to 2.14.0.
|
|
175 |
* Tue Feb 21 2006 - [email protected]
|
|
176 |
- Specify --libexecdir in configure to have correct path in CanvDemo.server
|
|
177 |
file.
|
|
178 |
* Tue Jan 17 2006 - [email protected]
|
|
179 |
- Bump to 2.13.1
|
|
180 |
* Wed Dec 21 2005 - [email protected]
|
|
181 |
- Bump to 2.13.0.
|
|
182 |
* Tue Sep 27 2005 - [email protected]
|
|
183 |
- Bump to 2.10.1.
|
|
184 |
* Mon Aug 15 2005 - [email protected]
|
|
185 |
- Bump to 2.10.0.
|
|
186 |
* Wed Jun 15 2005 - [email protected]
|
|
187 |
- Add more libs to LDADD so that it builds with the new pkgconfig
|
|
188 |
* Thu May 19 2005 - [email protected]
|
|
189 |
- Added patch libbonoboui-05-nautilus-crash.diff to fix a nauitlus crash
|
|
190 |
Bug #6250742.
|
|
191 |
* Fri May 06 2005 - [email protected]
|
|
192 |
- Bump to 2.8.1
|
|
193 |
* Thu Jan 13 2005 - [email protected]
|
|
194 |
- URL updated.
|
|
195 |
* Wed Nov 23 2004 - [email protected]
|
|
196 |
- Added patch 4 to support bonobo UI xml integration point that we
|
|
197 |
used in GNOME 2.0.
|
|
198 |
* Wed Aug 18 2004 - [email protected]
|
|
199 |
- added --enable-gtk-doc
|
|
200 |
* Thu Aug 12 2004 - [email protected]
|
|
201 |
- Added libbonoboui-03-g11n-i18n-ui.diff to localize Evolution help menu.
|
|
202 |
- Fixed 5078956.
|
|
203 |
* Thu Jul 08 2004 - [email protected]
|
|
204 |
- Updated l10n content to libbonoboui-l10n-po-1.2.tar.bz2
|
|
205 |
* Wed Jul 07 2004 - [email protected]
|
|
206 |
- Ported to rpm4
|
|
207 |
* Wed Jul 07 2004 - [email protected]
|
|
208 |
- added "-j $CPUS" to make to speed up builds
|
|
209 |
* Fri Jun 25 2004 - [email protected]
|
|
210 |
- Added patch libbonoboui-02-gmessage.diff to fix a crash
|
|
211 |
in ggv. Bug #5052487.
|
|
212 |
* Wed May 12 2004 - [email protected]
|
|
213 |
- Updated l10n content to libbonoboui-l10n-po-1.1.tar.bz2
|
|
214 |
* Tue Apr 06 2004 - [email protected]
|
|
215 |
- Bump to 2.6.0, remove uninstalled pc patch, rename
|
|
216 |
potfiles and remove broken g11n-ui patch.
|
|
217 |
* Mon Mar 29 2004 - [email protected]
|
|
218 |
- Updated l10n content to libbonoboui-l10n-po-1.0.tar.bz2
|
|
219 |
* Mon Mar 22 2004 - <[email protected]>
|
|
220 |
- Added libbonoboui-03-g11n-i18n-ui.diff to fix 4955030
|
|
221 |
* Wed Feb 11 2004 - <[email protected]>
|
|
222 |
- Bump to 2.5.2, add l10n-07 tarball, and manpage.
|
|
223 |
Port 02-potfiles_in patch
|
|
224 |
* Fri Feb 06 2004 - <[email protected]>
|
|
225 |
- add ACLOCAL_FLAGS to aclocal invocation
|
|
226 |
* Tue Jan 13 2004 - <[email protected]> 2.5.1-1
|
|
227 |
- Update to 2.5.1
|
|
228 |
* Thu Oct 09 2003 - <[email protected]> 2.4.0-1
|
|
229 |
- Update to 2.4.0
|
|
230 |
* Thu Aug 14 2003 - <[email protected]>
|
|
231 |
- move lib*.so to -devel, remove *.a, *.la
|
|
232 |
* Tue Aug 12 2003 - <[email protected]> 2.2.4-1
|
|
233 |
- Upgrade to 2.2.4
|
|
234 |
* Fri Aug 01 2003 - <[email protected]> 2.2.3-1
|
|
235 |
- Upgrade to 2.2.3
|
|
236 |
* Wed Jul 09 2003 - <[email protected]>
|
|
237 |
- add in sun po files
|
|
238 |
* Tue May 13 2003 - <[email protected]>
|
|
239 |
- Create new spec file for libbonoboui
|