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