Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37044863
en ru br
ALT Linux repositórios
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 :: Sistema/Bibliotecas
RPM: ORBit2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 2.14
%def_disable static
%define _unpackaged_files_terminate_build 1

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

Summary: A high-performance CORBA Object Request Broker
Group: System/Libraries
License: LGPL/GPL
Url: http://orbit-resource.sf.net

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.14.0-alt-shared_name-server.patch
Patch2: %name-2.13.3-fix-link-as-needed.patch

%define libIDL_ver 0.8.2
%define glib_ver 2.6.0
%define pkgconfig_ver 0.14

Requires: lib%name = %version-%release

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

BuildRequires: docbook-dtds docbook-style-xsl gtk-doc indent libssl-devel 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 -p0
%patch2 -p0
%__subst 's,PKG_CONFIG_MIN_VERSION,\L&,g' configure.in

%build
gtkdocize --copy
%__autoreconf

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

# SMP-incompatible build

%make
%make check

%install
%makeinstall

%__bzip2 -9f 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/orbit-2.0
%_libdir/orbit-2.0/*.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

%exclude %_libdir/*/*.la

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009