X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ORBit2.spec;h=cf792c5b5a889947577b67015174223368022bee;hb=4356aaeec15f4de57dda6476894cfd5270ea2587;hp=5b60ad922b632a0dfb356adbdaab7b6c075ad803;hpb=9ce9fa265cf3b246a65b751b2b9de6f294cc88cb;p=packages%2FORBit2.git diff --git a/ORBit2.spec b/ORBit2.spec index 5b60ad9..cf792c5 100644 --- a/ORBit2.spec +++ b/ORBit2.spec @@ -2,38 +2,36 @@ Summary: High-performance CORBA Object Request Broker Summary(fr): Requète d'Objects CORBA Summary(pl): Wysoko wydajny CORBA Object Request Broker Name: ORBit2 -Version: 2.3.104 -Release: 2 +Version: 2.12.4 +Release: 1 Epoch: 1 -License: LGPL/GPL +License: GPL v2+/LGPL v2+ Group: Libraries -Group(de): Bibliotheken -Group(es): Bibliotecas -Group(fr): Librairies -Group(pl): Biblioteki -Group(pt): Bibliotecas -Group(pt_BR): Bibliotecas -Group(ru): âÉÂÌÉÏÔÅËÉ -Group(uk): â¦Â̦ÏÔÅËÉ -Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2 -Source1: %{name}-Makefile.shared -Patch0: %{name}-disable_test.patch -Patch1: %{name}-am15.patch -Patch2: %{name}-ac_fix.patch +Source0: http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.12/%{name}-%{version}.tar.bz2 +# Source0-md5: aa2cae6e7957c369edccbd98ba78dea9 +Patch0: %{name}-pthread.patch +Patch1: %{name}-popt.patch URL: http://www.labs.redhat.com/orbit/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.12 BuildRequires: automake -BuildRequires: glib2-devel >= 1.3.13 -BuildRequires: linc-devel >= 0.1.16 -BuildRequires: libIDL-devel >= 0.7.4 BuildRequires: flex +BuildRequires: glib2-devel >= 1:2.6.3 +BuildRequires: gtk-doc >= 1.3 BuildRequires: indent +BuildRequires: libIDL-devel >= 0.8.5 BuildRequires: libtool -BuildRequires: popt-devel >= 1.4 +BuildRequires: pkgconfig >= 1:0.14.0 +BuildRequires: popt-devel >= 1.5 +BuildRequires: rpmbuild(macros) >= 1.197 +Requires: glib2 >= 1:2.6.3 +Requires: libIDL >= 0.8.5 +Requires: popt >= 1.5 +Provides: linc = 1.1.1 +Obsoletes: libORBit2_0 +Obsoletes: linc +Conflicts: libbonobo < 2.3.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sysconfdir /etc - %description ORBit is a high-performance CORBA (Common Object Request Broker Architecture) ORB (object request broker). It allows programs to send @@ -58,22 +56,15 @@ Summary: Header files, and utilities for ORBit Summary(fr): Librairies statiques et fichiers entête pour ORBit Summary(pl): Pliki nag³ówkowe i u¿ytki dla ORBit Group: Development/Libraries -Group(de): Entwicklung/Bibliotheken -Group(es): Desarrollo/Bibliotecas -Group(fr): Development/Librairies -Group(pl): Programowanie/Biblioteki -Group(pt_BR): Desenvolvimento/Bibliotecas -Group(pt): Desenvolvimento/Bibliotecas -Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ -Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -Requires: %{name} = %{version} -Requires: glib2-devel +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: glib2-devel >= 1:2.6.3 Requires: indent -Requires: libIDL-devel -Requires: linc-devel -Requires: popt-devel +Requires: libIDL-devel >= 0.8.5 +Provides: linc-devel = 1.1.1 +Obsoletes: libORBit2_0-devel +Obsoletes: linc-devel -%description +%description devel devel ORBit is a high-performance CORBA ORB with support for the C language. It allows programs to send requests and receive replies from other programs, regardless of the locations of the two programs. @@ -97,15 +88,9 @@ program Summary: Static libraries for ORBit Summary(pl): Biblioteki statyczne dla ORBit Group: Development/Libraries -Group(de): Entwicklung/Bibliotheken -Group(es): Desarrollo/Bibliotecas -Group(fr): Development/Librairies -Group(pl): Programowanie/Biblioteki -Group(pt_BR): Desenvolvimento/Bibliotecas -Group(pt): Desenvolvimento/Bibliotecas -Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ -Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{epoch}:%{version}-%{release} +Provides: linc-static = 1.1.1 +Obsoletes: linc-static %description static ORBit is a high-performance CORBA ORB with support for the C language. @@ -121,60 +106,67 @@ Pozwala na wysy programów bez znajomo¶ci po³o¿enia tych dwóch programów. Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów -zlinkowanych statycznie u¿ywaj±cych technologii CORBA. +skonsolidowanych statycznie u¿ywaj±cych technologii CORBA. %prep -%setup -q +%setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 - -install %{SOURCE1} Makefile.shared %build -rm -f missing -libtoolize --copy --force -aclocal -autoconf -automake -a -c -%configure +%{__gtkdocize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --with-html-dir=%{_gtkdocdir} \ + --enable-gtk-doc \ + --enable-http %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - m4datadir=%{_aclocaldir} \ - pkgconfigdir=%{_pkgconfigdir} + DESTDIR=$RPM_BUILD_ROOT -gzip -9nf TODO NEWS +# no static module - shut up check-files +rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a} %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/name-client-2 +%doc AUTHORS NEWS README +%attr(755,root,root) %{_bindir}/ior-decode-2 +%attr(755,root,root) %{_bindir}/linc-cleanup-sockets %attr(755,root,root) %{_bindir}/orbit-idl-2 -%attr(755,root,root) %{_bindir}/orbit-name-server-2 +%attr(755,root,root) %{_bindir}/typelib-dump %attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%dir %{_libdir}/orbit-2.0 +%{_libdir}/orbit-2.0/*.so* %{_datadir}/idl/orbit-* %files devel %defattr(644,root,root,755) -%doc *.gz +%doc ChangeLog %attr(755,root,root) %{_bindir}/orbit2-config -%attr(755,root,root) %{_libdir}/lib*.?? +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la %{_libdir}/libname-server-2.a %{_pkgconfigdir}/*.pc %{_includedir}/orbit-* %{_aclocaldir}/* +%{_gtkdocdir}/%{name} %files static %defattr(644,root,root,755) %{_libdir}/libORBit-2.a +%{_libdir}/libORBit-imodule-2.a %{_libdir}/libORBitCosNaming-2.a