Package libomniORB: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
%def_disable static

Name:    libomniORB
Version: 4.3.2
Release: alt1

Summary: ORB from AT&T (core libraries)

License: LGPLv2
Group:   Networking/Remote access
URL:     http://omniorb.sourceforge.net/

Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# Source-url: https://sourceforge.net/projects/omniorb/files/omniORB/omniORB-%{version}/omniORB-%{version}.tar.bz2
Source: %name-%version.tar
Source1: omniORB.cfg
Source2: omninames
Source3: omninames.sysconfig

Patch0: libomniORB-all-cosifaces.patch
Patch1: libomniORB-ziopdynamic-link.patch

BuildRequires(pre): rpm-build-python3

BuildRequires: gcc-c++ libssl-devel zlib-devel
BuildRequires: python3-dev
BuildRequires: python3-module-setuptools

%description
omniORB is an Object Request Broker (ORB) that implements the 2.3
specification of the Common Object Request Broker Architecture
(CORBA) [OMG99]. It has passed the Open Group CORBA compliant
testsuite and is one of the three ORBs to have been granted the CORBA
brand in June 1999.

This package contains core libraries need for all omniORB applications.

%package idl
Summary: IDL definitions shipped with omniORB
Group:   Networking/Remote access
BuildArch: noarch
%description idl
This package contains standard IDL definitions shipped with omniORB.
You need this package if you write IDL specification which uses
standard IDL definitions.

%package docs
Summary: Documentations for omniORB
Group:   Networking/Remote access
BuildArch: noarch
%description docs
This package contains documentation for omniORB.

%package COS
Summary: ORB from AT&T (COS service stub and skel libraries)
Group:   Networking/Remote access
Requires: %name = %version-%release
%description COS
This package contains libraries, compiled from auto generated
stub and skel code for COS services.

%package utils
Summary: ORB from AT&T (utilities)
Group:   Networking/Remote access
Requires: %name = %version-%release
%description utils
This package contains utilities for omniORB.

%package names
Summary: NameService implementation for omniORB
Group:   Networking/Remote access
Requires: %name = %version-%release
Requires: %name-COS = %version-%release
%description names
This package contains standard compliant NameService implementation
for omniORB.

%package -n python3-module-omniidl
Summary: Python module for omniidl
Group:   Development/C++
%description -n python3-module-omniidl
This package includes python files for the omniORB package.

%package devel
Summary: development part of omniORB (core definitions and tools)
Group:   Development/C++
Requires: %name = %version-%release
Requires: python3-module-omniidl = %version-%release
%description devel
This devel package includes the libraries and header files
for the omniORB package.

%package devel-COS
Summary: development part of omniORB (COS headers)
Group:   Development/C++
Requires: %name-devel = %version-%release
%description devel-COS
This devel package includes the libraries and header files
for the omniORB package (COS module). You need this package if
you write applications that uses standard services and want
share COS code.

%package devel-static
Summary: development part of omniORB (core static libraries)
Group:   Development/C++
Requires: %name-devel = %version-%release
%description devel-static
This devel package includes static libraries
for the omniORB package.

%package devel-static-COS
Summary: development part of omniORB (COS static libraries)
Group:   Development/C++
Requires: %name-devel = %version-%release
%description devel-static-COS
This devel package includes static libraries
for the omniORB package (COS module).

%prep
%setup
%patch0 -p 1
%patch1 -p 0

%build
export PYTHON=/usr/bin/python3
%configure \
	%{subst_enable static} \
	--disable-thread-tracing \
	--with-openssl=%_prefix \
	--with-omniORB-config=%_sysconfdir/omniORB.cfg \
	--with-omniNames-logdir=%_logdir/omniORB

# use python3 only
find . -type f -name '*.py' -print0 | xargs -0 %__subst 's|env python|env python3|g'

%make_build EnableZIOP=1

%install
%makeinstall_std EnableZIOP=1

# altlinux specific
# find %buildroot -type f -name '*.py' -print0 | xargs -0 %__subst 's|env python|env python2.7|g'


install -d -m 755 %buildroot%_logdir/omniORB
install -d -m 755 %buildroot%_man1dir
install -d -m 755 %buildroot%_initdir

cp -a man/man1/* %buildroot%_man1dir
install -p -m 644 %SOURCE1 %buildroot%_sysconfdir
install -p -D -m 755 %SOURCE2 %buildroot%_initdir/omninames
install -p -D -m 644 %SOURCE3 %buildroot%_sysconfdir/sysconfig/omninames

%files
%config(noreplace) %_sysconfdir/omniORB.cfg
%_libdir/libomni*.so.*

%files idl
%_datadir/idl/omniORB

%files docs
%doc doc/*.pdf

%files COS
%_libdir/libCOS*.so.*

%files utils
%_bindir/catior
%_bindir/convertior
%_bindir/genior
%_bindir/omniMapper
%_man1dir/catior*
%_man1dir/convertior*
%_man1dir/genior*

%files names
%config(noreplace) %_sysconfdir/sysconfig/omninames
%_initdir/omninames
%_bindir/omniNames
%_bindir/nameclt
%_man1dir/nameclt*
%attr(755,daemon,daemon) %dir %_logdir/omniORB

%files -n python3-module-omniidl
%python3_sitelibdir/*
%python3_sitelibdir_noarch/*

%files devel
%_bindir/omniidl*
%_bindir/omnicpp
%_bindir/omkdepend
%_includedir/omniORB4
%_includedir/omniconfig.h
%_includedir/omnithread
%_includedir/omnithread.h
%_libdir/libomni*.so
%_libdir/pkgconfig/omniORB*
%_libdir/pkgconfig/omniDynamic*
%_libdir/pkgconfig/omnithread*
%_libdir/pkgconfig/omniConnectionMgmt*
%_libdir/pkgconfig/omniZIOP*
%_man1dir/omniidl*
%_man1dir/omnicpp*

%files devel-COS
%_includedir/COS
%_libdir/libCOS*.so
%_libdir/pkgconfig/omniCOS*

%if_enabled static
%files devel-static
%_libdir/libomni*.a

%files devel-static-COS
%_libdir/libCOS*.a
%endif

%changelog
* Sun Apr 14 2024 Pavel Vainerman <pv@altlinux.ru> 4.3.2-alt1
- new version (4.3.2) with rpmgs script

* Tue Dec 19 2023 Grigory Ustinov <grenka@altlinux.org> 4.3.0-alt3.1
- NMU: Add build dependency on setuptools.

* Sat Aug 05 2023 Vitaly Lipatov <lav@altlinux.ru> 4.3.0-alt3
- fix build with new python, cleanup spec, enable SMP build

* Mon May 01 2023 Pavel Vainerman <pv@altlinux.ru> 4.3.0-alt2
- fixed default config

* Sun Apr 30 2023 Pavel Vainerman <pv@altlinux.ru> 4.3.0-alt1
- new version (4.3.0) with rpmgs script

* Fri Sep 10 2021 Vitaly Lipatov <lav@altlinux.ru> 4.2.4-alt4
- disable build devel-static subpackages

* Sat Apr 24 2021 Vitaly Lipatov <lav@altlinux.ru> 4.2.4-alt3
- switch to python3

* Sun Jan 24 2021 Pavel Vainerman <pv@altlinux.ru> 4.2.4-alt2
- update spec

* Sun Jan 24 2021 Pavel Vainerman <pv@altlinux.ru> 4.2.4-alt1
- new version (4.2.4) with rpmgs script

* Sun Dec 16 2018 Pavel Vainerman <pv@altlinux.ru> 4.2.3-alt1
- new release

* Wed Aug 29 2018 Pavel Vainerman <pv@altlinux.ru> 4.2.2-alt0.1
- new release

* Mon Jun 06 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.2.0-alt5.svn20140428.1
- (AUTO) subst_x86_64.

* Thu Jul 10 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt5.svn20140428
- Added lsb init header

* Thu Jun 05 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt4.svn20140428
- Enabled ZIOP

* Wed Jun 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt3.svn20140428
- New snapshot

* Thu Jul 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt3.svn20130430
- New snapshot

* Tue Feb 05 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt3.svn20130111
- New snapshot

* Fri Sep 14 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt3.svn20120828
- New snapshot

* Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 4.2.0-alt3.1
- Rebuild with Python-2.7

* Sun Mar 20 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt3
- Rebuilt for debuginfo
- Set idl subpackage as noarch

* Thu Oct 07 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt2
- Packed missing python files
- Fixed linking of libraries

* Tue Oct 05 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2.0-alt1
- Version 4.2.0 from svn

* Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.4-alt2.1
- Rebuilt with python 2.6

* Wed Aug 26 2009 Vitaly Kuznetsov <vitty@altlinux.ru> 4.1.4-alt2
- remove obsolete python = %%__python_version dependency

* Wed Aug 26 2009 Vitaly Kuznetsov <vitty@altlinux.ru> 4.1.4-alt1
- 4.1.4

* Sat Oct 25 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.3-alt1
- 4.1.3

* Sat Aug 09 2008 ALT QA Team Robot <qa-robot@altlinux.org> 4.1.2-alt1.1
- Automated rebuild due to libssl.so.6 -> libssl.so.7 soname change.

* Mon Feb 18 2008 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.2-alt1
- 4.1.2

* Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 4.1.1-alt1.1
- Rebuilt with python-2.5.

* Fri Oct 19 2007 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.1-alt1
- 4.1.1

* Mon Dec 04 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt12
- 4.1.0 Released

* Wed Nov 22 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt11rc2
- 4.1.0-rc2

* Tue Jun 27 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt10beta2
- Enable configure naming server address and port (/etc/sysconfig/omniNames)
- Resolve some compile warnings

* Fri May 19 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt9beta2
- 4.1.0-beta2

* Mon Mar 20 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt8beta1
- Temporarely set unresolved=relaxed

* Thu Feb 23 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt7beta1
- success build under hasher

* Tue Feb 14 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt6beta1
- Spec cleanup

* Wed Feb 08 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt5beta1
- 4.1.0-beta1

* Tue Jan 17 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt4cvs20060116
- CVS snapshot date added to packages release number

* Mon Jan 16 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt4cvs
- New CVS snapshot 2006.01.16

* Sun Jan 15 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt3cvs
- Build all COSS interfaces into COSS library
- Split code into more packages

* Mon Jan 02 2006 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt2cvs
- Fix CosTime.idl TIO interface definition

* Wed Dec 21 2005 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.1.0-alt1cvs
- 4.1.0 from CVS

* Thu Nov 24 2005 Sergey N. Yatskevich <syatskevich@altlinux.ru> 4.0.6-alt1
- 4.0.6
- Build with openSSL

* Sat Mar 12 2005 Andrey Orlov <cray@altlinux.ru> 4.0.5-alt2
- setup_python_subpackage macro has been used

* Mon Feb 28 2005 Andrey Orlov <cray@altlinux.ru> 4.0.5-alt1
- 4.0.5, check python 2.4 compatibility

* Fri Oct 08 2004 Stanislav Ievlev <inger@altlinux.org> 4.0.4-alt1
- 4.0.4, remove unused sources.

* Sat Jun 26 2004 Andrey Orlov <cray@altlinux.ru> 4.0.3-alt5
- Omninames startup file added

* Fri May 28 2004 Andrey Orlov <cray@altlinux.ru> 4.0.3-alt4
- Fix lost dependences between devel & python-module-omniidl

* Wed May 26 2004 Andrey Orlov <cray@altlinux.ru> 4.0.3-alt3
- Fix for python policy compatibility

* Thu Dec 04 2003 Andrey Orlov <cray@altlinux.ru> 4.0.3-alt2
- New version from Source Forge
- Now, python23 used

* Tue Sep 30 2003 Stanislav Ievlev <inger@altlinux.ru> 4.0.2-alt1
- 4.0.2

* Tue May 20 2003 Stanislav Ievlev <inger@altlinux.ru> 4.0.1-alt1
- 4.0.1
- remove omninames startup script (still in doc dir)
- omniORBPy in separate package now

* Fri Feb 28 2003 Stanislav Ievlev <inger@altlinux.ru> 4.0.0-alt1
- 4.0.0

* Wed Sep 04 2002 Stanislav Ievlev <inger@altlinux.ru> 3.0.5-alt1
- 3.0.5
- build with gcc3

* Tue Feb 12 2002 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt11
- fix dirs ownerships.

* Tue Jan 29 2002 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt10
- added latest bugfix patches to omniORBpy and omniNotify
- rebuild with new python

* Fri Oct 19 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt9
- omniNotify 1.1
- latest bugfixes for omniORB and omniORBpy

* Mon Sep 10 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt8
- Applied latest bugfixes.

* Mon Jul 30 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt7
- Added omniROBpy package.
- move python files to right place.

* Thu Jul 26 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt6
- Added omniNotify service
- New package with demo stuff.

* Tue Jul 24 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt5
- Added omniEvents service.

* Fri Jul 06 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt4
- Small fixes. Buildreq and Requires on python.

* Tue Jul 03 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt3
- Changed default config and log locations.

* Mon Jul 02 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt2
- Splited bin files into main package and devel. Added config file.

* Fri Jun 29 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.4-alt1
- 3.0.4

* Wed Jun 27 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.3-alt3
- Rebuilt with python-2.1

* Wed May 16 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.3-alt2
- Rename ols to o_ls to avoid conflicts with speach_*

* Wed Apr 25 2001 Stanislav Ievlev <inger@altlinux.ru> 3.0.3-alt1
- Initial release for ALT Linux