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