]> git.pld-linux.org Git - packages/ORBit2.git/blob - ORBit2.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[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.3.106
6 Release:        1
7 Epoch:          1
8 License:        LGPL/GPL
9 Group:          Libraries
10 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
11 Patch0:         %{name}-disable_test.patch
12 Patch1:         %{name}-am15.patch
13 Patch2:         %{name}-ac_fix.patch
14 URL:            http://www.labs.redhat.com/orbit/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  flex
18 BuildRequires:  glib2-devel >= 2.0.0
19 BuildRequires:  indent
20 BuildRequires:  libIDL-devel >= 0.7.4
21 BuildRequires:  libtool
22 BuildRequires:  linc-devel >= 0.1.17
23 BuildRequires:  popt-devel >= 1.4
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _sysconfdir     /etc
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
59 %description
60 devel ORBit is a high-performance CORBA ORB with support for the C
61 language. It allows programs to send requests and receive replies from
62 other programs, regardless of the locations of the two programs.
63
64 This package includes the header files and utilities neecessary to
65 write programs that use CORBA technology.
66
67 %description devel -l fr
68 Librairies statiques et fichiers entête requis pour le development ou
69 la compilation de programmes utilisant ORBit.
70
71 %description devel -l pl
72 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
73 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
74 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
75
76 Ten pakiet zawiera pliki nag³ówkowe oraz u¿ytki potrzebne do pisania
77 programów u¿ywaj±cych technologi CORBA.
78
79 %package static
80 Summary:        Static libraries for ORBit
81 Summary(pl):    Biblioteki statyczne dla ORBit
82 Group:          Development/Libraries
83 Requires:       %{name}-devel = %{version}
84
85 %description static
86 ORBit is a high-performance CORBA ORB with support for the C language.
87 It allows programs to send requests and receive replies from other
88 programs, regardless of the locations of the two programs.
89
90 This package includes static libraries neecessary to write programs
91 statically linked that use CORBA technology.
92
93 %description static -l pl
94 ORBit to wysokiej wydajno¶ci CORBA ORB ze wsparciem dla jêzyka C.
95 Pozwala na wysy³anie pró¶b i otrzymywanie odpowiedzi od innych
96 programów bez znajomo¶ci po³o¿enia tych dwóch programów.
97
98 Ten pakiet zawiera biblioteki statyczne potrzebne do pisania programów
99 zlinkowanych statycznie u¿ywaj±cych technologii CORBA.
100
101 %prep
102 %setup  -q
103 #%patch0 -p1
104 %patch1 -p1
105 %patch2 -p1
106
107 %build
108 rm -f missing
109 libtoolize --copy --force
110 aclocal
111 autoconf
112 automake -a -c -f
113 %configure
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT \
121         m4datadir=%{_aclocaldir} \
122         pkgconfigdir=%{_pkgconfigdir}
123
124 gzip -9nf TODO NEWS
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 %attr(755,root,root) %{_bindir}/name-client-2
135 %attr(755,root,root) %{_bindir}/orbit-idl-2
136 %attr(755,root,root) %{_bindir}/orbit-name-server-2
137 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
138 %{_datadir}/idl/orbit-*
139
140 %files devel
141 %defattr(644,root,root,755)
142 %doc *.gz
143 %attr(755,root,root) %{_bindir}/orbit2-config
144 %attr(755,root,root) %{_libdir}/lib*.??
145 %{_libdir}/libname-server-2.a
146 %{_pkgconfigdir}/*.pc
147 %{_includedir}/orbit-*
148 %{_aclocaldir}/*
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/libORBit-2.a
153 %{_libdir}/libORBitCosNaming-2.a
This page took 0.069671 seconds and 3 git commands to generate.