author | laca |
Thu, 11 Aug 2005 18:34:53 +0000 | |
changeset 5518 | 235b0b4aa324 |
parent 4313 | 61786353fba8 |
child 5711 | b084beb81ff9 |
permissions | -rw-r--r-- |
1536 | 1 |
# |
2 |
# spec file for package SUNWgnome-component |
|
3 |
# |
|
4 |
# includes module(s): libIDL, ORBit2, libbonobo |
|
5 |
# |
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
%include Solaris.inc |
|
11 |
%use idl = libIDL.spec |
|
12 |
%use orbit = ORBit2.spec |
|
13 |
%use bonobo = libbonobo.spec |
|
14 |
Name: SUNWgnome-component |
|
15 |
Summary: GNOME CORBA ORB and component framework - platform dependent files, /usr filesystem |
|
5518 | 16 |
Version: 2.10.0 |
2326 | 17 |
Source: orbit-idl-2.1 |
18 |
Source1: activation-client.1 |
|
2811 | 19 |
Source2: orbit2-config.1 |
20 |
Source3: libORBit-2.3 |
|
21 |
Source4: libbonobo-activation.3 |
|
22 |
Source5: libIDL-2.3 |
|
23 |
Source6: libbonobo-2.3 |
|
24 |
Source7: libORBitCosNaming-2.3 |
|
3889 | 25 |
Source8: bonobo-slay.1 |
2621 | 26 |
SUNW_BaseDir: %{_basedir} |
1536 | 27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
28 |
||
29 |
%include default-depend.inc |
|
3821 | 30 |
BuildRequires: SUNWgnome-base-libs-devel |
1536 | 31 |
Requires: SUNWlibpopt |
32 |
Requires: SUNWgnome-component-root |
|
33 |
Requires: SUNWgnome-base-libs |
|
3669 | 34 |
Requires: SUNWperl584usr |
1536 | 35 |
Requires: SUNWlxml |
36 |
||
37 |
%package root |
|
38 |
Summary: GNOME CORBA ORB and component framework - platform dependent files, / filesystem |
|
39 |
SUNW_BaseDir: / |
|
40 |
%include default-depend.inc |
|
41 |
||
42 |
%package devel-share |
|
43 |
Summary: GNOME CORBA ORB and component framework - developer files - platform independent, /usr/share |
|
2621 | 44 |
SUNW_BaseDir: %{_basedir} |
1536 | 45 |
%include default-depend.inc |
46 |
||
47 |
%package devel |
|
48 |
Summary: GNOME CORBA ORB and component framework - developer files |
|
2621 | 49 |
SUNW_BaseDir: %{_basedir} |
1536 | 50 |
%include default-depend.inc |
51 |
Requires: SUNWgnome-component-devel-share |
|
52 |
Requires: SUNWgnome-common-devel |
|
53 |
Requires: SUNWgnome-base-libs-devel |
|
54 |
Requires: SUNWlxml |
|
55 |
Requires: SUNWgnome-component |
|
56 |
Requires: SUNWgnome-base-libs |
|
57 |
Requires: SUNWlibpopt |
|
58 |
||
5518 | 59 |
%package l10n |
60 |
Summary: %{summary} - l10n files |
|
61 |
SUNW_BaseDir: %{_basedir} |
|
62 |
%include default-depend.inc |
|
63 |
Requires: %{name} |
|
64 |
||
1536 | 65 |
%prep |
66 |
rm -rf %name-%version |
|
67 |
mkdir %name-%version |
|
68 |
%idl.prep -d %name-%version |
|
69 |
%orbit.prep -d %name-%version |
|
70 |
%bonobo.prep -d %name-%version |
|
71 |
||
5518 | 72 |
cd %{_builddir}/%name-%version |
73 |
ln -s `pwd`/ORBit2-%{orbit.version}/src/services/name `pwd`/ORBit2-%{orbit.version}/include/ORBitservices |
|
74 |
||
75 |
%ifarch amd64 sparcv9 |
|
76 |
ln -s `pwd`/ORBit2-%{orbit.version}-64/src/services/name `pwd`/ORBit2-%{orbit.version}-64/include/ORBitservices |
|
77 |
%endif |
|
78 |
||
1536 | 79 |
%build |
2605 | 80 |
PKG_CONFIG_DISABLE_UNINSTALLED= |
1536 | 81 |
unset PKG_CONFIG_DISABLE_UNINSTALLED |
4121 | 82 |
|
3184 | 83 |
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:%{_pkg_config_path} |
4121 | 84 |
|
85 |
export PKG_CONFIG_PATH32="$PKG_CONFIG_PATH" |
|
86 |
||
4226 | 87 |
export PKG_CONFIG_PATH64=../ORBit2-%{orbit.version}-64:../libIDL-%{idl.version}-64:../libbonobo-%{bonobo.version}-64:%{_pkg_config_path64} |
4121 | 88 |
|
4313 | 89 |
export PERL_PATH=/usr/perl5/5.8.4/bin/perl |
90 |
export PERL=/usr/perl5/5.8.4/bin/perl |
|
1648 | 91 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
1536 | 92 |
export CPP=/usr/lib/cpp |
2248 | 93 |
export CFLAGS="%optflags -I%{_includedir}" |
4121 | 94 |
export CFLAGS32="$CFLAGS" |
95 |
export CFLAGS64="%optflags64 -I%{_includedir}" |
|
1536 | 96 |
|
4121 | 97 |
export RPM_OPT_FLAGS="$CFLAGS" |
2016 | 98 |
|
1536 | 99 |
export MSGFMT="/usr/bin/msgfmt" |
100 |
%idl.build -d %name-%version |
|
101 |
%orbit.build -d %name-%version |
|
4121 | 102 |
|
3348
26eb685038fa
remove -L%{_libdir} -R%{_libdir} from LDFLAGS, as %{_libdir} is /usr/lib,
dduvall
parents:
3221
diff
changeset
|
103 |
export LDFLAGS="-L%{_builddir}/%name-%version/ORBit2-%{orbit.version}/src/services/name" |
4121 | 104 |
|
105 |
export LDFLAGS32="$LDFLAGS" |
|
106 |
||
107 |
export LDFLAGS64="-L%{_builddir}/%name-%version/ORBit2-%{orbit.version}-64/src/services/name -R/usr/lib/%{_arch64}" |
|
108 |
||
1536 | 109 |
%bonobo.build -d %name-%version |
110 |
||
111 |
%install |
|
112 |
%idl.install -d %name-%version |
|
113 |
%orbit.install -d %name-%version |
|
114 |
%bonobo.install -d %name-%version |
|
2326 | 115 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
116 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
117 |
install --mode=0755 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1 |
3592
3f8894a1625d
* SUNWTiff.spec: Change mandir group from bin to other for integration.
dc144907
parents:
3577
diff
changeset
|
118 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1 |
2811 | 119 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
3889 | 120 |
install --mode=0644 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/sman1 |
2326 | 121 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman3 |
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
122 |
install --mode=0755 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman3 |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
123 |
install --mode=0755 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman3 |
3613
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3592
diff
changeset
|
124 |
install --mode=0755 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman3 |
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
125 |
install --mode=0755 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/sman3 |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
126 |
install --mode=0755 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/sman3 |
1536 | 127 |
|
4122 | 128 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT} |
129 |
||
1536 | 130 |
%clean |
131 |
rm -rf $RPM_BUILD_ROOT |
|
132 |
||
133 |
%files |
|
134 |
%defattr (-, root, other) |
|
1643 | 135 |
%dir %attr (0755, root, bin) %{_bindir} |
2106 | 136 |
%{_bindir}/activation-client |
137 |
%{_bindir}/bonobo-activation-run-query |
|
138 |
%{_bindir}/bonobo-slay |
|
1536 | 139 |
%{_bindir}/ior-decode-2 |
140 |
%{_bindir}/linc-cleanup-sockets |
|
141 |
%{_bindir}/typelib-dump |
|
142 |
%{_bindir}/echo-client-2 |
|
2189 | 143 |
%dir %attr (0755, root, bin) %{_sbindir} |
4121 | 144 |
%{_sbindir}/bonobo-activation-sysconf |
1643 | 145 |
%dir %attr (0755, root, bin) %{_libdir} |
1536 | 146 |
%{_libdir}/lib*.so* |
2189 | 147 |
%{_libdir}/bonobo/monikers/*.so |
148 |
%{_libdir}/bonobo/servers |
|
149 |
%{_libdir}/bonobo-2.0 |
|
1536 | 150 |
%{_libdir}/orbit*/*.so |
2106 | 151 |
%{_libexecdir}/bonobo-activation-server |
4270 | 152 |
%ifarch amd64 sparcv9 |
4121 | 153 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64} |
154 |
%{_bindir}/%{_arch64}/activation-client |
|
155 |
%{_bindir}/%{_arch64}/bonobo-activation-run-query |
|
156 |
%{_bindir}/%{_arch64}/bonobo-slay |
|
157 |
%{_bindir}/%{_arch64}/ior-decode-2 |
|
158 |
%{_bindir}/%{_arch64}/linc-cleanup-sockets |
|
159 |
%{_bindir}/%{_arch64}/typelib-dump |
|
160 |
%{_bindir}/%{_arch64}/echo-client-2 |
|
161 |
%dir %attr (0755, root, bin) %{_sbindir}/%{_arch64} |
|
162 |
%{_sbindir}/%{_arch64}/bonobo-activation-sysconf |
|
163 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64} |
|
164 |
%{_libdir}/%{_arch64}/lib*.so* |
|
165 |
%{_libdir}/%{_arch64}/bonobo/monikers/*.so |
|
166 |
%{_libdir}/%{_arch64}/bonobo/servers |
|
167 |
%{_libdir}/%{_arch64}/bonobo-2.0 |
|
168 |
%{_libdir}/%{_arch64}/orbit*/*.so |
|
4126
c84ccd1b1e0b
Add '%ifnarch i386' as temp measure to allow building on x86 without 64-bit compiler.
dc144907
parents:
4122
diff
changeset
|
169 |
%endif |
4121 | 170 |
|
1536 | 171 |
%files devel-share |
172 |
%defattr (-, root, other) |
|
1643 | 173 |
%dir %attr (0755, root, sys) %{_datadir} |
1536 | 174 |
%{_datadir}/gtk-doc |
175 |
%{_datadir}/aclocal |
|
176 |
%{_datadir}/idl |
|
1644 | 177 |
%dir %attr(0755, root, bin) %{_mandir} |
178 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
179 |
%{_mandir}/*/* |
|
1536 | 180 |
|
181 |
%files devel |
|
182 |
%defattr (-, root, other) |
|
1642 | 183 |
%dir %attr (0755, root, bin) %{_libdir} |
1536 | 184 |
%{_libdir}/pkgconfig |
2505 | 185 |
%dir %attr (0755, root, bin) %{_bindir} |
1536 | 186 |
%{_bindir}/libIDL* |
187 |
%{_bindir}/orbit* |
|
1642 | 188 |
%dir %attr (0755, root, bin) %{_includedir} |
1536 | 189 |
%{_includedir}/* |
4270 | 190 |
%ifarch amd64 sparcv9 |
4121 | 191 |
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64} |
192 |
%{_libdir}/%{_arch64}/pkgconfig |
|
193 |
%dir %attr (0755, root, bin) %{_bindir}/%{_arch64} |
|
194 |
%{_bindir}/%{_arch64}/libIDL* |
|
195 |
%{_bindir}/%{_arch64}/orbit* |
|
4126
c84ccd1b1e0b
Add '%ifnarch i386' as temp measure to allow building on x86 without 64-bit compiler.
dc144907
parents:
4122
diff
changeset
|
196 |
%endif |
4121 | 197 |
|
198 |
||
1536 | 199 |
%files root |
2502 | 200 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
1536 | 201 |
%defattr (-, root, other) |
202 |
%{_sysconfdir}/* |
|
2502 | 203 |
%defattr (0755, root, sys) |
1536 | 204 |
|
2918 | 205 |
%files l10n |
206 |
%defattr (-, root, other) |
|
207 |
%dir %attr (0755, root, sys) %{_datadir} |
|
208 |
%{_datadir}/locale |
|
209 |
||
1536 | 210 |
%changelog |
5518 | 211 |
* Wed May 11 2005 - [email protected] |
212 |
- Create symlink when building ORBit2 to allow uninstalled.pc |
|
213 |
files to find header files properly. |
|
4313 | 214 |
* Thu Oct 21 2004 - [email protected] |
215 |
- set PERL and PERL_PATH, fixes 5100958 |
|
4226 | 216 |
* Wed Oct 13 2004 - [email protected] |
217 |
- use _pkg_config_path64 in $PKG_CONFIG_PATH64 |
|
4122 | 218 |
* Sat Oct 02 2004 - [email protected] |
219 |
- added %pkgbuild_postprocess |
|
4121 | 220 |
* Sat Oct 2 2004 - [email protected] |
221 |
- Create 64bit libraries for Solaris |
|
3889 | 222 |
* Thu Sep 09 2004 - [email protected] |
223 |
- Added bonobo-slay.1 manpage |
|
3821 | 224 |
* Tue Aug 31 2004 - [email protected] |
225 |
- Bug 5091588 : Added BuildRequires SUNWgnome-base-libs-devel since |
|
226 |
SUNWgnome-base-libs was split |
|
3669 | 227 |
* Mon Aug 23 2004 - [email protected] |
228 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3613
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3592
diff
changeset
|
229 |
* Wed Aug 18 2004 - [email protected] |
77e68a943ac9
Change manpage and xml perms for Solaris integration.
dc144907
parents:
3592
diff
changeset
|
230 |
- Changed manpage mode to 0755 for Solaris integration. |
3592
3f8894a1625d
* SUNWTiff.spec: Change mandir group from bin to other for integration.
dc144907
parents:
3577
diff
changeset
|
231 |
* Tue Aug 17 2004 - [email protected] |
3f8894a1625d
* SUNWTiff.spec: Change mandir group from bin to other for integration.
dc144907
parents:
3577
diff
changeset
|
232 |
- Changed manpage mode to 0755 for Solaris integration. |
3577
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
233 |
* Mon Aug 16 2004 - [email protected] |
310050b35732
* evolution.spec: Remove patch that has been moved upstream.
dc144907
parents:
3348
diff
changeset
|
234 |
- Changed multiple manpage modes to 0755 for Solaris integration. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
235 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
236 |
- Changed install location to /usr/... |
2918 | 237 |
* Thu May 27 2004 - [email protected] |
238 |
- added l10n subpkg, remove share, since it only contained the l10n files |
|
2811 | 239 |
* Wed May 19 2004 - [email protected] |
240 |
- Added missing man pages |
|
2668 | 241 |
* Thu May 06 2004 - [email protected] |
242 |
- Removed libraries from devel package since they are already |
|
243 |
in the SUNWgnome-component package. |
|
2326 | 244 |
* Wed Mar 24 2004 - [email protected] |
245 |
- Added SGML man page integration |
|
2189 | 246 |
* Fri Mar 12 2004 - [email protected] |
247 |
- more missing files: sbindir, bonobo monikiers and servers |
|
2106 | 248 |
* Mon Mar 01 2003 - [email protected] |
249 |
- added missing bonobo/activation binaries to |
|
250 |
files map. |
|
1642 | 251 |
* Fri Feb 13 2004 - [email protected] |
252 |
- added %dir flags |
|
1536 | 253 |
* Mon Jan 19 2004 - [email protected] |
254 |
- initial Sun release. |