author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8565 | b102e7809c6e |
permissions | -rw-r--r-- |
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
1 |
# |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
2 |
# spec file for package SUNWgnome-gui-test |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
3 |
# |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
4 |
# includes module(s): dogtail |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
5 |
# |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
7 |
# This file and all modifications and additions to the pristine |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
8 |
# package are under the same license as the package itself. |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
9 |
# |
8565 | 10 |
# Owner: dcarbery |
11 |
# |
|
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
12 |
%include Solaris.inc |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
13 |
%use dogtail = dogtail.spec |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
14 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
15 |
Name: SUNWgnome-gui-test |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
16 |
Summary: GUI test tool and automation framework |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
17 |
Version: %{default_pkg_version} |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
18 |
SUNW_BaseDir: %{_basedir} |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
20 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
21 |
%include default-depend.inc |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
22 |
Requires: SUNWPython |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
23 |
Requires: SUNWPython-extra |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
24 |
Requires: SUNWgnome-a11y-libs |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
25 |
BuildRequires: SUNWPython-devel |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
26 |
BuildRequires: SUNWPython-extra |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
27 |
BuildRequires: SUNWgnome-a11y-libs-devel |
6339 | 28 |
Requires: SUNWpostrun |
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
29 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
30 |
%prep |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
31 |
rm -rf %name-%version |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
32 |
mkdir %name-%version |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
33 |
%dogtail.prep -d %name-%version |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
34 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
35 |
%build |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
36 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
37 |
%install |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
38 |
[ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
39 |
%dogtail.install -d %name-%version |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
40 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
41 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
42 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
43 |
%clean |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
44 |
rm -rf $RPM_BUILD_ROOT |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
45 |
|
6339 | 46 |
%post |
47 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
48 |
echo '/usr/bin/update-desktop-database' |
|
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
49 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
6339 | 50 |
|
6846 | 51 |
%postun |
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
52 |
test -x $BASEDIR/lib/postrun || exit 0 |
6846 | 53 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
54 |
echo '/usr/bin/update-desktop-database' |
|
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
55 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
6846 | 56 |
|
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
57 |
%files |
6222 | 58 |
%defattr (-, root, bin) |
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
59 |
%dir %attr (0755, root, bin) %{_bindir} |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
60 |
%{_bindir}/* |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
61 |
%dir %attr (0755, root, bin) %{_libdir} |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
62 |
%{_libdir}/* |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
63 |
%dir %attr (0755, root, sys) %{_datadir} |
6223 | 64 |
%dir %attr (0755, root, other) %{_datadir}/applications |
65 |
%{_datadir}/applications/* |
|
66 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
67 |
%{_datadir}/doc/* |
|
68 |
%{_datadir}/dogtail |
|
7911
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
69 |
%attr (-, root, other) %{_datadir}/icons |
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
70 |
|
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
71 |
%changelog |
7911
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
72 |
* Sat Aug 12 2006 - [email protected] |
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
73 |
- change datadir/icons permissions back to root:other since it's a stable |
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
74 |
interface and wasn't supposed to be changed |
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
75 |
* Fri Jul 14 2006 - [email protected] |
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
76 |
- update %post/%postun/etc scripts to support diskless client setup, |
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
77 |
part of 6448317 |
7547
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
78 |
* Thu Jun 29 2006 - [email protected] |
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
79 |
- update postrun scripts |
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
80 |
* Sun Jun 11 2006 - [email protected] |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6919
diff
changeset
|
81 |
- change group from other to bin/sys |
6804 | 82 |
* Tue Feb 21 2006 - [email protected] |
83 |
- Update packaging for new tarball. |
|
6339 | 84 |
* Sat Dec 3 2005 - [email protected] |
85 |
- add %post script that runs update-desktop-database |
|
6223 | 86 |
* Mon Oct 21 2005 - [email protected] |
87 |
- fix permissions |
|
6140
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
88 |
* Thu Oct 20 2005 - [email protected] |
2925740d74e7
* SUNWPython-extra.spec: Correct copyright date, to 2005.
dc144907
parents:
diff
changeset
|
89 |
- Initial version. |