ORBit2/ORBit2.spec

88 lines
2.5 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:11:05 -04:00
Name: ORBit2
Version: 2.14.19
Release: 21
Summary: A high-performance CORBA Object Request Broker
License: LGPLv2+ and GPLv2+
URL: http://www.gnome.org/projects/ORBit2
Source: http://download.gnome.org/sources/ORBit2/2.14/%{name}-%{version}.tar.bz2
BuildRequires: autoconf automake git gtk-doc libtool
BuildRequires: glib2-devel >= 2.2.0
BuildRequires: libIDL-devel >= 0.8.2-1
BuildRequires: pkgconfig >= 0.14
Patch0: ORBit2-2.14.3-multilib.patch
Patch1: ORBit2-2.14.3-ref-leaks.patch
Patch2: ORBit2-make-j-safety.patch
Patch3: ORBit2-allow-deprecated.patch
%description
ORBit is an efficient, free C-based ORB, compliant to CORBA version 2.2. CORBA
stands for Common Object Request Broker Architecture. CORBA in many ways is a
successor to the Remote Procedure Call (RPC) system common on UNIX and other
systems: the best oneline description of CORBA is that it is "Object Orientated
RPC".
The key point about CORBA is that it provides a way for two programs to
communicate information. The CORBA mechanism allows these two programs to be
running on different machines and written in different programming languages
while safely (and portably) exchanging data. They also could be running in the
same program, on the same machine, in which case the process of communication is
much quickeras ORBit recognises that it does not need to open any communication
channel.
%package devel
Summary: Development libraries, header files and utilities for ORBit
Requires: %{name} = %{version}-%{release}
Requires: automake indent pkgconfig
Requires: libIDL-devel >= 0.8.2-1
Requires: glib2-devel >= 2.2.0
Conflicts: ORBit-devel <= 1:0.5.8
%description devel
Development package for ORBit.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
libtoolize --force --copy
aclocal
autoconf
%configure --disable-gtk-doc --enable-purify --disable-static
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_libdir}/*.so.*
%{_libdir}/orbit-2.0/*.so*
%doc AUTHORS COPYING README TODO
%exclude %{_libdir}/*.la
%exclude %{_libdir}/ORBit-2.0/*.*a
%exclude %{_libdir}/orbit-2.0/*.*a
%files devel
%{_bindir}/ior-decode-2
%{_bindir}/linc-cleanup-sockets
%{_bindir}/orbit-idl-2
%{_bindir}/orbit2-config
%{_bindir}/typelib-dump
%{_libdir}/*.so
%{_libdir}/libname-server-2.a
%{_libdir}/pkgconfig/*
%{_datadir}/aclocal/*
%{_datadir}/gtk-doc
%{_datadir}/idl/orbit-2.0
%{_includedir}/*
%changelog
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.14.19-21
- Package init