]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2.spec
- added stack_size patch (http://bugzilla.gnome.org/show_bug.cgi?id=303649)
[packages/ORBit2.git] / ORBit2.spec
1 Summary:        High-performance CORBA Object Request Broker
2 Summary(fr):    Requète d'Objects CORBA
3 Summary(pl):    Wysoko wydajny CORBA Object Request Broker
4 Name:           ORBit2
5 Version:        2.12.2
6 Release:        3
7 Epoch:          1
8 License:        GPL v2+/LGPL v2+
9 Group:          Libraries
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/ORBit2/2.12/%{name}-%{version}.tar.bz2
11 # Source0-md5:  7f963dcd0d84e6854460449383cc8c70
12 Patch0:         %{name}-pthread.patch
13 Patch1:         %{name}-popt.patch
14 Patch2:         %{name}-stack_size.patch
15 URL:            http://www.labs.redhat.com/orbit/
16 BuildRequires:  autoconf >= 2.12
17 BuildRequires:  automake
18 BuildRequires:  flex
19 BuildRequires:  glib2-devel >= 1:2.6.3
20 BuildRequires:  gtk-doc >= 1.3
21 BuildRequires:  indent
22 BuildRequires:  libIDL-devel >= 0.8.5
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig >= 1:0.14.0
25 BuildRequires:  popt-devel >= 1.5
26 BuildRequires:  rpmbuild(macros) >= 1.197
27 Requires:       glib2 >= 1:2.6.3
28 Requires:       libIDL >= 0.8.5
29 Requires:       popt >= 1.5
30 Provides:       linc = 1.1.1
31 Obsoletes:      libORBit2_0
32 Obsoletes:      linc
33 Conflicts:      libbonobo < 2.3.2
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 ORBit is a high-performance CORBA (Common Object Request Broker
38 Architecture) ORB (object request broker). It allows programs to send
39 requests and receive replies from other programs, regardless of the
40 locations of the two programs. CORBA is an architecture that enables
41 communication between program objects, regardless of the programming
42 language they're written in or the operating system they run on.
43
44 %description -l fr
45 ORBit est un ORB CORBA avec support pour le language C. Il permet a
46 des programmes d'envoyer des requètes et recevoir de réponses d'autres
47 programmes, indépendement de l'endroit ou sont les deux programmes.
48
49 %description -l pl
50 ORBit to wysokiej wydajno¶ci CORBA (Common Object Request Broker
51 Architecture) ORB (object request broker). Pozwala na wysy³anie pró¶b
52 i otrzymywanie odpowiedzi od innych programów bez znajomo¶ci po³o¿enia
53 tych dwóch programów.
54
55 %package devel
56 Summary:        Header files, and utilities for ORBit
57 Summary(fr):    Librairies statiques et fichiers entête pour ORBit
58 Summary(pl):    Pliki nag³ówkowe i u¿ytki dla ORBit
59 Group:          Development/Libraries
60 Requires:       %{name} = %{epoch}:%{version}-%{release}
61 Requires:       glib2-devel >= 1:2.6.3
62 Requires:       indent
63 Requires:       libIDL-devel >= 0.8.5
64 Provides:       linc-devel = 1.1.1
65 Obsoletes:      libORBit2_0-devel
66 Obsoletes:      linc-devel
67
68 %description devel
69 devel ORBit is a high-performance CORBA ORB with support for the C
70 language. It allows programs to send requests and receive replies from
71 other programs, regardless of the locations of the two programs.
72
73 This package includes the header files and utilities neecessary to
74 write programs that use CORBA technology.
75
76 %description devel -l fr
77 Librairies statiques et fichiers entête requis pour le development ou
78 la compilation de programmes utilisant ORBit.
79
80 %description devel -l pl
81 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
82 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
83 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
84
85 Ten pakiet zawiera pliki nag³ówkowe oraz u¿ytki potrzebne do pisania
86 programów u¿ywaj±cych technologi CORBA.
87
88 %package static
89 Summary:        Static libraries for ORBit
90 Summary(pl):    Biblioteki statyczne dla ORBit
91 Group:          Development/Libraries
92 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
93 Provides:       linc-static = 1.1.1
94 Obsoletes:      linc-static
95
96 %description static
97 ORBit is a high-performance CORBA ORB with support for the C language.
98 It allows programs to send requests and receive replies from other
99 programs, regardless of the locations of the two programs.
100
101 This package includes static libraries neecessary to write programs
102 statically linked that use CORBA technology.
103
104 %description static -l pl
105 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
106 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
107 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
108
109 Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów
110 skonsolidowanych statycznie u¿ywaj±cych technologii CORBA.
111
112 %prep
113 %setup -q
114 %patch0 -p1
115 %patch1 -p1
116 %patch2 -p0
117
118 # workaround for variable name
119 echo 'm4_pattern_allow(PKG_CONFIG_MIN_VERSION)' >> acinclude.m4
120
121 %build
122 %{__gtkdocize}
123 %{__libtoolize}
124 %{__aclocal}
125 %{__autoconf}
126 %{__autoheader}
127 %{__automake}
128 %configure \
129         --with-html-dir=%{_gtkdocdir} \
130         --enable-gtk-doc \
131         --enable-http
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136
137 %{__make} install \
138         DESTDIR=$RPM_BUILD_ROOT
139
140 # no static module - shut up check-files
141 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a}
142
143 %clean
144 rm -rf $RPM_BUILD_ROOT
145
146 %post   -p /sbin/ldconfig
147 %postun -p /sbin/ldconfig
148
149 %files
150 %defattr(644,root,root,755)
151 %doc AUTHORS NEWS README
152 %attr(755,root,root) %{_bindir}/ior-decode-2
153 %attr(755,root,root) %{_bindir}/linc-cleanup-sockets
154 %attr(755,root,root) %{_bindir}/orbit-idl-2
155 %attr(755,root,root) %{_bindir}/typelib-dump
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
157 %dir %{_libdir}/orbit-2.0
158 %{_libdir}/orbit-2.0/*.so*
159 %{_datadir}/idl/orbit-*
160
161 %files devel
162 %defattr(644,root,root,755)
163 %doc ChangeLog
164 %attr(755,root,root) %{_bindir}/orbit2-config
165 %attr(755,root,root) %{_libdir}/lib*.so
166 %{_libdir}/lib*.la
167 %{_libdir}/libname-server-2.a
168 %{_pkgconfigdir}/*.pc
169 %{_includedir}/orbit-*
170 %{_aclocaldir}/*
171 %{_gtkdocdir}/%{name}
172
173 %files static
174 %defattr(644,root,root,755)
175 %{_libdir}/libORBit-2.a
176 %{_libdir}/libORBit-imodule-2.a
177 %{_libdir}/libORBitCosNaming-2.a
This page took 0.034443 seconds and 3 git commands to generate.