]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2.spec
1118395c53880471f9ed0caa4d1da264eb75583b
[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.14.1
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:  b04683718e18383ac3788a88c5bb3c4d
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.12.1
19 BuildRequires:  gtk-doc >= 1.6
20 BuildRequires:  indent
21 BuildRequires:  libIDL-devel >= 0.8.7
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.12.1
27 Requires:       libIDL >= 0.8.7
28 Requires:       popt >= 1.5
29 Provides:       linc = 1.1.1
30 Obsoletes:      libORBit2_0
31 Obsoletes:      linc
32 Obsoletes:      ORBit2-automake
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.12.1
62 Requires:       indent
63 Requires:       libIDL-devel >= 0.8.7
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
117 %build
118 %{__gtkdocize}
119 %{__libtoolize}
120 %{__aclocal}
121 %{__autoconf}
122 %{__autoheader}
123 %{__automake}
124 %configure \
125         --with-html-dir=%{_gtkdocdir} \
126         --enable-gtk-doc \
127         --enable-http
128 %{__make}
129
130 %install
131 rm -rf $RPM_BUILD_ROOT
132
133 %{__make} install \
134         DESTDIR=$RPM_BUILD_ROOT
135
136 # no static module - shut up check-files
137 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a}
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %post   -p /sbin/ldconfig
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %doc AUTHORS NEWS README
148 %attr(755,root,root) %{_bindir}/ior-decode-2
149 %attr(755,root,root) %{_bindir}/linc-cleanup-sockets
150 %attr(755,root,root) %{_bindir}/orbit-idl-2
151 %attr(755,root,root) %{_bindir}/typelib-dump
152 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
153 %dir %{_libdir}/orbit-2.0
154 %{_libdir}/orbit-2.0/*.so*
155 %{_datadir}/idl/orbit-*
156
157 %files devel
158 %defattr(644,root,root,755)
159 %doc ChangeLog
160 %attr(755,root,root) %{_bindir}/orbit2-config
161 %attr(755,root,root) %{_libdir}/lib*.so
162 %{_libdir}/lib*.la
163 %{_libdir}/libname-server-2.a
164 %{_aclocaldir}/* 
165 %{_includedir}/orbit-*
166 %{_pkgconfigdir}/*.pc
167 %{_gtkdocdir}/%{name}
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/libORBit-2.a
172 %{_libdir}/libORBit-imodule-2.a
173 %{_libdir}/libORBitCosNaming-2.a
This page took 0.032679 seconds and 2 git commands to generate.