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