]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2.spec
- release 2 (rebuild with P: *.la)
[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.3
6 Release:        2
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:  857881e7aabf849016de9a1e9c53b328
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.12.3
18 BuildRequires:  gtk-doc >= 1.7
19 BuildRequires:  indent
20 BuildRequires:  libIDL-devel >= 0.8.7
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig >= 1:0.14.0
23 BuildRequires:  rpmbuild(macros) >= 1.197
24 Requires:       glib2 >= 1:2.12.3
25 Requires:       libIDL >= 0.8.7
26 Provides:       linc = 1.1.1
27 Obsoletes:      libORBit2_0
28 Obsoletes:      linc
29 Obsoletes:      ORBit2-automake
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
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
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 devel
53 Summary:        Header files, and utilities for ORBit
54 Summary(fr):    Librairies statiques et fichiers entête pour ORBit
55 Summary(pl):    Pliki nag³ówkowe i u¿ytki dla ORBit
56 Group:          Development/Libraries
57 Requires:       %{name} = %{epoch}:%{version}-%{release}
58 Requires:       glib2-devel >= 1:2.12.3
59 Requires:       indent
60 Requires:       libIDL-devel >= 0.8.7
61 Provides:       linc-devel = 1.1.1
62 Obsoletes:      libORBit2_0-devel
63 Obsoletes:      linc-devel
64
65 %description devel
66 devel ORBit is a high-performance CORBA ORB with support for the C
67 language. It allows programs to send requests and receive replies from
68 other programs, regardless of the locations of the two programs.
69
70 This package includes the header files and utilities neecessary to
71 write programs that use CORBA technology.
72
73 %description devel -l fr
74 Librairies statiques et fichiers entête requis pour le development ou
75 la compilation de programmes utilisant ORBit.
76
77 %description devel -l pl
78 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
79 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
80 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
81
82 Ten pakiet zawiera pliki nag³ówkowe oraz u¿ytki potrzebne do pisania
83 programów u¿ywaj±cych technologi CORBA.
84
85 %package static
86 Summary:        Static libraries for ORBit
87 Summary(pl):    Biblioteki statyczne dla ORBit
88 Group:          Development/Libraries
89 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
90 Provides:       linc-static = 1.1.1
91 Obsoletes:      linc-static
92
93 %description static
94 ORBit is a high-performance CORBA ORB with support for the C language.
95 It allows programs to send requests and receive replies from other
96 programs, regardless of the locations of the two programs.
97
98 This package includes static libraries neecessary to write programs
99 statically linked that use CORBA technology.
100
101 %description static -l pl
102 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
103 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
104 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
105
106 Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów
107 skonsolidowanych statycznie u¿ywaj±cych technologii CORBA.
108
109 %prep
110 %setup -q
111 %patch0 -p1
112
113 %build
114 %{__gtkdocize}
115 %{__libtoolize}
116 %{__aclocal}
117 %{__autoconf}
118 %{__autoheader}
119 %{__automake}
120 %configure \
121         --with-html-dir=%{_gtkdocdir} \
122         --enable-gtk-doc \
123         --enable-http
124 %{__make}
125
126 %install
127 rm -rf $RPM_BUILD_ROOT
128
129 %{__make} install \
130         DESTDIR=$RPM_BUILD_ROOT
131
132 # no static module - shut up check-files
133 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/Everything_module.{la,a}
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post   -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
140
141 %files
142 %defattr(644,root,root,755)
143 %doc AUTHORS NEWS README
144 %attr(755,root,root) %{_bindir}/ior-decode-2
145 %attr(755,root,root) %{_bindir}/linc-cleanup-sockets
146 %attr(755,root,root) %{_bindir}/orbit-idl-2
147 %attr(755,root,root) %{_bindir}/typelib-dump
148 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
149 %dir %{_libdir}/orbit-2.0
150 %{_libdir}/orbit-2.0/*.so*
151 %{_datadir}/idl/orbit-*
152
153 %files devel
154 %defattr(644,root,root,755)
155 %doc ChangeLog
156 %attr(755,root,root) %{_bindir}/orbit2-config
157 %attr(755,root,root) %{_libdir}/lib*.so
158 %{_libdir}/lib*.la
159 %{_libdir}/libname-server-2.a
160 %{_aclocaldir}/* 
161 %{_includedir}/orbit-*
162 %{_pkgconfigdir}/*.pc
163 %{_gtkdocdir}/%{name}
164
165 %files static
166 %defattr(644,root,root,755)
167 %{_libdir}/libORBit-2.a
168 %{_libdir}/libORBit-imodule-2.a
169 %{_libdir}/libORBitCosNaming-2.a
This page took 0.045771 seconds and 3 git commands to generate.