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