/[packages]/cauldron/ORBit2/current/SPECS/ORBit2.spec
ViewVC logotype

Contents of /cauldron/ORBit2/current/SPECS/ORBit2.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5508 - (show annotations) (download)
Mon Jan 10 22:15:20 2011 UTC (10 years, 8 months ago) by dmorgan
File size: 4314 byte(s)
imported package ORBit2
1 %define req_glib_version 2.0.0
2 %define req_libidl_version 0.8.10
3
4 %define lib_major 0
5 %define api_version 2.0
6 %define lib_name %mklibname %{name}_ %{lib_major}
7 %define develname %mklibname -d %name
8
9 Name: ORBit2
10 Version: 2.14.19
11 Release: %mkrel 1
12 Summary: High-performance CORBA Object Request Broker
13 License: LGPLv2+
14 Group: Graphical desktop/GNOME
15 URL: http://www.gnome.org/projects/ORBit2/
16 Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
17
18 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
19 # (fc) 2.4.1-2mdk fix crash when /tmp is not readable
20 Patch0: ORBit2-2.14.4-tmpdir.patch
21 BuildConflicts: ORBit-devel < 0.5.10
22 BuildRequires: indent bison flex popt-devel >= 1.5
23 BuildRequires: glib2-devel >= %{req_glib_version}
24 BuildRequires: libIDL2-devel >= %{req_libidl_version}
25 BuildRequires: gtk-doc
26 Requires: %{lib_name} = %{version}
27 Requires: libIDL2 >= %{req_libidl_version}
28 Obsoletes: linc < 1:1.0.3
29 Conflicts: %{_lib}linc1
30 Provides: linc
31
32 %description
33 ORBit is a high-performance CORBA (Common Object Request Broker
34 Architecture) ORB (object request broker). It allows programs to
35 send requests and receive replies from other programs, regardless
36 of the locations of the two programs. CORBA is an architecture that
37 enables communication between program objects, regardless of the
38 programming language they're written in or the operating system they
39 run on.
40
41 You will need to install this package if you want to run programs that use
42 the ORBit implementation of CORBA technology.
43
44
45 %package -n %{lib_name}
46 Summary: High-performance CORBA Object Request Broker
47 Group: System/Libraries
48 Provides: lib%{name} = %{version}-%{release}
49 Requires: %{name} >= %{version}
50 Requires: libglib2 >= %{req_glib_version}
51
52 %description -n %{lib_name}
53 ORBit is a high-performance CORBA (Common Object Request Broker
54 Architecture) ORB (object request broker). It allows programs to
55 send requests and receive replies from other programs, regardless
56 of the locations of the two programs. CORBA is an architecture that
57 enables communication between program objects, regardless of the
58 programming language they're written in or the operating system they
59 run on.
60
61 This package contains all core libraries of the ORBit implementation
62 of CORBA technology.
63
64
65 %package -n %develname
66 Summary: Development libraries, header files and utilities for ORBit
67 Group: Development/GNOME and GTK+
68 Provides: lib%{name}-devel = %{version}-%{release}
69 Requires: %{lib_name} = %{version}
70 Requires: %{name} = %{version}
71 Requires: libglib2-devel >= %{req_glib_version}
72 Requires: libIDL2-devel >= %{req_libidl_version}
73 # needed for orbit-idl-2
74 Requires: indent
75 Conflicts: ORBit-devel < 0.5.10
76 Obsoletes: %mklibname -d %{name}_ 0
77
78 %description -n %develname
79 This package contains the header files, libraries and utilities
80 necessary to write programs that use CORBA technology. If you want to
81 write such programs, you'll also need to install the ORBit package.
82
83
84 %prep
85 %setup -q
86 %patch0 -p1 -b .tmpdir
87
88 %build
89
90 %configure2_5x --enable-gtk-doc --enable-purify
91
92 #parallel build is broken
93 make
94
95 %check
96 make check
97
98 %install
99 rm -rf %{buildroot}
100
101 %makeinstall_std
102
103 # multiarch policy
104 %multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/orbit2-config
105 %multiarch_includes $RPM_BUILD_ROOT%{_includedir}/orbit-%{api_version}/orbit/orbit-config.h
106
107 # Rename doc to prevent name conflict
108 cp src/services/name/README README.service-name
109
110 # remove unpackaged files
111 rm -f $RPM_BUILD_ROOT%{_libdir}/orbit-%{api_version}/*.a
112
113 %clean
114 rm -rf %{buildroot}
115
116 %files
117 %defattr(-,root,root,755)
118 %doc README.service-name AUTHORS NEWS MAINTAINERS README
119 %{_bindir}/linc-cleanup-sockets
120 %{_bindir}/ior-decode-2
121 %{_bindir}/typelib-dump
122 %{_datadir}/idl/orbit-%{api_version}
123 %dir %{_libdir}/orbit-%{api_version}
124 %{_libdir}/orbit-%{api_version}/Everything_module.so
125
126 %files -n %{lib_name}
127 %defattr(-,root,root,755)
128 %{_libdir}/lib*-2.so.0*
129
130 %files -n %develname
131 %defattr(-,root,root,755)
132 %doc %{_datadir}/gtk-doc/html/*
133 %{_bindir}/orbit2-config
134 %multiarch %{multiarch_bindir}/orbit2-config
135 %{_bindir}/orbit-idl-2
136 %{_datadir}/aclocal/*.m4
137 %{_includedir}/*
138 %{_libdir}/lib*.so
139 %{_libdir}/lib*.a
140 %attr(644,root,root) %{_libdir}/lib*.la
141 %{_libdir}/pkgconfig/*.pc
142 %attr(644,root,root) %{_libdir}/orbit-%{api_version}/Everything_module.la
143
144
145
146

  ViewVC Help
Powered by ViewVC 1.1.28