SUNWgnome-gui-test.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 15556 79756053d7da
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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
#
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
9397
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15556
diff changeset
    10
%define owner davelam
9397
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
15473
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15352
diff changeset
    26
Requires: SUNWgnome-python-libs
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-a11y-libs-devel
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    30
Requires: SUNWdesktop-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%dogtail.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
[ "$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
    41
%dogtail.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%{?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
    44
#Remove AT-API browser and dogtail from the menus
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    45
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/sniff.desktop
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    46
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
    47
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
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
%post
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    51
%restart_fmri desktop-mime-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%postun
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    54
%restart_fmri desktop-mime-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%defattr (-, root, bin)
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    58
%doc -d dogtail-%{dogtail.version} README
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    59
%doc(bzip2) -d dogtail-%{dogtail.version} COPYING NEWS
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%dir %attr (0755, root, sys) %{_datadir}
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    65
%dir %attr (0755, root, other) %{_datadir}/applications
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    66
%{_datadir}/applications/*.desktop
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%dir %attr (0755, root, other) %{_datadir}/doc
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    68
%{_datadir}/doc/dogtail
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%{_datadir}/dogtail
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%attr (-, root, other) %{_datadir}/icons
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%changelog
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    73
* Fri Apr  3 2009 - [email protected]
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15473
diff changeset
    74
- use desktop-cache instead of postrun
15473
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15352
diff changeset
    75
* Mon Mar 23 2009 - [email protected]
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15352
diff changeset
    76
- Since /usr/bin/dogtail-recorder (SUNWgnome-gui-test) requires
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15352
diff changeset
    77
  /usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/keysyms.pyc which is
22a349d94c8c 2009-03-23 Jeff Cai <[email protected]>
qc161282
parents: 15352
diff changeset
    78
  found in SUNWgnome-python-libs, add the dependency.
15352
7ed50e8ebf6a took the ownership
davelam
parents: 13673
diff changeset
    79
* Wed Mar 11 2009 - [email protected]
7ed50e8ebf6a took the ownership
davelam
parents: 13673
diff changeset
    80
- Took the ownership of this spec file.
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    81
* Fri Sep 19 2008 - [email protected]
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    82
- Add %doc part to %files
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 9659
diff changeset
    83
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 9659
diff changeset
    84
- Add SUNW_Copyright.
9659
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    85
* Wed Apr 04 2007 - [email protected]
9c4a11f4da32 2007-04-04 Glynn Foster <[email protected]>
gman
parents: 9655
diff changeset
    86
- Set .desktop items to NoDisplay=true
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
- 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
    89
  interface and wasn't supposed to be changed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
- 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
    92
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Tue Feb 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- Update packaging for new tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
* Mon Oct 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
- fix permissions
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Thu Oct 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- Initial version.