]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2.spec
fdcf910c3dab0106ccac138cf49c559284b56f45
[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:        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:  7f963dcd0d84e6854460449383cc8c70
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 # workaround for variable name
117 echo 'm4_pattern_allow(PKG_CONFIG_MIN_VERSION)' >> acinclude.m4
118
119 %build
120 %{__gtkdocize}
121 %{__libtoolize}
122 %{__aclocal}
123 %{__autoconf}
124 %{__autoheader}
125 %{__automake}
126 %configure \
127         --with-html-dir=%{_gtkdocdir} \
128         --enable-gtk-doc \
129         --enable-http
130 %{__make}
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134
135 %{__make} install \
136         DESTDIR=$RPM_BUILD_ROOT
137
138 # no static module - shut up check-files
139 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a}
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %post   -p /sbin/ldconfig
145 %postun -p /sbin/ldconfig
146
147 %files
148 %defattr(644,root,root,755)
149 %doc AUTHORS NEWS README
150 %attr(755,root,root) %{_bindir}/ior-decode-2
151 %attr(755,root,root) %{_bindir}/linc-cleanup-sockets
152 %attr(755,root,root) %{_bindir}/orbit-idl-2
153 %attr(755,root,root) %{_bindir}/typelib-dump
154 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
155 %dir %{_libdir}/orbit-2.0
156 %{_libdir}/orbit-2.0/*.so*
157 %{_datadir}/idl/orbit-*
158
159 %files devel
160 %defattr(644,root,root,755)
161 %doc ChangeLog
162 %attr(755,root,root) %{_bindir}/orbit2-config
163 %attr(755,root,root) %{_libdir}/lib*.so
164 %{_libdir}/lib*.la
165 %{_libdir}/libname-server-2.a
166 %{_pkgconfigdir}/*.pc
167 %{_includedir}/orbit-*
168 %{_aclocaldir}/*
169 %{_gtkdocdir}/%{name}
170
171 %files static
172 %defattr(644,root,root,755)
173 %{_libdir}/libORBit-2.a
174 %{_libdir}/libORBit-imodule-2.a
175 %{_libdir}/libORBitCosNaming-2.a
This page took 0.056424 seconds and 2 git commands to generate.