Package ORBit2: 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
439
440
441
%def_enable snapshot
%define ver_major 2.14
%def_disable static
%def_enable gtk_doc

Name: ORBit2
Version: %ver_major.20
Release: alt0.3

Summary: A high-performance CORBA Object Request Broker
Group: System/Libraries
License: %gpl2plus
Url: http://www.gnome.org/projects/%name

Packager: GNOME Maintainers Team <gnome@packages.altlinux.org>

%if_disabled snapshot
Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2
%else
#VCS: https://gitlab.gnome.org/Archive/orbit2.git
Source: %name-%version.tar
%endif
Patch: %name-2.7.3-alt-test_makefile.patch
Patch1: %name-2.14.20-alt-shared_name-server.patch
Patch2: %name-2.13.3-fix-link-as-needed.patch
Patch3: %name-2.14.20-alt-fix-include-in-makefile.patch

%define libIDL_ver 0.8.2
%define glib_ver 2.8.0
%define pkgconfig_ver 0.18

Requires: lib%name = %version-%release

BuildPreReq: rpm-build-licenses rpm-build-gnome
BuildPreReq: pkgconfig >= %pkgconfig_ver
BuildPreReq: libIDL-devel >= %libIDL_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildRequires: indent libssl-devel

%if_enabled gtk_doc
BuildRequires: docbook-dtds docbook-style-xsl gtk-doc xml-common xsltproc
%endif

%description
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to send
requests and receive replies from other programs, regardless of the
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.

You will need to install this package and ORBit-devel if you want to
write programs that use CORBA technology.

%package -n lib%name
Summary: Shared libraries, header files and utilities for ORBit
Group: System/Libraries
License: %lgpl2plus

%description -n lib%name
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker). It allows programs to send
requests and receive replies from other programs, regardless of the
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.

This package contains the shared libraries required for ORBit
and components using it to function.

%package devel
Summary: Development libraries, header files and utilities for ORBit
Group: Development/GNOME and GTK+
License: %lgpl2plus
Requires: lib%name = %version-%release
#Requires: indent

%description devel
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains the header files, libraries and utilities
necessary to write programs that use CORBA technology. If you want to
write such programs, you'll also need to install the ORBit2 package.

%package devel-doc
Summary: Development documentation for ORBit
Group: Development/C
BuildArch: noarch
Conflicts: %name < %version-%release

%description devel-doc
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains development documentation for ORBit.

%if_enabled static
%package devel-static
Summary: Static libraries for ORBit2
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description devel-static
ORBit is a high-performance CORBA (Common Object Request Broker
Architecture) ORB (object request broker) with support for the C
language.

This package contains static versions of libraries from ORBit2 package.
%endif

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q
%patch -p1 -b .test
%patch1 -p0 -b .shared_name-server
%patch2 -p0 -b .as_needed
%patch3 -p2 -b .include

%build
%autoreconf
%configure \
	%{subst_enable static} \
	%{?_enable_gtk_doc:--enable-gtk-doc}
# SMP-incompatible build
%make

%install
%makeinstall_std

# system orbitrc file
mkdir -p %buildroot%_sysconfdir
cat << EOF > %buildroot%_sysconfdir/orbitrc
## IIOP over IP server sockets disabled by default. Instead
## either UNIX domain sockets or shared memory for interprocess
## communication are used. This disables communcation over the network but
## prevents the system from Denial of Service attacks. If you want to use
## ORBit over the network you need to turn it on again (see
## http://orbit-resource.sourceforge.net/faq.html)

#ORBIIOPIPv4=1
#ORBLocalOnly=1
#ORBIIOPIPName=127.0.0.1
EOF

%check
%make check

%files
%_bindir/typelib-dump
%_bindir/linc-cleanup-sockets
%dir %_libdir/orbit-2.0
%_libdir/orbit-2.0/*.so
%_datadir/idl/*
%config %_sysconfdir/orbitrc
%doc AUTHORS NEWS README

%files -n lib%name
%_libdir/*.so.*

%files devel
%_bindir/orbit2-config
%_bindir/orbit-idl-2
%_bindir/ior-decode-2
%_libdir/*.so
%_pkgconfigdir/*
%_includedir/*
%_datadir/aclocal/*
%doc HACKING MAINTAINERS TODO

%files devel-doc
%_gtk_docdir/*

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

%exclude %_libdir/*/*.la

%changelog
* Sat Apr 13 2019 Yuri N. Sedunov <aris@altlinux.org> 2.14.20-alt0.3
- fixed build with automake-1.16

* Wed Feb 07 2018 Yuri N. Sedunov <aris@altlinux.org> 2.14.20-alt0.2
- updated to ORBIT2_2_14_19-18-g144be2e
- grenka@: ORBIT2-2.14.20-alt-fix-include-in-makefile.patch

* Wed Nov 06 2013 Yuri N. Sedunov <aris@altlinux.org> 2.14.20-alt0.1
- 2.14.20 snapshot

* Sun Apr 07 2013 Yuri N. Sedunov <aris@altlinux.org> 2.14.19-alt4
- fixed build with glib-2.36

* Sat Feb 19 2011 Alexey Tourbin <at@altlinux.ru> 2.14.19-alt3
- rebuilt for debuginfo

* Wed Nov 10 2010 Yuri N. Sedunov <aris@altlinux.org> 2.14.19-alt2
- rebuild for soname set-versions

* Mon Oct 04 2010 Yuri N. Sedunov <aris@altlinux.org> 2.14.19-alt1
- 2.14.19

* Tue Mar 30 2010 Yuri N. Sedunov <aris@altlinux.org> 2.14.18-alt1
- new version

* Fri Mar 06 2009 Yuri N. Sedunov <aris@altlinux.org> 2.14.17-alt1
- 2.14.17
- removed obsolete %%post{,un}_ldconfig

* Thu Oct 30 2008 Yuri N. Sedunov <aris@altlinux.org> 2.14.16-alt2
- build devel-doc subpackage as noarch
- add system-wide orbitrc file

* Sun Sep 21 2008 Yuri N. Sedunov <aris@altlinux.org> 2.14.16-alt1
- new version

* Wed Sep 17 2008 Yuri N. Sedunov <aris@altlinux.org> 2.14.15-alt1
- new version

* Tue Aug 19 2008 Yuri N. Sedunov <aris@altlinux.org> 2.14.14-alt1
- new version
- don't rebuild documentation

* Mon Jun 09 2008 Yuri N. Sedunov <aris@altlinux.org> 2.14.13-alt1
- new version
- updared {Build}Requires

* Wed Mar 05 2008 Alexey Rusakov <ktirf@altlinux.org> 2.14.12-alt1
- New version (2.14.12).
- Spec cleanup (macroization and de-%%__-ization).
- Updated dependencies.

* Sat Sep 22 2007 Igor Zubkov <icesik@altlinux.org> 2.14.9-alt1
- 2.14.7 -> 2.14.9

* Sun Mar 18 2007 Alexey Rusakov <ktirf@altlinux.org> 2.14.7-alt1
- new version (2.14.7)
- fixed ALT bug 11075
- _unpackaged_files_terminate_build from now on.

* Thu Sep 07 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.3-alt1
- new version 2.14.3 (with rpmrb script)

* Sun Aug 13 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.2-alt1
- new version
- spec cleanup

* Wed Mar 15 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.14.0-alt1
- new version (2.14.0)
- fixed linking with --as-needed.
- spec cleanup

* Thu Feb 09 2006 Alexey Rusakov <ktirf@altlinux.ru> 2.13.3-alt1
- new version

* Tue Nov 08 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.13.2-alt1
- new version

* Sat Sep 24 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.4-alt1
- 2.12.4

* Tue Sep 13 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.3-alt2
- Fixed altbug #7916.

* Mon Aug 29 2005 Alexey Rusakov <ktirf@altlinux.ru> 2.12.3-alt1
- 2.12.3

* Mon Apr 11 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.12.2-alt1
- 2.12.2

* Sat Feb 05 2005 Yuri N. Sedunov <aris@altlinux.ru> 2.12.1-alt1
- 2.12.1
- documentation moved to devel-doc subpackage.

* Tue Sep 14 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.12.0-alt1
- 2.12.0

* Mon Sep 06 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.11.2-alt1
- 2.11.2

* Thu Aug 26 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.10.4-alt1
- 2.10.4

* Tue Jun 29 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.10.3-alt1
- 2.10.3

* Sat May 08 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.10.2-alt1
- 2.10.2

* Wed Apr 21 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.10.1-alt1
- 2.10.1

* Sat Mar 06 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.10.0-alt1
- 2.10.0

* Tue Feb 17 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.9.8-alt1
- 2.9.8

* Wed Feb 04 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.9.7-alt1
- 2.9.7

* Fri Jan 16 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.9.6-alt1
- 2.9.6

* Tue Jan 13 2004 Yuri N. Sedunov <aris@altlinux.ru> 2.9.3-alt1
- 2.9.3

* Mon Dec 08 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.8.3-alt1
- 2.8.3

* Sun Nov 30 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.8.2-alt2
- do not package .la files.
- devel-static subpackage now is optional.

* Sun Oct 12 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.8.2-alt1
- 2.8.2

* Tue Sep 09 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.8.1-alt1
- 2.8.1

* Wed Aug 27 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.8.0-alt1
- 2.8.0

* Tue Aug 19 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.6-alt1
- 2.7.6

* Tue Jul 15 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.3-alt1
- 2.7.3

* Tue Jun 10 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.2-alt1
- 2.7.2

* Wed May 07 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.1-alt2
- make shared libname-server-2

* Sat May 03 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.1-alt1
- 2.7.1

* Sat Mar 29 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.7.0-alt1
- 2.7.0

* Sat Mar 15 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.6.1-alt1
- 2.6.1
- move %_bindir/orbit-idl-2 to devel subpackage (close #2156)

* Tue Jan 14 2003 Yuri N. Sedunov <aris@altlinux.ru> 2.6.0-alt1
- 2.6.0

* Mon Dec 30 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.5.1-alt1
- 2.5.1

* Sat Oct 19 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.5.0-alt1
- 2.5.0

* Sun Sep 15 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.4.3-alt1
- 2.4.3
- Updated Buldrequires

* Wed May 29 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.4.0-alt1
- 2.4.0

* Mon May 20 2002 Yuri N. Sedunov <aris@altlinux.ru> 2.3.110-alt1
- 2.3.110
- Adapted for Sisyphus.
- lib%name package.
- %name-2.3.109-ld.patch
- %name-am15.patch (PLD Team)

* Thu May 02 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment

* Thu May  2 2002 Havoc Pennington <hp@redhat.com>
- 2.3.108

* Thu Apr  4 2002 Jeremy Katz <katzj@redhat.com>
- 2.3.107

* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
- 2.3.105

* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
- Version 2.3.103
- Rebuild for dependencies

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
- build system somehow built against libglib-1.3.so.11
  even though pkg-config found 1.3.12? wtf?
  trying again

* Wed Jan  2 2002 Havoc Pennington <hp@redhat.com>
- 2.3.100.90 snap

* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
- 2.3.99

* Sun Nov 25 2001 Havoc Pennington <hp@redhat.com>
- new snap 2.3.97.90, rebuild for glib 1.3.11

* Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
- new snap, glib 1.3.10 rebuild

* Tue Oct  9 2001 Havoc Pennington <hp@redhat.com>
- check rebuild against new linc with headers moved
- remove epoch, that was a screwup

* Thu Oct  4 2001 Havoc Pennington <hp@redhat.com>
- cvs snap
- require specific glib2

* Thu Sep 27 2001 Havoc Pennington <hp@redhat.com>
- 2.3.95 tarball
- depend on new standalone libIDL, remove all libIDL stuff from file list

* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
- require specific linc version, unrequire specific glib version since
  we get that via linc

* Mon Sep 17 2001 Havoc Pennington <hp@redhat.com>
- newer orbit2 from CVS

* Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
- conflict with old orbit with headers not moved

* Wed Sep 12 2001 Havoc Pennington <hp@redhat.com>
- renaming more things
- remove smp flags, doesn't work atm
- fix .pc file, trying to get bonobo-activation to build

* Tue Sep 11 2001 Havoc Pennington <hp@redhat.com>
- kill all file conflicts with ORBit1

* Mon Sep 10 2001 Havoc Pennington <hp@redhat.com>
- convert to ORBit2 spec file (from ORBit original)