9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-gui-test
|
|
3 |
#
|
|
4 |
# includes module(s): dogtail
|
|
5 |
#
|
15556
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner davelam
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%use dogtail = dogtail.spec
|
|
14 |
|
|
15 |
Name: SUNWgnome-gui-test
|
|
16 |
Summary: GUI test tool and automation framework
|
|
17 |
Version: %{default_pkg_version}
|
|
18 |
SUNW_BaseDir: %{_basedir}
|
12016
|
19 |
SUNW_Copyright: %{name}.copyright
|
9397
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
|
|
22 |
%include default-depend.inc
|
|
23 |
Requires: SUNWPython
|
|
24 |
Requires: SUNWPython-extra
|
|
25 |
Requires: SUNWgnome-a11y-libs
|
15473
|
26 |
Requires: SUNWgnome-python-libs
|
9397
|
27 |
BuildRequires: SUNWPython-devel
|
|
28 |
BuildRequires: SUNWPython-extra
|
|
29 |
BuildRequires: SUNWgnome-a11y-libs-devel
|
15556
|
30 |
Requires: SUNWdesktop-cache
|
9397
|
31 |
|
|
32 |
%prep
|
|
33 |
rm -rf %name-%version
|
|
34 |
mkdir %name-%version
|
|
35 |
%dogtail.prep -d %name-%version
|
|
36 |
|
|
37 |
%build
|
|
38 |
|
|
39 |
%install
|
|
40 |
[ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
41 |
%dogtail.install -d %name-%version
|
|
42 |
|
|
43 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
9655
|
44 |
#Remove AT-API browser and dogtail from the menus
|
9659
|
45 |
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/sniff.desktop
|
|
46 |
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/dogtail-recorder.desktop
|
9397
|
47 |
%clean
|
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
49 |
|
|
50 |
%post
|
15556
|
51 |
%restart_fmri desktop-mime-cache
|
9397
|
52 |
|
|
53 |
%postun
|
15556
|
54 |
%restart_fmri desktop-mime-cache
|
9397
|
55 |
|
|
56 |
%files
|
|
57 |
%defattr (-, root, bin)
|
13673
|
58 |
%doc -d dogtail-%{dogtail.version} README
|
|
59 |
%doc(bzip2) -d dogtail-%{dogtail.version} COPYING NEWS
|
9397
|
60 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
61 |
%{_bindir}/*
|
|
62 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
63 |
%{_libdir}/*
|
|
64 |
%dir %attr (0755, root, sys) %{_datadir}
|
9659
|
65 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
66 |
%{_datadir}/applications/*.desktop
|
9397
|
67 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
13673
|
68 |
%{_datadir}/doc/dogtail
|
9397
|
69 |
%{_datadir}/dogtail
|
|
70 |
%attr (-, root, other) %{_datadir}/icons
|
|
71 |
|
|
72 |
%changelog
|
15556
|
73 |
* Fri Apr 3 2009 - [email protected]
|
|
74 |
- use desktop-cache instead of postrun
|
15473
|
75 |
* Mon Mar 23 2009 - [email protected]
|
|
76 |
- Since /usr/bin/dogtail-recorder (SUNWgnome-gui-test) requires
|
|
77 |
/usr/lib/python2.4/vendor-packages/gtk-2.0/gtk/keysyms.pyc which is
|
|
78 |
found in SUNWgnome-python-libs, add the dependency.
|
15352
|
79 |
* Wed Mar 11 2009 - [email protected]
|
|
80 |
- Took the ownership of this spec file.
|
13673
|
81 |
* Fri Sep 19 2008 - [email protected]
|
|
82 |
- Add %doc part to %files
|
12016
|
83 |
* Thu Apr 03 2008 - [email protected]
|
|
84 |
- Add SUNW_Copyright.
|
9659
|
85 |
* Wed Apr 04 2007 - [email protected]
|
|
86 |
- Set .desktop items to NoDisplay=true
|
9397
|
87 |
* Sat Aug 12 2006 - [email protected]
|
|
88 |
- change datadir/icons permissions back to root:other since it's a stable
|
|
89 |
interface and wasn't supposed to be changed
|
|
90 |
* Fri Jul 14 2006 - [email protected]
|
|
91 |
- update %post/%postun/etc scripts to support diskless client setup,
|
|
92 |
part of 6448317
|
|
93 |
* Thu Jun 29 2006 - [email protected]
|
|
94 |
- update postrun scripts
|
|
95 |
* Sun Jun 11 2006 - [email protected]
|
|
96 |
- change group from other to bin/sys
|
|
97 |
* Tue Feb 21 2006 - [email protected]
|
|
98 |
- Update packaging for new tarball.
|
|
99 |
* Sat Dec 3 2005 - [email protected]
|
|
100 |
- add %post script that runs update-desktop-database
|
|
101 |
* Mon Oct 21 2005 - [email protected]
|
|
102 |
- fix permissions
|
|
103 |
* Thu Oct 20 2005 - [email protected]
|
|
104 |
- Initial version.
|