9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-component
|
|
3 |
#
|
|
4 |
# includes module(s): libIDL, ORBit2, libbonobo
|
|
5 |
#
|
10579
|
6 |
# Copyright 2007 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: gheet
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
10579
|
13 |
|
|
14 |
%ifarch amd64 sparcv9
|
|
15 |
%include arch64.inc
|
|
16 |
%define _sysconfdir /etc/%{_arch64}
|
|
17 |
%define _sbindir %{_prefix}/sbin/%{_arch64}
|
|
18 |
%use idl_64 = libIDL.spec
|
|
19 |
%use orbit_64 = ORBit2.spec
|
|
20 |
%use bonobo_64 = libbonobo.spec
|
|
21 |
%endif
|
|
22 |
|
|
23 |
%define _sbindir %{_prefix}/sbin
|
|
24 |
%include base.inc
|
9397
|
25 |
%use idl = libIDL.spec
|
|
26 |
%use orbit = ORBit2.spec
|
|
27 |
%use bonobo = libbonobo.spec
|
10579
|
28 |
|
9397
|
29 |
Name: SUNWgnome-component
|
|
30 |
Summary: GNOME CORBA ORB and component framework
|
|
31 |
Version: %{default_pkg_version}
|
|
32 |
Source: %{name}-manpages-0.1.tar.gz
|
|
33 |
SUNW_BaseDir: %{_basedir}
|
11996
|
34 |
SUNW_Copyright: %{name}.copyright
|
9397
|
35 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
36 |
|
|
37 |
%include default-depend.inc
|
|
38 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
39 |
BuildRequires: SUNWlibpopt-devel
|
|
40 |
BuildRequires: SUNWgnome-component-devel
|
|
41 |
Requires: SUNWlibpopt
|
|
42 |
Requires: SUNWgnome-component-root
|
|
43 |
Requires: SUNWgnome-base-libs
|
|
44 |
Requires: SUNWperl584usr
|
|
45 |
Requires: SUNWperl584core
|
|
46 |
Requires: SUNWlxml
|
10588
|
47 |
%if %option_with_gnu_iconv
|
|
48 |
# for /usr/gnu/bin/printf needed in po/Makefile
|
|
49 |
BuildRequires: SUNWgnu-coreutils
|
|
50 |
%endif
|
9397
|
51 |
|
|
52 |
%package root
|
|
53 |
Summary: %{summary} - / filesystem
|
|
54 |
SUNW_BaseDir: /
|
|
55 |
%include default-depend.inc
|
|
56 |
|
|
57 |
%package devel
|
|
58 |
Summary: %{summary} - development files
|
|
59 |
SUNW_BaseDir: %{_basedir}
|
|
60 |
%include default-depend.inc
|
|
61 |
Requires: SUNWgnome-common-devel
|
|
62 |
Requires: SUNWgnome-base-libs-devel
|
|
63 |
Requires: SUNWlxml
|
|
64 |
Requires: SUNWgnome-component
|
|
65 |
Requires: SUNWgnome-base-libs
|
|
66 |
Requires: SUNWlibpopt
|
|
67 |
Requires: SUNWlibms
|
|
68 |
|
|
69 |
%if %build_l10n
|
|
70 |
%package l10n
|
|
71 |
Summary: %{summary} - l10n files
|
|
72 |
SUNW_BaseDir: %{_basedir}
|
|
73 |
%include default-depend.inc
|
|
74 |
Requires: %{name}
|
|
75 |
%endif
|
|
76 |
|
|
77 |
%prep
|
|
78 |
rm -rf %name-%version
|
|
79 |
mkdir %name-%version
|
10579
|
80 |
|
|
81 |
%ifarch amd64 sparcv9
|
|
82 |
mkdir %name-%version/%_arch64
|
|
83 |
%idl_64.prep -d %name-%version/%_arch64
|
|
84 |
%orbit_64.prep -d %name-%version/%_arch64
|
|
85 |
%bonobo_64.prep -d %name-%version/%_arch64
|
|
86 |
%endif
|
|
87 |
|
|
88 |
mkdir %name-%version/%{base_arch}
|
|
89 |
%idl.prep -d %name-%version/%{base_arch}
|
|
90 |
%orbit.prep -d %name-%version/%{base_arch}
|
|
91 |
%bonobo.prep -d %name-%version/%{base_arch}
|
|
92 |
|
9397
|
93 |
cd %{_builddir}/%name-%version
|
|
94 |
gzcat %SOURCE0 | tar xf -
|
|
95 |
|
|
96 |
%build
|
|
97 |
PKG_CONFIG_DISABLE_UNINSTALLED=
|
|
98 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
99 |
|
|
100 |
export PERL=/usr/perl5/bin/perl
|
9795
|
101 |
export PERL_PATH=/usr/perl5/bin/perl
|
9397
|
102 |
export CPP=/usr/lib/cpp
|
10579
|
103 |
|
|
104 |
%ifarch amd64 sparcv9
|
10716
|
105 |
%if %option_with_gnu_iconv
|
10579
|
106 |
export EXTRA_LDFLAGS="-L/usr/gnu/lib/%_arch64 -R/usr/gnu/lib/%_arch64"
|
10716
|
107 |
%endif
|
10579
|
108 |
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:/usr/lib/%{_arch64}/pkgconfig
|
9397
|
109 |
|
10579
|
110 |
%idl_64.build -d %name-%version/%_arch64
|
|
111 |
%orbit_64.build -d %name-%version/%_arch64
|
|
112 |
|
|
113 |
export EXTRA_LDFLAGS="-L%{_builddir}/%name-%version/%_arch64/ORBit2-%{orbit.version}/src/services/name -R/usr/lib/%{_arch64}"
|
9397
|
114 |
|
10579
|
115 |
%bonobo_64.build -d %name-%version/%_arch64
|
|
116 |
%endif
|
9397
|
117 |
|
10579
|
118 |
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:/usr/lib/pkgconfig
|
10716
|
119 |
%if %option_with_gnu_iconv
|
10579
|
120 |
export EXTRA_LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
|
10716
|
121 |
%endif
|
10579
|
122 |
%idl.build -d %name-%version/%{base_arch}
|
|
123 |
%orbit.build -d %name-%version/%{base_arch}
|
9397
|
124 |
|
10579
|
125 |
export EXTRA_LDFLAGS="-L%{_builddir}/%name-%version/%{base_arch}/ORBit2-%{orbit.version}/src/services/name"
|
|
126 |
|
|
127 |
%bonobo.build -d %name-%version/%{base_arch}
|
9397
|
128 |
|
|
129 |
%install
|
10579
|
130 |
rm -rf $RPM_BUILD_ROOT
|
|
131 |
|
|
132 |
%ifarch amd64 sparcv9
|
|
133 |
%idl_64.install -d %name-%version/%_arch64
|
|
134 |
%orbit_64.install -d %name-%version/%_arch64
|
|
135 |
%bonobo_64.install -d %name-%version/%_arch64
|
|
136 |
%endif
|
|
137 |
|
|
138 |
%idl.install -d %name-%version/%{base_arch}
|
|
139 |
%orbit.install -d %name-%version/%{base_arch}
|
|
140 |
%bonobo.install -d %name-%version/%{base_arch}
|
|
141 |
|
9397
|
142 |
rm -f $RPM_BUILD_ROOT%{_mandir}/*/*.gz
|
|
143 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
144 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
145 |
|
|
146 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
|
|
147 |
|
|
148 |
%ifarch amd64 sparcv9
|
10579
|
149 |
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/libIDL-config-2
|
|
150 |
rm $RPM_BUILD_ROOT%{_libexecdir}/%{_arch64}/bonobo-activation-server
|
|
151 |
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/orbit2-config
|
|
152 |
rm $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/bonobo-slay
|
9397
|
153 |
%endif
|
|
154 |
|
|
155 |
%if %build_l10n
|
|
156 |
%else
|
|
157 |
# REMOVE l10n FILES
|
|
158 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
159 |
%endif
|
|
160 |
|
|
161 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
162 |
|
|
163 |
%clean
|
|
164 |
rm -rf $RPM_BUILD_ROOT
|
|
165 |
|
|
166 |
%files
|
|
167 |
%defattr (-, root, bin)
|
|
168 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
169 |
%{_bindir}/activation-client
|
|
170 |
%{_bindir}/bonobo-activation-run-query
|
|
171 |
%{_bindir}/bonobo-slay
|
|
172 |
%{_bindir}/ior-decode-2
|
|
173 |
%{_bindir}/linc-cleanup-sockets
|
|
174 |
%{_bindir}/typelib-dump
|
|
175 |
%{_bindir}/echo-client-2
|
|
176 |
%dir %attr (0755, root, bin) %{_sbindir}
|
|
177 |
%{_sbindir}/bonobo-activation-sysconf
|
|
178 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
179 |
%{_libdir}/lib*.so*
|
|
180 |
%{_libdir}/bonobo/monikers/*.so
|
|
181 |
%{_libdir}/bonobo/servers
|
|
182 |
%{_libdir}/bonobo-2.0
|
|
183 |
%{_libdir}/orbit*/*.so
|
|
184 |
%{_libexecdir}/bonobo-activation-server
|
|
185 |
%ifarch amd64 sparcv9
|
|
186 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
|
|
187 |
%{_bindir}/%{_arch64}/activation-client
|
|
188 |
%{_bindir}/%{_arch64}/bonobo-activation-run-query
|
|
189 |
%{_bindir}/%{_arch64}/ior-decode-2
|
|
190 |
%{_bindir}/%{_arch64}/linc-cleanup-sockets
|
|
191 |
%{_bindir}/%{_arch64}/typelib-dump
|
|
192 |
%{_bindir}/%{_arch64}/echo-client-2
|
|
193 |
%dir %attr (0755, root, bin) %{_sbindir}/%{_arch64}
|
|
194 |
%{_sbindir}/%{_arch64}/bonobo-activation-sysconf
|
|
195 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
196 |
%{_libdir}/%{_arch64}/lib*.so*
|
|
197 |
%{_libdir}/%{_arch64}/bonobo/monikers/*.so
|
|
198 |
%{_libdir}/%{_arch64}/bonobo/servers
|
|
199 |
%{_libdir}/%{_arch64}/bonobo-2.0
|
|
200 |
%{_libdir}/%{_arch64}/orbit*/*.so
|
|
201 |
%endif
|
|
202 |
|
|
203 |
%files devel
|
|
204 |
%defattr (-, root, bin)
|
|
205 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
206 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
207 |
%{_libdir}/pkgconfig/*
|
|
208 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
209 |
%{_bindir}/libIDL*
|
|
210 |
%{_bindir}/orbit*
|
|
211 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
212 |
%{_includedir}/*
|
|
213 |
%ifarch amd64 sparcv9
|
|
214 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
|
|
215 |
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
|
|
216 |
%{_libdir}/%{_arch64}/pkgconfig/*
|
|
217 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64}
|
|
218 |
%{_bindir}/%{_arch64}/orbit-idl-2
|
|
219 |
%endif
|
|
220 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
221 |
%{_datadir}/gtk-doc
|
|
222 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
223 |
%{_datadir}/aclocal/*
|
|
224 |
%{_datadir}/idl
|
|
225 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
226 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
227 |
%{_mandir}/*/*
|
|
228 |
|
|
229 |
%files root
|
|
230 |
%defattr (-, root, sys)
|
|
231 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
232 |
%{_sysconfdir}/[bo]*
|
|
233 |
%ifarch sparcv9 amd64
|
|
234 |
%{_sysconfdir}/%{_arch64}/*
|
|
235 |
%endif
|
|
236 |
|
|
237 |
%if %build_l10n
|
|
238 |
%files l10n
|
|
239 |
%defattr (-, root, bin)
|
|
240 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
241 |
%attr (-, root, other) %{_datadir}/locale
|
|
242 |
%endif
|
|
243 |
|
|
244 |
%changelog
|
10716
|
245 |
* Fri Oct 26 2007 - [email protected]
|
|
246 |
- Only add /usr/gnu/lib to EXTRA_LDFLAGS when using GNU iconv.
|
10588
|
247 |
* Tue Oct 2 2007 - [email protected]
|
|
248 |
- add SUNWgnu-coreutils dep for /usr/bin/printf
|
10579
|
249 |
* Sun Sep 30 2007 - [email protected]
|
|
250 |
- convert to new style multi-ISA build
|
9795
|
251 |
* Thu Apr 26 2007 - [email protected]
|
|
252 |
- set PERL_PATH for bonobo-slay, part of 6454456
|
9397
|
253 |
* Fri Sep 08 2006 - [email protected]
|
|
254 |
- Remove "rm" of _mandir during %install
|
|
255 |
* Fri Sep 01 2006 - [email protected]
|
|
256 |
- New Manpage tarball
|
|
257 |
* Sat Aug 12 2006 - [email protected]
|
|
258 |
- set PERL to /usr/perl5/bin/perl as per CR6454456
|
|
259 |
* Sun Jun 11 2006 - [email protected]
|
|
260 |
- change group from other to bin/sys
|
|
261 |
* Wed May 10 2006 - [email protected]
|
|
262 |
- merge -share pkg(s) into the base pkg(s)
|
|
263 |
* Sun Feb 19 2006 - [email protected]
|
|
264 |
- Update Build/Requires after running check-deps.pl script.
|
|
265 |
* Thu Feb 2 2006 - [email protected]
|
|
266 |
- Add hack to use /usr/xpg4/bin/sed for libbonobo so last line of file not
|
|
267 |
dropped.
|
|
268 |
* Sun Sep 18 2005 - [email protected]
|
|
269 |
- remove unpackaged 64-bit files
|
|
270 |
* Fri Sep 02 2005 - [email protected]
|
|
271 |
- remove unpackaged files
|
|
272 |
* Wed May 11 2005 - [email protected]
|
|
273 |
- Create symlink when building ORBit2 to allow uninstalled.pc
|
|
274 |
files to find header files properly.
|
|
275 |
* Thu Oct 21 2004 - [email protected]
|
|
276 |
- set PERL and PERL_PATH, fixes 5100958
|
|
277 |
* Wed Oct 13 2004 - [email protected]
|
|
278 |
- use _pkg_config_path64 in $PKG_CONFIG_PATH64
|
|
279 |
* Sat Oct 02 2004 - [email protected]
|
|
280 |
- added %pkgbuild_postprocess
|
|
281 |
* Sat Oct 2 2004 - [email protected]
|
|
282 |
- Create 64bit libraries for Solaris
|
|
283 |
* Thu Sep 09 2004 - [email protected]
|
|
284 |
- Added bonobo-slay.1 manpage
|
|
285 |
* Tue Aug 31 2004 - [email protected]
|
|
286 |
- Bug 5091588 : Added BuildRequires SUNWgnome-base-libs-devel since
|
|
287 |
SUNWgnome-base-libs was split
|
|
288 |
* Mon Aug 23 2004 - [email protected]
|
|
289 |
- s/SUNWpl5u/SUNWperl584usr/
|
|
290 |
* Wed Aug 18 2004 - [email protected]
|
|
291 |
- Changed manpage mode to 0755 for Solaris integration.
|
|
292 |
* Tue Aug 17 2004 - [email protected]
|
|
293 |
- Changed manpage mode to 0755 for Solaris integration.
|
|
294 |
* Mon Aug 16 2004 - [email protected]
|
|
295 |
- Changed multiple manpage modes to 0755 for Solaris integration.
|
|
296 |
* Sat Jun 26 2004 [email protected]
|
|
297 |
- Changed install location to /usr/...
|
|
298 |
* Thu May 27 2004 - [email protected]
|
|
299 |
- added l10n subpkg, remove share, since it only contained the l10n files
|
|
300 |
* Wed May 19 2004 - [email protected]
|
|
301 |
- Added missing man pages
|
|
302 |
* Thu May 06 2004 - [email protected]
|
|
303 |
- Removed libraries from devel package since they are already
|
|
304 |
in the SUNWgnome-component package.
|
|
305 |
* Wed Mar 24 2004 - [email protected]
|
|
306 |
- Added SGML man page integration
|
|
307 |
* Fri Mar 12 2004 - [email protected]
|
|
308 |
- more missing files: sbindir, bonobo monikiers and servers
|
|
309 |
* Mon Mar 01 2003 - [email protected]
|
|
310 |
- added missing bonobo/activation binaries to
|
|
311 |
files map.
|
|
312 |
* Fri Feb 13 2004 - [email protected]
|
|
313 |
- added %dir flags
|
|
314 |
* Mon Jan 19 2004 - [email protected]
|
|
315 |
- initial Sun release.
|