]> git.pld-linux.org Git - packages/ORBit2.git/blobdiff - ORBit2.spec
- updated to 2.14.7
[packages/ORBit2.git] / ORBit2.spec
index 802e52bf588eaa2f703aafe5399d2792c48d660e..f9addb3fa5824b7f55896640ec4d7b7e6a2cd0a0 100644 (file)
@@ -1,30 +1,34 @@
 Summary:       High-performance CORBA Object Request Broker
-Summary(fr):   Requète d'Objects CORBA
-Summary(pl):   Wysoko wydajny CORBA Object Request Broker
+Summary(fr.UTF-8):     Requète d'Objects CORBA
+Summary(pl.UTF-8):     Wysoko wydajny CORBA Object Request Broker
 Name:          ORBit2
-Version:       2.3.110
+Version:       2.14.7
 Release:       1
 Epoch:         1
-License:       LGPL/GPL
+License:       GPL v2+/LGPL v2+
 Group:         Libraries
-Source0:       ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
-Patch0:                %{name}-am15.patch
-Patch1:                %{name}-ac_fix.patch
-Patch2:                %{name}-am16.patch
-URL:           http://www.labs.redhat.com/orbit/
-BuildRequires: autoconf
+Source0:       http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/%{name}-%{version}.tar.bz2
+# Source0-md5: 3440c44aaef14dd96e4ccd7ce22a7e6e
+Patch0:                %{name}-pthread.patch
+URL:           http://www.gnome.org/projects/ORBit2/
+BuildRequires: autoconf >= 2.54
 BuildRequires: automake
 BuildRequires: flex
-BuildRequires: glib2-devel >= 2.0.0
+BuildRequires: glib2-devel >= 1:2.12.9
+BuildRequires: gtk-doc >= 1.8
 BuildRequires: indent
-BuildRequires: libIDL-devel >= 0.7.4
+BuildRequires: libIDL-devel >= 0.8.7
 BuildRequires: libtool
-BuildRequires: linc-devel >= 0.1.22
-BuildRequires: popt-devel >= 1.4
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: pkgconfig >= 1:0.14.0
+BuildRequires: rpmbuild(macros) >= 1.197
+Requires:      glib2 >= 1:2.12.9
+Requires:      libIDL >= 0.8.7
+Provides:      linc = 1.1.1
+Obsoletes:     ORBit2-automake
 Obsoletes:     libORBit2_0
-
-%define                _sysconfdir     /etc
+Obsoletes:     linc
+Conflicts:     libbonobo < 2.3.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 ORBit is a high-performance CORBA (Common Object Request Broker
@@ -34,31 +38,43 @@ 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.
 
-%description -l fr
+%description -l fr.UTF-8
 ORBit est un ORB CORBA avec support pour le language C. Il permet a
-des programmes d'envoyer des requètes et recevoir de réponses d'autres
-programmes, indépendement de l'endroit ou sont les deux programmes.
+des programmes d'envoyer des requètes et recevoir de réponses d'autres
+programmes, indépendement de l'endroit ou sont les deux programmes.
+
+%description -l pl.UTF-8
+ORBit to wysokiej wydajności CORBA (Common Object Request Broker
+Architecture) ORB (object request broker). Pozwala na wysyłanie próśb
+i otrzymywanie odpowiedzi od innych programów bez znajomości położenia
+tych dwóch programów.
 
-%description -l pl
-ORBit to wysokiej wydajno¶ci CORBA (Common Object Request Broker
-Architecture) ORB (object request broker). Pozwala na wysy³anie pró¶b
-i otrzymywanie odpowiedzi od innych programów bez znajomo¶ci po³o¿enia
-tych dwóch programów.
+%package apidocs
+Summary:       ORBit API documentation
+Summary(pl.UTF-8):     Dokumentacja API ORBit
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+ORBit API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API ORBit.
 
 %package devel
 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
+Summary(fr.UTF-8):     Librairies statiques et fichiers entête pour ORBit
+Summary(pl.UTF-8):     Pliki nagłówkowe i użytki dla ORBit
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
-Requires:      glib2-devel >= 2.0.0
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      glib2-devel >= 1:2.12.9
 Requires:      indent
-Requires:      libIDL-devel
-Requires:      linc-devel
-Requires:      popt-devel
+Requires:      libIDL-devel >= 0.8.7
+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.
@@ -66,23 +82,25 @@ other programs, regardless of the locations of the two programs.
 This package includes the header files and utilities neecessary to
 write programs that use CORBA technology.
 
-%description devel -l fr
-Librairies statiques et fichiers entête requis pour le development ou
+%description devel -l fr.UTF-8
+Librairies statiques et fichiers entête requis pour le development ou
 la compilation de programmes utilisant ORBit.
 
-%description devel -l pl
-ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
-Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
-programów bez znajomo¶ci po³o¿enia tych dwóch programów.
+%description devel -l pl.UTF-8
+ORBit to wysokiej wydajności CORBA ORB ze wsparciem dla języka C.
+Pozwala na wysyłanie próśb i otrzymywanie odpowiedzi od innych
+programów bez znajomości położenia tych dwóch programów.
 
-Ten pakiet zawiera pliki nag³ówkowe oraz u¿ytki potrzebne do pisania
-programów u¿ywaj±cych technologi CORBA.
+Ten pakiet zawiera pliki nagłówkowe oraz użytki potrzebne do pisania
+programów używających technologi CORBA.
 
 %package static
 Summary:       Static libraries for ORBit
-Summary(pl):   Biblioteki statyczne dla ORBit
+Summary(pl.UTF-8):     Biblioteki statyczne dla ORBit
 Group:         Development/Libraries
-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.
@@ -92,67 +110,75 @@ programs, regardless of the locations of the two programs.
 This package includes static libraries neecessary to write programs
 statically linked that use CORBA technology.
 
-%description static -l pl
-ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
-Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
-programów bez znajomo¶ci po³o¿enia tych dwóch programów.
+%description static -l pl.UTF-8
+ORBit to wysokiej wydajności CORBA ORB ze wsparciem dla języka C.
+Pozwala na wysyłanie próśb i otrzymywanie odpowiedzi od innych
+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.
+Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów
+skonsolidowanych statycznie używających technologii CORBA.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-rm -f missing
-libtoolize --copy --force
-aclocal
+%{__gtkdocize}
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
-%configure
-%{__make}
+%configure \
+       --with-html-dir=%{_gtkdocdir} \
+       --enable-gtk-doc \
+       --enable-http
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       m4datadir=%{_aclocaldir} \
-       pkgconfigdir=%{_pkgconfigdir}
+%{__make} -j1 install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# 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)
+%doc AUTHORS NEWS README
 %attr(755,root,root) %{_bindir}/ior-decode-2
-%attr(755,root,root) %{_bindir}/name-client-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/*.la
-%{_libdir}/orbit-2.0/*.so*
+%attr(755,root,root) %{_libdir}/orbit-2.0/*.so*
 %{_datadir}/idl/orbit-*
 
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/%{name}
+
 %files devel
 %defattr(644,root,root,755)
-%doc TODO NEWS
+%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}/*
+%{_includedir}/orbit-*
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libORBit-2.a
+%{_libdir}/libORBit-imodule-2.a
 %{_libdir}/libORBitCosNaming-2.a
This page took 0.562675 seconds and 4 git commands to generate.