Sisyphus repository
Last update: 4 june 2020 | SRPMs: 17569 | Visits: 18698670
en ru br
ALT Linux repos
S:2.14.20-alt0.3
5.0: 2.14.17-alt1
4.1: 2.14.16-alt0.M41.1
4.0: 2.14.7-alt1
3.0: 2.12.2-alt1

Group :: System/Libraries
RPM: ORBit2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver_major 2.12
%def_disable static

Name: ORBit2
Version: %ver_major.2
Release: alt1

Summary: A high-performance CORBA Object Request Broker
Group: System/Libraries
License: LGPL/GPL
Url: http://orbit-resource.sf.net
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Patch: %name-2.7.3-alt-test_makefile.patch
Patch1: %name-2.7.1-alt-shared_name-server.patch

%define libIDL_ver 0.8.5
%define glib_ver 2.6.3

Requires: lib%name = %version-%release

BuildPreReq: libIDL-devel >= %libIDL_ver
BuildPreReq: glib2-devel >= %glib_ver

# Automatically added by buildreq on Wed Apr 21 2004

BuildRequires: docbook-dtds docbook-style-xsl gcc-c++ gcc-g77 glib2-devel gtk-doc indent libIDL-devel libpopt-devel libssl-devel libstdc++-devel pkgconfig xml-common xsltproc

%description
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to send
requests and receive replies from other programs, regardless of the
locations of the two programs. CORBA is an architecture that enables
communication between program objects, regardless of the programming
language they're written in or the operating system they run on.

You will need to install this package and ORBit-devel if you want to
write programs that use CORBA technology.

%package -n lib%name
Summary: Shared libraries, header files and utilities for ORBit
Group: System/Libraries
Requires: glib2 >= %glib_ver

%description -n lib%name
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to send
requests and receive replies from other programs, regardless of the
locations of the two programs. CORBA is an architecture that enables
communication between program objects, regardless of the programming
language they're written in or the operating system they run on.

This package contains the shared libraries required for ORBit
and components using it to function.

%package devel
Summary: Development libraries, header files and utilities for ORBit
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release
Requires: glib2-devel >= %glib_ver
Requires: indent
Requires: libIDL-devel >= %libIDL_ver

%description devel
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains the header files, libraries and utilities
necessary to write programs that use CORBA technology. If you want to
write such programs, you'll also need to install the ORBit2 package.

%package devel-doc
Summary: Development documentation for ORBit
Group: Development/C
Conflicts: %name < %version-%release

%description devel-doc
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains development documentation for ORBit.

%package devel-static
Summary: Static libraries for ORBit2
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description devel-static
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains static versions of libraries from ORBit2 package.

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q
%patch -p1
%patch1 -p1
%__subst 's,PKG_CONFIG_MIN_VERSION,\L&,g' configure.in

%build
gtkdocize --copy
autoreconf -ifsv

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

# SMP-incompatible build

%make
#%make check

%install
%makeinstall

# remove non-packaged files

%__rm -f %buildroot%_libdir/*/*.la

%__bzip2 -9fk ChangeLog

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/typelib-dump
%_bindir/linc-cleanup-sockets
%dir %_libdir/*
%_libdir/*/*.so
%_datadir/idl/*
%doc AUTHORS NEWS README

%files -n lib%name
%_libdir/*.so.*

%files devel
%_bindir/orbit2-config
%_bindir/orbit-idl-2
%_bindir/ior-decode-2
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*
%_datadir/aclocal/*
%doc ChangeLog* HACKING MAINTAINERS TODO

%files devel-doc
%_gtk_docdir/*

%if_enabled static
%files devel-static
%_libdir/*.a
%_libdir/*/*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin