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