SUNWgnome-gui-test.spec
author hem
Mon, 08 Feb 2010 06:46:00 +0000
branchopensolaris-2009-06
changeset 14354 c3d6244280dc
parent 13673 9761924fc246
child 15352 7ed50e8ebf6a
permissions -rw-r--r--
2010-02-08 Hemantha Holla <[email protected]> * base-specs/pidgin.spec: Bump to 2.6.5 as fix for 6913836 * patches/pidgin-07-menu-entry.diff: Rework 6913836 - CVE-2010-0013 - libpurple arbitrary file upload vulnerability
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-gui-test
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): dogtail
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# 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
     8
# 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
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: dcarbery
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use dogtail = dogtail.spec
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
Name:                    SUNWgnome-gui-test
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:                 GUI test tool and automation framework
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
SUNW_BaseDir:            %{_basedir}
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 9659
diff changeset
    19
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Requires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWgnome-a11y-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRequires: SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-a11y-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%dogtail.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
[ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%dogtail.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
9655
9777352ae777 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9397
diff changeset
    43
#Remove AT-API browser and dogtail from the menus
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    44
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/sniff.desktop
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    45
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/dogtail-recorder.desktop
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%defattr (-, root, bin)
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    62
%doc -d dogtail-%{dogtail.version} README
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    63
%doc(bzip2) -d dogtail-%{dogtail.version} COPYING NEWS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%dir %attr (0755, root, sys) %{_datadir}
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    69
%dir %attr (0755, root, other) %{_datadir}/applications
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    70
%{_datadir}/applications/*.desktop
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%dir %attr (0755, root, other) %{_datadir}/doc
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    72
%{_datadir}/doc/dogtail
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_datadir}/dogtail
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%changelog
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    77
* Fri Sep 19 2008 - [email protected]
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    78
- Add %doc part to %files
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 9659
diff changeset
    79
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 9659
diff changeset
    80
- Add SUNW_Copyright.
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    81
* Wed Apr 04 2007 - [email protected]
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    82
- Set .desktop items to NoDisplay=true
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- change datadir/icons permissions back to root:other since it's a stable
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
  interface and wasn't supposed to be changed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Tue Feb 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- Update packaging for new tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Mon Oct 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- fix permissions
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
* Thu Oct 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- Initial version.