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
|
|
17 |
SUNW_BaseDir: %{_prefix}
|
|
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
19 |
|
|
20 |
%include default-depend.inc
|
|
21 |
Requires: SUNWlibpopt
|
|
22 |
Requires: SUNWgnome-component-root
|
|
23 |
Requires: SUNWgnome-component-share
|
|
24 |
Requires: SUNWgnome-base-libs
|
|
25 |
Requires: SUNWpl5u
|
|
26 |
Requires: SUNWlxml
|
|
27 |
|
|
28 |
%package root
|
|
29 |
Summary: GNOME CORBA ORB and component framework - platform dependent files, / filesystem
|
|
30 |
SUNW_BaseDir: /
|
|
31 |
%include default-depend.inc
|
|
32 |
|
|
33 |
%package share
|
|
34 |
Summary: GNOME CORBA ORB and component framework - platform independent files, /usr/share
|
|
35 |
SUNW_BaseDir: %{_prefix}
|
|
36 |
%include default-depend.inc
|
|
37 |
|
|
38 |
%package devel-share
|
|
39 |
Summary: GNOME CORBA ORB and component framework - developer files - platform independent, /usr/share
|
|
40 |
SUNW_BaseDir: %{_prefix}
|
|
41 |
%include default-depend.inc
|
|
42 |
|
|
43 |
%package devel
|
|
44 |
Summary: GNOME CORBA ORB and component framework - developer files
|
|
45 |
SUNW_BaseDir: %{_prefix}
|
|
46 |
%include default-depend.inc
|
|
47 |
Requires: SUNWgnome-component-devel-share
|
|
48 |
Requires: SUNWgnome-common-devel
|
|
49 |
Requires: SUNWgnome-base-libs-devel
|
|
50 |
Requires: SUNWlxml
|
|
51 |
Requires: SUNWgnome-component
|
|
52 |
Requires: SUNWgnome-base-libs
|
|
53 |
Requires: SUNWlibpopt
|
|
54 |
|
|
55 |
%prep
|
|
56 |
rm -rf %name-%version
|
|
57 |
mkdir %name-%version
|
|
58 |
%idl.prep -d %name-%version
|
|
59 |
%orbit.prep -d %name-%version
|
|
60 |
%bonobo.prep -d %name-%version
|
|
61 |
|
|
62 |
%build
|
|
63 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
64 |
export PKG_CONFIG_PATH=../ORBit2-%{orbit.version}:../libIDL-%{idl.version}:../libbonobo-%{bonobo.version}:%{_libdir}/pkgconfig:/usr/lib/pkgconfig
|
1648
|
65 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
1536
|
66 |
export CPP=/usr/lib/cpp
|
|
67 |
|
|
68 |
%ifarch i386
|
|
69 |
export CPPFLAGS="-D__i386"
|
|
70 |
%endif
|
|
71 |
|
|
72 |
export MSGFMT="/usr/bin/msgfmt"
|
|
73 |
%idl.build -d %name-%version
|
|
74 |
%orbit.build -d %name-%version
|
|
75 |
export LDFLAGS="-L%{_builddir}/%name-%version/ORBit2-%{orbit.version}/src/services/name"
|
|
76 |
%bonobo.build -d %name-%version
|
|
77 |
|
|
78 |
%install
|
|
79 |
%idl.install -d %name-%version
|
|
80 |
%orbit.install -d %name-%version
|
|
81 |
%bonobo.install -d %name-%version
|
|
82 |
|
|
83 |
%clean
|
|
84 |
rm -rf $RPM_BUILD_ROOT
|
|
85 |
|
|
86 |
%files
|
|
87 |
%defattr (-, root, other)
|
1643
|
88 |
%dir %attr (0755, root, bin) %{_bindir}
|
1536
|
89 |
%{_bindir}/ior-decode-2
|
|
90 |
%{_bindir}/linc-cleanup-sockets
|
|
91 |
%{_bindir}/typelib-dump
|
|
92 |
%{_bindir}/echo-client-2
|
1643
|
93 |
%dir %attr (0755, root, bin) %{_libdir}
|
1536
|
94 |
%{_libdir}/lib*.so*
|
|
95 |
%{_libdir}/orbit*/*.so
|
|
96 |
%{_libdir}/bonobo
|
|
97 |
|
|
98 |
%files share
|
|
99 |
%defattr (-, root, other)
|
1643
|
100 |
%dir %attr (0755, root, sys) %{_datadir}
|
1536
|
101 |
%{_datadir}/locale
|
|
102 |
|
|
103 |
%files devel-share
|
|
104 |
%defattr (-, root, other)
|
1643
|
105 |
%dir %attr (0755, root, sys) %{_datadir}
|
1536
|
106 |
%{_datadir}/gtk-doc
|
|
107 |
%{_datadir}/aclocal
|
|
108 |
%{_datadir}/idl
|
1644
|
109 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
110 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
111 |
%{_mandir}/*/*
|
1536
|
112 |
|
|
113 |
%files devel
|
|
114 |
%defattr (-, root, other)
|
1642
|
115 |
%dir %attr (0755, root, bin) %{_libdir}
|
1536
|
116 |
%{_libdir}/pkgconfig
|
|
117 |
%{_libdir}/*.so
|
|
118 |
%{_bindir}/libIDL*
|
|
119 |
%{_bindir}/orbit*
|
1642
|
120 |
%dir %attr (0755, root, bin) %{_includedir}
|
1536
|
121 |
%{_includedir}/*
|
|
122 |
|
|
123 |
%files root
|
|
124 |
%defattr (-, root, other)
|
1642
|
125 |
%dir %attr (0755, root, sys) %{_sysconfdir}
|
1536
|
126 |
%{_sysconfdir}/*
|
|
127 |
|
|
128 |
%changelog
|
1642
|
129 |
* Fri Feb 13 2004 - [email protected]
|
|
130 |
- added %dir flags
|
1536
|
131 |
* Mon Jan 19 2004 - [email protected]
|
|
132 |
- initial Sun release.
|