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
|
|
16 |
Version: 2.6.0
|
2326
|
17 |
Source: orbit-idl-2.1
|
|
18 |
Source1: activation-client.1
|
|
19 |
Source2: libORBit-2.3
|
|
20 |
Source3: libbonobo-activation.3
|
|
21 |
Source4: libIDL-2.3
|
|
22 |
Source5: libbonobo-2.3
|
1536
|
23 |
SUNW_BaseDir: %{_prefix}
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
|
|
26 |
%include default-depend.inc
|
|
27 |
Requires: SUNWlibpopt
|
|
28 |
Requires: SUNWgnome-component-root
|
|
29 |
Requires: SUNWgnome-component-share
|
|
30 |
Requires: SUNWgnome-base-libs
|
|
31 |
Requires: SUNWpl5u
|
|
32 |
Requires: SUNWlxml
|
|
33 |
|
|
34 |
%package root
|
|
35 |
Summary: GNOME CORBA ORB and component framework - platform dependent files, / filesystem
|
|
36 |
SUNW_BaseDir: /
|
|
37 |
%include default-depend.inc
|
|
38 |
|
|
39 |
%package share
|
|
40 |
Summary: GNOME CORBA ORB and component framework - platform independent files, /usr/share
|
|
41 |
SUNW_BaseDir: %{_prefix}
|
|
42 |
%include default-depend.inc
|
|
43 |
|
|
44 |
%package devel-share
|
|
45 |
Summary: GNOME CORBA ORB and component framework - developer files - platform independent, /usr/share
|
|
46 |
SUNW_BaseDir: %{_prefix}
|
|
47 |
%include default-depend.inc
|
|
48 |
|
|
49 |
%package devel
|
|
50 |
Summary: GNOME CORBA ORB and component framework - developer files
|
|
51 |
SUNW_BaseDir: %{_prefix}
|
|
52 |
%include default-depend.inc
|
|
53 |
Requires: SUNWgnome-component-devel-share
|
|
54 |
Requires: SUNWgnome-common-devel
|
|
55 |
Requires: SUNWgnome-base-libs-devel
|
|
56 |
Requires: SUNWlxml
|
|
57 |
Requires: SUNWgnome-component
|
|
58 |
Requires: SUNWgnome-base-libs
|
|
59 |
Requires: SUNWlibpopt
|
|
60 |
|
|
61 |
%prep
|
|
62 |
rm -rf %name-%version
|
|
63 |
mkdir %name-%version
|
|
64 |
%idl.prep -d %name-%version
|
|
65 |
%orbit.prep -d %name-%version
|
|
66 |
%bonobo.prep -d %name-%version
|
|
67 |
|
|
68 |
%build
|
|
69 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
70 |
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:%{_libdir}/pkgconfig:/usr/lib/pkgconfig
|
1648
|
71 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
1536
|
72 |
export CPP=/usr/lib/cpp
|
2000
|
73 |
export LDFLAGS="-L%{_libdir} -R%{_libdir}"
|
2248
|
74 |
export CFLAGS="%optflags -I%{_includedir}"
|
2094
|
75 |
export RPM_OPT_FLAGS="$CFLAGS"
|
1536
|
76 |
|
|
77 |
%ifarch i386
|
|
78 |
export CPPFLAGS="-D__i386"
|
|
79 |
%endif
|
|
80 |
|
2016
|
81 |
%ifarch sparc
|
2017
|
82 |
export CPPFLAGS="-D__sparcv8 -D__sparc"
|
2016
|
83 |
%endif
|
|
84 |
|
1536
|
85 |
export MSGFMT="/usr/bin/msgfmt"
|
|
86 |
%idl.build -d %name-%version
|
|
87 |
%orbit.build -d %name-%version
|
2000
|
88 |
export LDFLAGS="-R%{_libdir} -L%{_builddir}/%name-%version/ORBit2-%{orbit.version}/src/services/name"
|
1536
|
89 |
%bonobo.build -d %name-%version
|
|
90 |
|
|
91 |
%install
|
|
92 |
%idl.install -d %name-%version
|
|
93 |
%orbit.install -d %name-%version
|
|
94 |
%bonobo.install -d %name-%version
|
2326
|
95 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
96 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
97 |
install --mode=0644 %SOURCE0 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
98 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/sman1
|
|
99 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman3
|
|
100 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman3
|
|
101 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman3
|
|
102 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman3
|
|
103 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/sman3
|
1536
|
104 |
|
|
105 |
%clean
|
|
106 |
rm -rf $RPM_BUILD_ROOT
|
|
107 |
|
|
108 |
%files
|
|
109 |
%defattr (-, root, other)
|
1643
|
110 |
%dir %attr (0755, root, bin) %{_bindir}
|
2106
|
111 |
%{_bindir}/activation-client
|
|
112 |
%{_bindir}/bonobo-activation-run-query
|
|
113 |
%{_bindir}/bonobo-slay
|
1536
|
114 |
%{_bindir}/ior-decode-2
|
|
115 |
%{_bindir}/linc-cleanup-sockets
|
|
116 |
%{_bindir}/typelib-dump
|
|
117 |
%{_bindir}/echo-client-2
|
2189
|
118 |
%dir %attr (0755, root, bin) %{_sbindir}
|
|
119 |
%{_sbindir}/*
|
1643
|
120 |
%dir %attr (0755, root, bin) %{_libdir}
|
1536
|
121 |
%{_libdir}/lib*.so*
|
2189
|
122 |
%dir %{_libdir}/bonobo
|
|
123 |
%dir %{_libdir}/bonobo/monikers
|
|
124 |
%{_libdir}/bonobo/monikers/*.so
|
|
125 |
%{_libdir}/bonobo/servers
|
|
126 |
%{_libdir}/bonobo-2.0
|
1536
|
127 |
%{_libdir}/orbit*/*.so
|
2106
|
128 |
%{_libexecdir}/bonobo-activation-server
|
1536
|
129 |
|
|
130 |
%files share
|
|
131 |
%defattr (-, root, other)
|
1643
|
132 |
%dir %attr (0755, root, sys) %{_datadir}
|
1536
|
133 |
%{_datadir}/locale
|
|
134 |
|
|
135 |
%files devel-share
|
|
136 |
%defattr (-, root, other)
|
1643
|
137 |
%dir %attr (0755, root, sys) %{_datadir}
|
1536
|
138 |
%{_datadir}/gtk-doc
|
|
139 |
%{_datadir}/aclocal
|
|
140 |
%{_datadir}/idl
|
1644
|
141 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
142 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
143 |
%{_mandir}/*/*
|
1536
|
144 |
|
|
145 |
%files devel
|
|
146 |
%defattr (-, root, other)
|
1642
|
147 |
%dir %attr (0755, root, bin) %{_libdir}
|
1536
|
148 |
%{_libdir}/pkgconfig
|
|
149 |
%{_libdir}/*.so
|
|
150 |
%{_bindir}/libIDL*
|
|
151 |
%{_bindir}/orbit*
|
1642
|
152 |
%dir %attr (0755, root, bin) %{_includedir}
|
1536
|
153 |
%{_includedir}/*
|
|
154 |
|
|
155 |
%files root
|
2502
|
156 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
1536
|
157 |
%defattr (-, root, other)
|
|
158 |
%{_sysconfdir}/*
|
2502
|
159 |
%defattr (0755, root, sys)
|
1536
|
160 |
|
|
161 |
%changelog
|
2326
|
162 |
* Wed Mar 24 2004 - [email protected]
|
|
163 |
- Added SGML man page integration
|
2189
|
164 |
* Fri Mar 12 2004 - [email protected]
|
|
165 |
- more missing files: sbindir, bonobo monikiers and servers
|
2106
|
166 |
* Mon Mar 01 2003 - [email protected]
|
|
167 |
- added missing bonobo/activation binaries to
|
|
168 |
files map.
|
1642
|
169 |
* Fri Feb 13 2004 - [email protected]
|
|
170 |
- added %dir flags
|
1536
|
171 |
* Mon Jan 19 2004 - [email protected]
|
|
172 |
- initial Sun release.
|