9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-gui-test
|
|
3 |
#
|
|
4 |
# includes module(s): dogtail
|
|
5 |
#
|
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: dcarbery
|
|
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
|
|
26 |
BuildRequires: SUNWPython-devel
|
|
27 |
BuildRequires: SUNWPython-extra
|
|
28 |
BuildRequires: SUNWgnome-a11y-libs-devel
|
|
29 |
Requires: SUNWpostrun
|
|
30 |
|
|
31 |
%prep
|
|
32 |
rm -rf %name-%version
|
|
33 |
mkdir %name-%version
|
|
34 |
%dogtail.prep -d %name-%version
|
|
35 |
|
|
36 |
%build
|
|
37 |
|
|
38 |
%install
|
|
39 |
[ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
40 |
%dogtail.install -d %name-%version
|
|
41 |
|
|
42 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
9655
|
43 |
#Remove AT-API browser and dogtail from the menus
|
9659
|
44 |
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/sniff.desktop
|
|
45 |
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/dogtail-recorder.desktop
|
9397
|
46 |
%clean
|
|
47 |
rm -rf $RPM_BUILD_ROOT
|
|
48 |
|
|
49 |
%post
|
|
50 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
|
|
51 |
echo '/usr/bin/update-desktop-database'
|
|
52 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
|
|
53 |
|
|
54 |
%postun
|
|
55 |
test -x $BASEDIR/lib/postrun || exit 0
|
|
56 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
|
|
57 |
echo '/usr/bin/update-desktop-database'
|
|
58 |
) | $BASEDIR/lib/postrun -b -u -c JDS
|
|
59 |
|
|
60 |
%files
|
|
61 |
%defattr (-, root, bin)
|
13673
|
62 |
%doc -d dogtail-%{dogtail.version} README
|
|
63 |
%doc(bzip2) -d dogtail-%{dogtail.version} COPYING NEWS
|
9397
|
64 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
65 |
%{_bindir}/*
|
|
66 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
67 |
%{_libdir}/*
|
|
68 |
%dir %attr (0755, root, sys) %{_datadir}
|
9659
|
69 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
70 |
%{_datadir}/applications/*.desktop
|
9397
|
71 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
13673
|
72 |
%{_datadir}/doc/dogtail
|
9397
|
73 |
%{_datadir}/dogtail
|
|
74 |
%attr (-, root, other) %{_datadir}/icons
|
|
75 |
|
|
76 |
%changelog
|
13673
|
77 |
* Fri Sep 19 2008 - [email protected]
|
|
78 |
- Add %doc part to %files
|
12016
|
79 |
* Thu Apr 03 2008 - [email protected]
|
|
80 |
- Add SUNW_Copyright.
|
9659
|
81 |
* Wed Apr 04 2007 - [email protected]
|
|
82 |
- Set .desktop items to NoDisplay=true
|
9397
|
83 |
* Sat Aug 12 2006 - [email protected]
|
|
84 |
- change datadir/icons permissions back to root:other since it's a stable
|
|
85 |
interface and wasn't supposed to be changed
|
|
86 |
* Fri Jul 14 2006 - [email protected]
|
|
87 |
- update %post/%postun/etc scripts to support diskless client setup,
|
|
88 |
part of 6448317
|
|
89 |
* Thu Jun 29 2006 - [email protected]
|
|
90 |
- update postrun scripts
|
|
91 |
* Sun Jun 11 2006 - [email protected]
|
|
92 |
- change group from other to bin/sys
|
|
93 |
* Tue Feb 21 2006 - [email protected]
|
|
94 |
- Update packaging for new tarball.
|
|
95 |
* Sat Dec 3 2005 - [email protected]
|
|
96 |
- add %post script that runs update-desktop-database
|
|
97 |
* Mon Oct 21 2005 - [email protected]
|
|
98 |
- fix permissions
|
|
99 |
* Thu Oct 20 2005 - [email protected]
|
|
100 |
- Initial version.
|