3 %bcond_without static_libs # don't build static library
5 Summary: Bonobo user interface components
6 Summary(pl): Komponenty interfejsu u¿ytkownika do Bonobo
12 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.14/%{name}-%{version}.tar.bz2
13 # Source0-md5: dc26dc17cddc625cac37ecfab263a51a
14 Patch0: %{name}-desktop.patch
15 URL: http://www.gnome.org/
16 BuildRequires: GConf2-devel >= 2.8.0.1
17 BuildRequires: ORBit2-devel >= 2.12.0
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: gnome-common >= 2.8.0
21 BuildRequires: gtk+2-devel >= 2:2.6.0
22 BuildRequires: gtk-doc >= 1.0
23 BuildRequires: intltool >= 0.29
24 BuildRequires: libbonobo-devel >= 2.13.0
25 BuildRequires: libglade2-devel >= 1:2.4.0
26 BuildRequires: libgnome-devel >= 2.13.7
27 BuildRequires: libgnomecanvas-devel >= 2.13.0
28 BuildRequires: libtool
29 BuildRequires: libxml2-devel >= 2.6.13
30 BuildRequires: pkgconfig
31 BuildRequires: rpmbuild(macros) >= 1.197
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Bonobo is a component system based on CORBA, used by the GNOME
36 desktop. libbonoboui contains the user interface related components
37 that come with Bonobo.
40 Bonobo jest systemem komponentów bazuj±cym na CORB-ie, u¿ywanym przez
41 ¶rodowisko GNOME. libbonoboui zawiera komponenty zwi±zane z
42 interfejsem u¿ytkownika, które przychodz± z Bonobo.
45 Summary: Headers for libbonoboui
46 Summary(pl): Pliki nag³ówkowe libbonoboui
47 Group: X11/Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: GConf2-devel >= 2.8.0.1
50 Requires: libbonobo-devel >= 2.8.1
51 Requires: libglade2-devel >= 1:2.4.0
52 Requires: libgnome-devel >= 2.8.0
53 Requires: libgnomecanvas-devel >= 2.8.0
54 Requires: libxml2-devel >= 2.6.13
57 Bonobo is a component system based on CORBA, used by the GNOME
58 desktop. libbonoboui contains GUI components that come with Bonobo.
60 This package contains header files used to compile programs that use
63 %description devel -l pl
64 Ten pakiet zawiera pliki nag³ówkowe potrzebne do kompilacji programów
65 u¿ywaj±cych libbonoboui.
67 %package -n gnome-bonobo-browser
68 Summary: Bonobo component viewer
69 Summary(pl): Przegl±darka komponentów bonobo
70 Group: Applications/System
71 Requires: %{name} = %{version}-%{release}
73 %description -n gnome-bonobo-browser
74 Shows available Bonobo components.
76 %description -n gnome-bonobo-browser -l pl
77 Wy¶wietla dostêpne komponenty bonobo.
80 Summary: Static libbonoboui library
81 Summary(pl): Statyczna biblioteka libbonoboui
82 Group: X11/Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
86 This package contains static version of libbonoboui.
88 %description static -l pl
89 Ten pakiet zawiera statyczn± wersjê biblioteki libbonoboui.
102 --with-html-dir=%{_gtkdocdir} \
103 %{!?with_static_libs:--disable-static}
108 rm -rf $RPM_BUILD_ROOT
111 DESTDIR=$RPM_BUILD_ROOT
113 # no static modules and *.la for glade modules
114 rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.{la,a}
116 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
118 %find_lang %{name} --with-gnome --all-name
121 rm -rf $RPM_BUILD_ROOT
123 %post -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS ChangeLog NEWS README
129 %attr(755,root,root) %{_bindir}/test-moniker
130 %attr(755,root,root) %{_libdir}/lib*.so.*.*
131 %attr(755,root,root) %{_libdir}/libglade/2.0/*.so
132 %{_libdir}/bonobo/servers/*
133 %{_libdir}/bonobo-2.0/samples/*
134 %{_datadir}/gnome-2.0
137 %defattr(644,root,root,755)
138 %doc doc/*.xml doc/*.txt doc/*.html doc/*.dtd
139 %attr(755,root,root) %{_libdir}/lib*.so
141 %{_pkgconfigdir}/*.pc
142 %{_includedir}/libbonoboui-2.0
143 %{_gtkdocdir}/%{name}
145 %if %{with static_libs}
147 %defattr(644,root,root,755)
151 %files -n gnome-bonobo-browser
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/bonobo-browser
154 %{_desktopdir}/*.desktop