author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19733 | 2ce91108f14e |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package libbonoboui |
|
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 |
# |
|
49 | 8 |
Name: libbonoboui |
9 |
License: LGPL |
|
150 | 10 |
Group: System/Libraries/GNOME |
19227 | 11 |
Version: 2.8.1 |
19438 | 12 |
Release: 2 |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
150 | 15 |
Summary: Bonobo Base User Interface Library |
19227 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libbonoboui/2.8/libbonoboui-%{version}.tar.bz2 |
19719 | 17 |
Source1: libbonoboui-2.3.gz |
19227 | 18 |
Patch1: libbonoboui-01-solaris-backcompat.diff |
19733 | 19 |
Patch2: libbonoboui-02-nautilus-crash.diff |
49 | 20 |
URL: http://www.gnome.org |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
150 | 22 |
Docdir: %{_defaultdocdir}/doc |
23 |
Autoreqprov: on |
|
1080 | 24 |
Prereq: /sbin/ldconfig |
49 | 25 |
|
3628 | 26 |
%define libgnomecanvas_version 2.6.0 |
27 |
%define libglade_version 2.3.6 |
|
28 |
%define libbonobo_version 2.6.0 |
|
29 |
%define libgnome_version 2.6.0 |
|
199 | 30 |
|
31 |
Requires: libgnomecanvas >= %{libgnomecanvas_version} |
|
32 |
Requires: libbonobo >= %{libbonobo_version} |
|
33 |
Requires: libglade >= %{libglade_version} |
|
3628 | 34 |
Requires: libgnome >= %{libgnome_version} |
199 | 35 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} |
36 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
37 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
3628 | 38 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
152 | 39 |
|
49 | 40 |
%description |
150 | 41 |
libbonoboui is one of the base user interface libraries for the GNOME Desktop, containing |
42 |
convenient API for writing reusable components. |
|
43 |
||
44 |
%package devel |
|
45 |
Summary: Bonobo Base User Interface Development Library |
|
46 |
Group: Development/Libraries/GNOME |
|
47 |
Requires: %name = %version-%release |
|
199 | 48 |
Requires: libbonobo-devel >= %{libbonobo_version} |
150 | 49 |
|
50 |
%description devel |
|
51 |
libbonoboui is one of the base user interface libraries for the GNOME Desktop, containing |
|
52 |
convenient API for writing reusable components. |
|
49 | 53 |
|
54 |
%prep |
|
1866 | 55 |
%setup -q |
19227 | 56 |
%ifos solaris |
1587 | 57 |
%patch1 -p1 |
4623 | 58 |
%endif |
19733 | 59 |
%patch2 -p1 |
49 | 60 |
|
61 |
%build |
|
3263 | 62 |
%ifos linux |
63 |
if [ -x /usr/bin/getconf ]; then |
|
64 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
65 |
fi |
|
66 |
%else |
|
3846 | 67 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 68 |
%endif |
69 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
70 |
CPUS=1 |
|
71 |
fi |
|
72 |
||
1587 | 73 |
libtoolize --force |
19243 | 74 |
aclocal $ACLOCAL_FLAGS -I . |
1587 | 75 |
autoheader |
76 |
automake -a -c -f |
|
77 |
autoconf |
|
605 | 78 |
CFLAGS="$RPM_OPT_FLAGS" \ |
150 | 79 |
./configure --prefix=%{_prefix} \ |
199 | 80 |
--sysconfdir=%{_sysconfdir} \ |
3692 | 81 |
--enable-gtk-doc |
3263 | 82 |
make -j $CPUS |
49 | 83 |
|
84 |
%install |
|
150 | 85 |
make DESTDIR=$RPM_BUILD_ROOT install |
1624 | 86 |
install -d $RPM_BUILD_ROOT/usr/share/man/man3 |
19719 | 87 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/man/man3 |
3628 | 88 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
89 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
90 |
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a |
|
91 |
rm $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.la |
|
49 | 92 |
|
93 |
%clean |
|
94 |
rm -rf $RPM_BUILD_ROOT |
|
95 |
||
150 | 96 |
%post |
97 |
/sbin/ldconfig |
|
98 |
||
99 |
%postun |
|
100 |
/sbin/ldconfig |
|
101 |
||
49 | 102 |
%files |
199 | 103 |
%{_datadir}/locale/*/LC_MESSAGES/libbonoboui-2.0.mo |
1058 | 104 |
%{_libdir}/libbonoboui-2*so.* |
199 | 105 |
%{_libdir}/libglade/2.0/libbonobo*so* |
49 | 106 |
|
107 |
%files devel |
|
199 | 108 |
%{_bindir}/test-moniker |
19275 | 109 |
%{_bindir}/bonobo-browser |
199 | 110 |
%{_includedir}/libbonoboui-2.0/*.h |
111 |
%{_includedir}/libbonoboui-2.0/bonobo/*.h |
|
1058 | 112 |
%{_libdir}/libbonoboui-2*so |
199 | 113 |
%{_libdir}/bonobo-2.0/samples/* |
114 |
%{_libdir}/bonobo/servers/*.server |
|
19275 | 115 |
%{_datadir}/applications |
199 | 116 |
%{_datadir}/gnome-2.0/ui/*.xml |
117 |
%{_libdir}/pkgconfig/*.pc |
|
118 |
%{_datadir}/gtk-doc/html/* |
|
3628 | 119 |
%{_mandir}/man3/*.gz |
49 | 120 |
|
121 |
%changelog |
|
19438 | 122 |
* Wed Jun 15 2005 - [email protected] |
123 |
- Add more libs to LDADD so that it builds with the new pkgconfig |
|
124 |
||
19643 | 125 |
* Thu May 19 2005 - [email protected] |
126 |
- Added patch libbonoboui-05-nautilus-crash.diff to fix a nauitlus crash |
|
127 |
Bug #6250742. |
|
128 |
||
19227 | 129 |
* Fri May 06 2005 - [email protected] |
130 |
- Bump to 2.8.1 |
|
131 |
||
4829 | 132 |
* Thu Jan 13 2005 - [email protected] |
4828 | 133 |
- URL updated. |
134 |
||
4623 | 135 |
* Wed Nov 23 2004 - [email protected] |
136 |
- Added patch 4 to support bonobo UI xml integration point that we |
|
137 |
used in GNOME 2.0. |
|
138 |
||
3692 | 139 |
* Wed Aug 18 2004 - [email protected] |
140 |
- added --enable-gtk-doc |
|
141 |
||
3554 | 142 |
* Thu Aug 12 2004 - [email protected] |
143 |
- Added libbonoboui-03-g11n-i18n-ui.diff to localize Evolution help menu. |
|
144 |
- Fixed 5078956. |
|
145 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
146 |
* 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
|
147 |
- Updated l10n content to libbonoboui-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
|
148 |
|
3628 | 149 |
* Wed Jul 07 2004 - [email protected] |
150 |
- Ported to rpm4 |
|
151 |
||
3263 | 152 |
* Wed Jul 07 2004 - [email protected] |
153 |
- added "-j $CPUS" to make to speed up builds |
|
154 |
||
3206 | 155 |
* Fri Jun 25 2004 - [email protected] |
156 |
- Added patch libbonoboui-02-gmessage.diff to fix a crash |
|
157 |
in ggv. Bug #5052487. |
|
158 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
159 |
* 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
|
160 |
- Updated l10n content to libbonoboui-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
|
161 |
|
2402 | 162 |
* Tue Apr 06 2004 - [email protected] |
163 |
- Bump to 2.6.0, remove uninstalled pc patch, rename |
|
164 |
potfiles and remove broken g11n-ui patch. |
|
165 |
||
2350 | 166 |
* Mon Mar 29 2004 - [email protected] |
167 |
- Updated l10n content to libbonoboui-l10n-po-1.0.tar.bz2 |
|
168 |
||
2273 | 169 |
* Mon Mar 22 2004 - <[email protected]> |
170 |
- Added libbonoboui-03-g11n-i18n-ui.diff to fix 4955030 |
|
171 |
||
1624 | 172 |
* Wed Feb 11 2004 - <[email protected]> |
173 |
- Bump to 2.5.2, add l10n-07 tarball, and manpage. |
|
174 |
Port 02-potfiles_in patch |
|
175 |
||
1587 | 176 |
* Fri Feb 06 2004 - <[email protected]> |
177 |
- add ACLOCAL_FLAGS to aclocal invocation |
|
178 |
||
1530 | 179 |
* Tue Jan 13 2004 - <[email protected]> 2.5.1-1 |
180 |
- Update to 2.5.1 |
|
181 |
||
1218 | 182 |
* Thu Oct 09 2003 - <[email protected]> 2.4.0-1 |
183 |
- Update to 2.4.0 |
|
184 |
||
1058 | 185 |
* Thu Aug 14 2003 - <[email protected]> |
186 |
- move lib*.so to -devel, remove *.a, *.la |
|
187 |
||
1041 | 188 |
* Tue Aug 12 2003 - <[email protected]> 2.2.4-1 |
189 |
- Upgrade to 2.2.4 |
|
190 |
||
920 | 191 |
* Fri Aug 01 2003 - <[email protected]> 2.2.3-1 |
192 |
- Upgrade to 2.2.3 |
|
193 |
||
508 | 194 |
* Wed Jul 09 2003 - <[email protected]> |
195 |
- add in sun po files |
|
196 |
||
920 | 197 |
* Tue May 13 2003 - <[email protected]> |
150 | 198 |
- Create new spec file for libbonoboui |