ALT Linux repos
Group :: System/Libraries
RPM: libbonobo
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define cvsdate 20040426
%undefine cvsdate
%define ver_major 2.16
%def_disable static
Name: libbonobo
Version: %ver_major.0
Release: alt1
Summary: Bonobo component system
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
%ifndef cvsdate
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%else
Source: %name-%version-%cvsdate.tar.bz2
%endif
Patch: %name-2.3.2-alt-tests_makefile.patch
Patch1: %name-2.13-fix-link-as-needed.patch
Obsoletes: bonobo-activation
Obsoletes: libbonobo-activation
Obsoletes: libbonobo2 < 2.15.0
Provides: bonobo-activation = %version-%release
Provides: libbonobo-activation = %version-%release
Provides: libbonobo2 = %version-%release
# From configure.in
%define ORBit_ver 2.9.2
%define glib_ver 2.8.0
%define popt_ver 1.5
%define libxml2_ver 2.4.20
%define intltool_ver 0.35
%define gtk_doc_ver 1.0
BuildPreReq: gnome-common
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libpopt-devel >= %popt_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver
BuildRequires: flex zlib-devel
%description
Bonobo is a component system based on CORBA, used by the GNOME desktop.
%package devel
Summary: Libraries and headers for libbonobo
Group: Development/GNOME and GTK+
License: GPL/LGPL
Requires: %name = %version-%release
Requires: ORBit2-devel >= %ORBit_ver
Requires: libxml2-devel >= %libxml2_ver
Requires: libpopt-devel >= %popt_ver
Obsoletes: bonobo-activation-devel
Obsoletes: libbonobo2-devel < 2.15.0
Provides: bonobo-activation-devel = %version-%release
Provides: libbonobo2-devel = %version-%release
Conflicts: bonobo-devel < 1.0.8
%description devel
Bonobo is a component system based on CORBA, used by the GNOME desktop.
This package contains header files used to compile programs that
use Bonobo.
%package devel-doc
Summary: Development documentation for Bonobo
Group: Development/GNOME and GTK+
Obsoletes: libbonobo2-devel-doc < 2.15.0
Provides: libbonobo2-devel-doc = %version-%release
Conflicts: %name < %version-%release
%description devel-doc
Bonobo is a component system based on CORBA, used by the GNOME desktop.
This package contains development documentation for Bonobo.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_bindir
%prep
%ifndef cvsdate
%setup -q -n %name-%version
%else
%setup -q -n %name
%endif
%patch -p1
%patch1
%__subst 's,\${prefix}/lib,%_libdir,;s,\${prefix}/etc,%_sysconfdir,' \
activation-server/bonobo-activation-server.1
%__rm -f samples/echo/Bonobo_Sample_Echo{-{common,skels,stubs}.c,.h}
%build
%ifdef cvsdate
glib-gettextize --copy --force
gtkdocize --copy
%endif
intltoolize --copy --force
%__autoreconf
%configure \
%{subst_enable static} \
--enable-gtk-doc
# SMP-incompatible build
%make
#make check
%install
%makeinstall
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_bindir/bonobo-activation-server
%_bindir/activation-client
%_bindir/bonobo-slay
%_sbindir/bonobo-activation-sysconf
%_libdir/*.so.*
%dir %_libdir/bonobo
%dir %_libdir/bonobo/servers
%_libdir/bonobo/servers/*
%exclude %_libdir/bonobo/servers/Bonobo_Sample_Echo.server
%dir %_libdir/bonobo/monikers
%_libdir/bonobo/monikers/*.so
%_libdir/orbit-*/*.so
%_datadir/idl/*
%dir %_sysconfdir/bonobo-activation
%config %_sysconfdir/bonobo-activation/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README
%exclude %_libdir/bonobo/monikers/*.la
%exclude %_libdir/orbit-*/*.la
%files devel
%_bindir/bonobo-activation-run-query
%_bindir/echo-client-2
%_libdir/bonobo/servers/Bonobo_Sample_Echo.server
%_includedir/*
%_libdir/*.so
%dir %_libdir/bonobo-2.0
%_libdir/bonobo-2.0/samples/*
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%changelog
…
Full changelog you can see here
%undefine cvsdate
%define ver_major 2.16
%def_disable static
Name: libbonobo
Version: %ver_major.0
Release: alt1
Summary: Bonobo component system
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
%ifndef cvsdate
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
%else
Source: %name-%version-%cvsdate.tar.bz2
%endif
Patch: %name-2.3.2-alt-tests_makefile.patch
Patch1: %name-2.13-fix-link-as-needed.patch
Obsoletes: bonobo-activation
Obsoletes: libbonobo-activation
Obsoletes: libbonobo2 < 2.15.0
Provides: bonobo-activation = %version-%release
Provides: libbonobo-activation = %version-%release
Provides: libbonobo2 = %version-%release
# From configure.in
%define ORBit_ver 2.9.2
%define glib_ver 2.8.0
%define popt_ver 1.5
%define libxml2_ver 2.4.20
%define intltool_ver 0.35
%define gtk_doc_ver 1.0
BuildPreReq: gnome-common
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libpopt-devel >= %popt_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver
BuildRequires: flex zlib-devel
%description
Bonobo is a component system based on CORBA, used by the GNOME desktop.
%package devel
Summary: Libraries and headers for libbonobo
Group: Development/GNOME and GTK+
License: GPL/LGPL
Requires: %name = %version-%release
Requires: ORBit2-devel >= %ORBit_ver
Requires: libxml2-devel >= %libxml2_ver
Requires: libpopt-devel >= %popt_ver
Obsoletes: bonobo-activation-devel
Obsoletes: libbonobo2-devel < 2.15.0
Provides: bonobo-activation-devel = %version-%release
Provides: libbonobo2-devel = %version-%release
Conflicts: bonobo-devel < 1.0.8
%description devel
Bonobo is a component system based on CORBA, used by the GNOME desktop.
This package contains header files used to compile programs that
use Bonobo.
%package devel-doc
Summary: Development documentation for Bonobo
Group: Development/GNOME and GTK+
Obsoletes: libbonobo2-devel-doc < 2.15.0
Provides: libbonobo2-devel-doc = %version-%release
Conflicts: %name < %version-%release
%description devel-doc
Bonobo is a component system based on CORBA, used by the GNOME desktop.
This package contains development documentation for Bonobo.
%define _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_bindir
%prep
%ifndef cvsdate
%setup -q -n %name-%version
%else
%setup -q -n %name
%endif
%patch -p1
%patch1
%__subst 's,\${prefix}/lib,%_libdir,;s,\${prefix}/etc,%_sysconfdir,' \
activation-server/bonobo-activation-server.1
%__rm -f samples/echo/Bonobo_Sample_Echo{-{common,skels,stubs}.c,.h}
%build
%ifdef cvsdate
glib-gettextize --copy --force
gtkdocize --copy
%endif
intltoolize --copy --force
%__autoreconf
%configure \
%{subst_enable static} \
--enable-gtk-doc
# SMP-incompatible build
%make
#make check
%install
%makeinstall
%find_lang %name-2.0
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -f %name-2.0.lang
%_bindir/bonobo-activation-server
%_bindir/activation-client
%_bindir/bonobo-slay
%_sbindir/bonobo-activation-sysconf
%_libdir/*.so.*
%dir %_libdir/bonobo
%dir %_libdir/bonobo/servers
%_libdir/bonobo/servers/*
%exclude %_libdir/bonobo/servers/Bonobo_Sample_Echo.server
%dir %_libdir/bonobo/monikers
%_libdir/bonobo/monikers/*.so
%_libdir/orbit-*/*.so
%_datadir/idl/*
%dir %_sysconfdir/bonobo-activation
%config %_sysconfdir/bonobo-activation/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README
%exclude %_libdir/bonobo/monikers/*.la
%exclude %_libdir/orbit-*/*.la
%files devel
%_bindir/bonobo-activation-run-query
%_bindir/echo-client-2
%_libdir/bonobo/servers/Bonobo_Sample_Echo.server
%_includedir/*
%_libdir/*.so
%dir %_libdir/bonobo-2.0
%_libdir/bonobo-2.0/samples/*
%_libdir/pkgconfig/*
%files devel-doc
%_gtk_docdir/*
%changelog
…
Full changelog you can see here