3 %bcond_without static_libs # don't build static library
5 Summary: C++ bindings for the ORBit Corba ORB
6 Summary(pl.UTF-8): Powiązania C++ dla ORBit Corba ORB
11 Group: Applications/Engineering
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/orbitcpp/1.3/%{name}-%{version}.tar.bz2
13 # Source0-md5: ef1594819cf62fc2dad6e0a1cc4cb578
14 URL: http://orbitcpp.sourceforge.net/
15 BuildRequires: ORBit2-devel >= 1:2.8.2
16 BuildRequires: autoconf >= 2.12
17 BuildRequires: automake
18 BuildRequires: libIDL-devel >= 0.8.2
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool >= 2:1.4d
21 BuildRequires: pkgconfig
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Orbitcpp is a project to develop C++ bindings for the ORBit Corba ORB.
27 %description -l pl.UTF-8
28 Orbitcpp to projekt umożliwiający tworzenie powiązań C++ dla ORBit
32 Summary: Header files and utilities for orbitcpp
33 Summary(pl.UTF-8): Pliki nagłówkowe i użytki dla orbitcpp
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: ORBit2-devel >= 1:2.8.2
37 Requires: libIDL-devel >= 0.8.2
38 Requires: libstdc++-devel
41 Orbitcpp is a project to develop C++ bindings for the ORBit Corba ORB.
43 This package includes the header files and utilities neecessary to
44 write programs that use orbitcpp.
46 %description devel -l pl.UTF-8
47 Orbitcpp to projekt umożliwiający tworzenie powiązań C++ dla ORBit
50 Ten pakiet zawiera pliki nagłówkowe oraz użytki potrzebne do pisania
51 programów używających orbitcpp.
54 Summary: Static orbitcpp library
55 Summary(pl.UTF-8): Statyczna biblioteka orbitcpp
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Orbitcpp is a project to develop C++ bindings for the ORBit Corba ORB.
62 This package includes static library neecessary to write programs
63 statically linked that use CORBA technology.
65 %description static -l pl.UTF-8
66 Orbitcpp to projekt umożliwiający tworzenie powiązań C++ dla ORBit
69 Ten pakiet zawiera bibliotekę statyczną potrzebną do pisania
70 konsolidowanych statycznie programów używających technologii CORBA.
80 # -i is workaround for am problems in tests
83 %{!?with_static_libs:--disable-static}
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 # not needed for ORBit2 backends
93 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/idl-backends/*.{a,la}
96 rm -rf $RPM_BUILD_ROOT
99 %defattr(644,root,root,755)
100 %doc AUTHORS NEWS README
101 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
102 %dir %{_libdir}/orbit-2.0/idl-backends
103 %attr(755,root,root) %{_libdir}/orbit-2.0/idl-backends/*.so*
106 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_includedir}/orbitcpp-*
111 %{_pkgconfigdir}/*.pc
113 %if %{with static_libs}
115 %defattr(644,root,root,755)