]> git.pld-linux.org Git - packages/ORBit2.git/blame - ORBit2.spec
- updated to 2.14.16
[packages/ORBit2.git] / ORBit2.spec
CommitLineData
31314da7
KK
1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4%bcond_without static_libs # don't build static library
5#
15a7761f 6Summary: High-performance CORBA Object Request Broker
2b606d5d
ER
7Summary(fr.UTF-8): Requète d'Objects CORBA
8Summary(pl.UTF-8): Wysoko wydajny CORBA Object Request Broker
15a7761f 9Name: ORBit2
1dcdc6c5 10Version: 2.14.16
a1c33a58 11Release: 1
15a7761f 12Epoch: 1
06a0d95e 13License: GPL v2+/LGPL v2+
15a7761f 14Group: Libraries
2e199856 15Source0: http://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/%{name}-%{version}.tar.bz2
1dcdc6c5 16# Source0-md5: f4898b999f39c79d55c13c0e0f597c71
785034f7 17Patch0: %{name}-pthread.patch
dfedb77e 18URL: http://www.gnome.org/projects/ORBit2/
f9509dda 19BuildRequires: autoconf >= 2.54
8cc9129b 20BuildRequires: automake >= 1:1.9
15a7761f 21BuildRequires: flex
2e199856 22BuildRequires: glib2-devel >= 1:2.14.1
31314da7 23%{?with_apidocs:BuildRequires: gtk-doc >= 1.8}
15a7761f 24BuildRequires: indent
8cc9129b 25BuildRequires: libIDL-devel >= 0.8.10
15a7761f 26BuildRequires: libtool
08a91196 27BuildRequires: pkgconfig >= 1:0.14.0
014ff390 28BuildRequires: rpmbuild(macros) >= 1.197
2e199856 29Requires: glib2 >= 1:2.14.1
8cc9129b 30Requires: libIDL >= 0.8.10
a675e2c3 31Provides: linc = 1.1.1
a1c33a58 32Obsoletes: ORBit2-automake
2326f816 33Obsoletes: libORBit2_0
de4e31a9 34Obsoletes: linc
d1163085 35Conflicts: libbonobo < 2.3.2
de4e31a9 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15a7761f 37
15a7761f 38%description
39ORBit is a high-performance CORBA (Common Object Request Broker
40Architecture) ORB (object request broker). It allows programs to send
41requests and receive replies from other programs, regardless of the
42locations of the two programs. CORBA is an architecture that enables
43communication between program objects, regardless of the programming
44language they're written in or the operating system they run on.
45
ebb4b598 46%description -l fr.UTF-8
15a7761f 47ORBit est un ORB CORBA avec support pour le language C. Il permet a
ebb4b598
JR
48des programmes d'envoyer des requètes et recevoir de réponses d'autres
49programmes, indépendement de l'endroit ou sont les deux programmes.
15a7761f 50
ebb4b598
JR
51%description -l pl.UTF-8
52ORBit to wysokiej wydajności CORBA (Common Object Request Broker
53Architecture) ORB (object request broker). Pozwala na wysyłanie próśb
54i otrzymywanie odpowiedzi od innych programów bez znajomości położenia
55tych dwóch programów.
15a7761f 56
e9c1c936
MB
57%package apidocs
58Summary: ORBit API documentation
2b606d5d 59Summary(pl.UTF-8): Dokumentacja API ORBit
e9c1c936
MB
60Group: Documentation
61Requires: gtk-doc-common
62
63%description apidocs
64ORBit API documentation.
65
ebb4b598 66%description apidocs -l pl.UTF-8
e9c1c936
MB
67Dokumentacja API ORBit.
68
15a7761f 69%package devel
70Summary: Header files, and utilities for ORBit
2b606d5d
ER
71Summary(fr.UTF-8): Librairies statiques et fichiers entête pour ORBit
72Summary(pl.UTF-8): Pliki nagłówkowe i użytki dla ORBit
15a7761f 73Group: Development/Libraries
aeec66f9 74Requires: %{name} = %{epoch}:%{version}-%{release}
2e199856 75Requires: glib2-devel >= 1:2.14.1
15a7761f 76Requires: indent
8cc9129b 77Requires: libIDL-devel >= 0.8.10
de4e31a9 78Provides: linc-devel = 1.1.1
2326f816 79Obsoletes: libORBit2_0-devel
de4e31a9 80Obsoletes: linc-devel
15a7761f 81
9a6f5c03 82%description devel
15a7761f 83devel ORBit is a high-performance CORBA ORB with support for the C
84language. It allows programs to send requests and receive replies from
85other programs, regardless of the locations of the two programs.
86
87This package includes the header files and utilities neecessary to
88write programs that use CORBA technology.
89
ebb4b598
JR
90%description devel -l fr.UTF-8
91Librairies statiques et fichiers entête requis pour le development ou
15a7761f 92la compilation de programmes utilisant ORBit.
93
ebb4b598
JR
94%description devel -l pl.UTF-8
95ORBit to wysokiej wydajności CORBA ORB ze wsparciem dla języka C.
96Pozwala na wysyłanie próśb i otrzymywanie odpowiedzi od innych
97programów bez znajomości położenia tych dwóch programów.
15a7761f 98
ebb4b598
JR
99Ten pakiet zawiera pliki nagłówkowe oraz użytki potrzebne do pisania
100programów używających technologi CORBA.
15a7761f 101
102%package static
103Summary: Static libraries for ORBit
2b606d5d 104Summary(pl.UTF-8): Biblioteki statyczne dla ORBit
15a7761f 105Group: Development/Libraries
aeec66f9 106Requires: %{name}-devel = %{epoch}:%{version}-%{release}
de4e31a9 107Provides: linc-static = 1.1.1
108Obsoletes: linc-static
15a7761f 109
110%description static
111ORBit is a high-performance CORBA ORB with support for the C language.
112It allows programs to send requests and receive replies from other
113programs, regardless of the locations of the two programs.
114
115This package includes static libraries neecessary to write programs
116statically linked that use CORBA technology.
117
ebb4b598
JR
118%description static -l pl.UTF-8
119ORBit to wysokiej wydajności CORBA ORB ze wsparciem dla języka C.
120Pozwala na wysyłanie próśb i otrzymywanie odpowiedzi od innych
121programów bez znajomości położenia tych dwóch programów.
15a7761f 122
ebb4b598
JR
123Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów
124skonsolidowanych statycznie używających technologii CORBA.
15a7761f 125
126%prep
cf7133e9 127%setup -q
785034f7 128%patch0 -p1
a7c9c2dc 129
31314da7
KK
130%if !%{with apidocs}
131echo 'EXTRA_DIST=' > gtk-doc.make
132echo 'AC_DEFUN([GTK_DOC_CHECK],[])' >> acinclude.m4
133%endif
134
15a7761f 135%build
31314da7 136%{?with_apidocs:%{__gtkdocize}}
81281665 137%{__libtoolize}
f0dfa4ac 138%{__aclocal}
c8ee50e8 139%{__autoconf}
cf7133e9 140%{__autoheader}
c8ee50e8 141%{__automake}
6c9a755d 142%configure \
505e786e 143 --with-html-dir=%{_gtkdocdir} \
31314da7
KK
144 %{!?with_static_libs:--disable-static} \
145 %{?with_apidocs:--enable-gtk-doc}
5fd16c5e 146%{__make} -j1
15a7761f 147
148%install
149rm -rf $RPM_BUILD_ROOT
150
5fd16c5e 151%{__make} -j1 install \
1788660e 152 DESTDIR=$RPM_BUILD_ROOT
15a7761f 153
3be0f078
JB
154# no static module - shut up check-files
155rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a}
156
15a7761f 157%clean
158rm -rf $RPM_BUILD_ROOT
159
9d802abb 160%post -p /sbin/ldconfig
161%postun -p /sbin/ldconfig
1298b9d9 162
15a7761f 163%files
164%defattr(644,root,root,755)
8d7b77d9 165%doc AUTHORS NEWS README
74405570 166%attr(755,root,root) %{_bindir}/ior-decode-2
de4e31a9 167%attr(755,root,root) %{_bindir}/linc-cleanup-sockets
aa273dca 168%attr(755,root,root) %{_bindir}/orbit-idl-2
74405570 169%attr(755,root,root) %{_bindir}/typelib-dump
8cc9129b
MB
170%attr(755,root,root) %{_libdir}/libORBit-2.so.*.*.*
171%attr(755,root,root) %ghost %{_libdir}/libORBit-2.so.0
172%attr(755,root,root) %{_libdir}/libORBit-imodule-2.so.*.*.*
173%attr(755,root,root) %ghost %{_libdir}/libORBit-imodule-2.so.0
174%attr(755,root,root) %{_libdir}/libORBitCosNaming-2.so.*.*.*
175%attr(755,root,root) %ghost %{_libdir}/libORBitCosNaming-2.so.0
74405570 176%dir %{_libdir}/orbit-2.0
8cc9129b 177%attr(755,root,root) %{_libdir}/orbit-2.0/Everything_module.so
8344154c 178%{_datadir}/idl/orbit-2.0
15a7761f 179
31314da7 180%if %{with apidocs}
e9c1c936
MB
181%files apidocs
182%defattr(644,root,root,755)
183%{_gtkdocdir}/%{name}
31314da7 184%endif
e9c1c936 185
15a7761f 186%files devel
187%defattr(644,root,root,755)
8d7b77d9 188%doc ChangeLog
aa273dca 189%attr(755,root,root) %{_bindir}/orbit2-config
8cc9129b
MB
190%attr(755,root,root) %{_libdir}/libORBit-2.so
191%attr(755,root,root) %{_libdir}/libORBit-imodule-2.so
192%attr(755,root,root) %{_libdir}/libORBitCosNaming-2.so
193%{_libdir}/libORBit-2.la
194%{_libdir}/libORBit-imodule-2.la
195%{_libdir}/libORBitCosNaming-2.la
48040e7e 196%{_libdir}/libname-server-2.a
8344154c 197%{_includedir}/orbit-2.0
8cc9129b
MB
198%{_pkgconfigdir}/ORBit-2.0.pc
199%{_pkgconfigdir}/ORBit-CosNaming-2.0.pc
200%{_pkgconfigdir}/ORBit-idl-2.0.pc
201%{_pkgconfigdir}/ORBit-imodule-2.0.pc
8344154c 202%{_aclocaldir}/ORBit2.m4
15a7761f 203
31314da7 204%if %{with static_libs}
15a7761f 205%files static
206%defattr(644,root,root,755)
d74166da 207%{_libdir}/libORBit-2.a
1958cac5 208%{_libdir}/libORBit-imodule-2.a
d74166da 209%{_libdir}/libORBitCosNaming-2.a
31314da7 210%endif
This page took 0.135358 seconds and 4 git commands to generate.