Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570086
en ru br
Репозитории ALT
S:2.32.1-alt5
5.1: 2.24.2-alt1
4.1: 2.22.0-alt1.1.M41.1
4.0: 2.16.0-alt1
3.0: 2.10.0-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libbonobo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define cvsdate 20040426
%undefine cvsdate
%define ver_major 2.10
%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
Packager: Yuri N. Sedunov <aris at altlinux.ru>

%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

%define ORBit_ver 2.12.1
%define libxml2_ver 2.6.17
%define intltool_ver 0.33
%define gtk_doc_ver 1.3

BuildPreReq: gnome-common
BuildPreReq: ORBit2-devel >= %ORBit_ver
BuildPreReq: libxml2-devel >= %libxml2_ver
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: gtk-doc >= %gtk_doc_ver

# Automatically added by buildreq on Mon Apr 26 2004

BuildRequires: ORBit2-devel XFree86-utils docbook-dtds docbook-style-xsl flex gcc-c++ gcc-g77 glib2-devel gtk-doc indent intltool libpopt-devel libstdc++-devel libxml2-devel perl-XML-Parser pkgconfig xml-common xsltproc zlib-devel

%description
Bonobo is a component system based on CORBA, used by the GNOME desktop.

%package -n %{name}2
Summary: Bonobo component system
Group: System/Libraries
License: LGPL
Obsoletes: bonobo-activation
Obsoletes: libbonobo-activation
Provides: bonobo-activation = %version-%release
Provides: libbonobo-activation = %version-%release
Requires: libORBit2 >= %ORBit_ver

%description -n %{name}2
Bonobo is a component system based on CORBA, used by the GNOME desktop.

%package -n %{name}2-devel
Summary: Libraries and headers for libbonobo
Group: Development/GNOME and GTK+
License: GPL/LGPL
Requires: %{name}2 = %version-%release
Requires: ORBit2-devel >= %ORBit_ver
Requires: libxml2-devel >= %libxml2_ver
Obsoletes: bonobo-activation-devel
Provides: bonobo-activation-devel = %version-%release
Conflicts: bonobo-devel < 1.0.8

%description -n %{name}2-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 -n %{name}2-devel-doc
Summary: Development documentation for Bonobo
Group: Development/GNOME and GTK+
Conflicts: %{name}2 < %version-%release

%description -n %{name}2-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

%__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
intltoolize --copy --force
gtkdocize --copy
#! automake don't install mkinstalldirs
%__cp %_datadir/automake-1.8/mkinstalldirs .
%endif

%__rm -f missing
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf

%configure \
%{subst_enable static} \
   --enable-gtk-doc

# SMP-incompatible build

%make

%install
%makeinstall

# remove non-packaged files

%__rm -f %buildroot%_libdir/bonobo/monikers/*.la
%__rm -f %buildroot%_libdir/orbit-*/*.la

%find_lang %name-2.0

%post -n %{name}2 -p %post_ldconfig
%postun -n %{name}2 -p %postun_ldconfig

%files -n %{name}2 -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

%files -n %{name}2-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 -n %{name}2-devel-doc
%_gtk_docdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin