dogtail.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6221 d50fa7783181
child 6800 547b39bf4483
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     1
#
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     2
# spec file for package dogtail
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     3
#
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     4
# includes module(s): dogtail
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     5
#
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     6
# Copyright (c) 2005 Sun Microsystems, Inc.
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     8
# package are under the same license as the package itself.
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
     9
#
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    10
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    11
%define pythonver 2.4
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    12
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    13
Name:         dogtail
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    14
License:      GPL
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    15
Group:        Development/Languages/Python
6186
9c7b302cef1a * brltty.spec: Bump to 3.7.
dc144907
parents: 6143
diff changeset
    16
Version:      0.4.3
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    17
Release:      1
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    18
Distribution: Java Desktop System
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    19
Vendor:       Sun Microsystems, Inc.
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    20
Summary:      GUI test tool and automation framework written in Python
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    21
Source:       http://people.redhat.com/zcerza/dogtail/releases/%{name}-%{version}.tar.gz
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    22
URL:          http://people.redhat.com/zcerza/dogtail/
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    24
Docdir:       %{_defaultdocdir}/doc
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    25
Autoreqprov:  off
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    26
Prereq:       /sbin/ldconfig
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    27
Requires:      python >= %{pythonver}
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    28
Requires:      at-spi
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    29
Requires:      pyspi
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    30
Requires:      Pyrex
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    31
BuildRequires: python-devel >= %{pythonver}
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    32
BuildRequires: at-spi-devel
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    33
BuildRequires: pyspi
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    34
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    35
%description
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    36
dogtail is a GUI test tool and automation framework written in Python.
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    37
It uses Accessibility (a11y) technologies to communicate with desktop
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    38
applications. dogtail scripts are written in Python and executed like any
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    39
other Python program.
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    40
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    41
%prep
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    42
%setup -q
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    43
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    44
%build
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    45
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    46
%install
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    47
python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    48
6221
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    49
# move to vendor-packages
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    50
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    51
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    52
6143
827445ab2465 * pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents: 6142
diff changeset
    53
# Delete precompiled py code (*.pyc). May not be compatibile with dest system.
827445ab2465 * pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents: 6142
diff changeset
    54
find $RPM_BUILD_ROOT%{_prefix} -type f -name "*.pyc" -exec rm -f {} ';'
827445ab2465 * pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents: 6142
diff changeset
    55
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    56
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    57
%clean
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    59
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    60
%files
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    61
%defattr(-, root, root)
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    62
%{_bindir}
6221
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    63
%{_libdir}/python%{majorver}/vendor-packages
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    64
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    65
%changelog
6221
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    66
* Mon Oct 31 2005 - [email protected]
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    67
- move from site-packages to vendor-packages
d50fa7783181 move to vendor-packages
laca
parents: 6186
diff changeset
    68
6186
9c7b302cef1a * brltty.spec: Bump to 3.7.
dc144907
parents: 6143
diff changeset
    69
* Wed Oct 26 2005 - [email protected]
9c7b302cef1a * brltty.spec: Bump to 3.7.
dc144907
parents: 6143
diff changeset
    70
- Bump to 0.4.3.
9c7b302cef1a * brltty.spec: Bump to 3.7.
dc144907
parents: 6143
diff changeset
    71
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    72
* Thu Oct 20 2005 - [email protected]
6143
827445ab2465 * pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents: 6142
diff changeset
    73
- Delete .pyc files so they are not included in the package.
6142
7111bc5e30a9 * pyspi.spec: Remove 'make' call from %install. Already in '%build'.
dc144907
parents:
diff changeset
    74
- Initial version.