9397
|
1 |
# Owner: gheet
|
|
2 |
#
|
|
3 |
# spec file for package SUNWtgnome-xagent
|
|
4 |
#
|
|
5 |
# includes module(s): gnome-session
|
|
6 |
#
|
|
7 |
# Copyright (c) 2004 Sun Microsystems, Inc.
|
|
8 |
# This file and all modifications and additions to the pristine
|
|
9 |
# package are under the same license as the package itself.
|
|
10 |
#
|
|
11 |
# Owner:gheet
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
|
|
15 |
%use gsession = gnome-session.spec
|
|
16 |
|
|
17 |
Name: SUNWtgnome-xagent
|
|
18 |
Summary: GNOME Trusted Xagent
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
Source1: tsoljds-migration
|
|
21 |
#owner:gheet date:2006-11-03 type:feature
|
|
22 |
Patch1: SUNWtgnome-xagent-01-trusted-extensions.diff
|
|
23 |
SUNW_BaseDir: %{_basedir}
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
|
|
26 |
%if %build_tjds
|
|
27 |
|
|
28 |
%include default-depend.inc
|
|
29 |
BuildRequires: SUNWxorg-headers
|
|
30 |
Requires: SUNWgnome-vfs-root
|
|
31 |
Requires: SUNWgnome-libs
|
|
32 |
Requires: SUNWgnome-config
|
|
33 |
Requires: SUNWgnome-base-libs
|
|
34 |
Requires: SUNWgnome-panel
|
|
35 |
# Requires: SUNWgnome-component
|
|
36 |
Requires: SUNWperl584usr
|
|
37 |
Requires: SUNWbzip
|
|
38 |
Requires: SUNWzlib
|
|
39 |
Requires: SUNWlxml
|
|
40 |
Requires: SUNWxwrtl
|
|
41 |
Requires: SUNWxorg-clientlibs
|
|
42 |
Requires: SUNWgnome-desktop-prefs
|
|
43 |
BuildRequires: SUNWgnome-vfs-devel
|
|
44 |
BuildRequires: SUNWgnome-libs-devel
|
|
45 |
BuildRequires: SUNWgnome-config-devel
|
|
46 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
47 |
BuildRequires: SUNWgnome-panel-devel
|
|
48 |
BuildRequires: SUNWgnome-desktop-prefs-devel
|
|
49 |
|
|
50 |
|
|
51 |
%prep
|
|
52 |
rm -rf %name-%version
|
|
53 |
mkdir %name-%version
|
|
54 |
%gsession.prep -d %name-%version
|
|
55 |
# This line works for cbe 0.18 only
|
|
56 |
cd %{name}-%{version}/gnome-session-%{gsession.version}
|
|
57 |
%patch1 -p1
|
|
58 |
%build
|
|
59 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
|
60 |
export PKG_CONFIG_PATH=%{_pkg_config_path}
|
|
61 |
export MSGFMT="/usr/bin/msgfmt"
|
|
62 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
63 |
export LDFLAGS="-L/usr/X11/lib -R/usr/X11/lib -L/usr/sfw/lib -R/usr/sfw/lib"
|
|
64 |
export CFLAGS="%optflags -I/usr/X11/include"
|
|
65 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
66 |
|
|
67 |
%gsession.build -d %name-%version
|
|
68 |
|
|
69 |
%install
|
|
70 |
%gsession.install -d %name-%version
|
|
71 |
install -d $RPM_BUILD_ROOT/usr/dt/config
|
|
72 |
install --mode=0755 %SOURCE1 $RPM_BUILD_ROOT/usr/dt/config
|
|
73 |
rm -Rf $RPM_BUILD_ROOT%{_sysconfdir}
|
|
74 |
rm -Rf $RPM_BUILD_ROOT%{_mandir}
|
|
75 |
rm -f $RPM_BUILD_ROOT%{_datadir}/gnome/mandatory.tsolsession
|
|
76 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
|
|
77 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/gnome/default.wm
|
|
78 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
79 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
80 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}/control-center-2.0
|
|
81 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-session
|
|
82 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-session-save
|
|
83 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-session-remove
|
|
84 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-session-properties
|
|
85 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-wm
|
|
86 |
rm -Rf $RPM_BUILD_ROOT%{_bindir}/gnome-smproxy
|
|
87 |
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/flash.gif
|
|
88 |
rm -Rf $RPM_BUILD_ROOT%{_datadir}
|
|
89 |
|
|
90 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT}
|
|
91 |
|
|
92 |
%clean
|
|
93 |
rm -rf $RPM_BUILD_ROOT
|
|
94 |
|
|
95 |
|
|
96 |
%files
|
|
97 |
%defattr (-, root, other)
|
|
98 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
99 |
%{_bindir}/tsoljds-xagent
|
|
100 |
%dir %attr (0755, root, bin) /usr/dt
|
|
101 |
%dir %attr (0755, root, bin) /usr/dt/config
|
|
102 |
/usr/dt/config/tsoljds-migration
|
|
103 |
|
|
104 |
%endif
|
|
105 |
|
|
106 |
%changelog
|
|
107 |
* Fri Nov 03 2006 - [email protected]
|
|
108 |
- Updated SUNWtgnome-xagent-01-trusted-extensions.diff to work for 2.16
|
|
109 |
|
|
110 |
* Wed Jul 26 2006 - [email protected]
|
|
111 |
- Add Build/Requires SUNWgnome-desktop-prefs/-devel for gnome-settings-daemon.
|
|
112 |
|
|
113 |
* Wed Jul 26 2006 - [email protected]
|
|
114 |
- Use 'version' number from gnome-session.spec instead of hard coding here.
|
|
115 |
|
|
116 |
* Thu Jul 13 2006 - [email protected]
|
|
117 |
- Add Build/Requires SUNWgnome-panel/-devel for gnome-desktop.
|
|
118 |
|
|
119 |
* Mon Jun 26 2006 - [email protected]
|
|
120 |
- Add tsoljds-migration
|
|
121 |
- Update SUNWtgnome-xagent-01-trusted-extensions.diff to add tsoljds-migration
|
|
122 |
Fixes 6439165.
|
|
123 |
|
|
124 |
* Wed May 24 2006 - [email protected]
|
|
125 |
- shorten summary
|
|
126 |
|
|
127 |
* Thu 16 Mar 2006 - [email protected]
|
|
128 |
- Move mandatory.tsolsession to SUNWgnome-session spec file.
|
|
129 |
|
|
130 |
*Fri 03 Mar 2006 - [email protected]
|
|
131 |
- Make this build for cbe 0.18.
|
|
132 |
|
|
133 |
* Wed 22 feb 2006 - [email protected]
|
|
134 |
- Version which is based on SUNWgnome-session.spec.
|
|
135 |
Remove all files which are not required by this module.
|