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