File ldtp.spec of Package ldtp

#
# spec file for package ldtp (Version 1.3.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           ldtp
BuildRequires:  at-spi-devel gail-devel glib-devel intltool libxml2-devel python python-devel
#%define prefix   /usr
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Productivity/Other
AutoReqProv:    on
Requires:       python
Version:        1.3.0
Release:        4
Summary:        Linux Desktop Testing Project (LDTP)
Url:            http://ldtp.freedesktop.org
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libxml2
Requires:       at-spi >= 1.2.0 
Requires:       glib2 >= 2.2.0
Requires:       python >= 2.3.0
Patch1:         fix-return_with_no_value.patch

%description
GNU/Linux Desktop Testing Project (GNU/LDTP) is aimed at producing a
high quality test automation framework and cutting-edge tools that can
be used to test GNU/Linux Desktop and improve it. It uses the
accessibility libraries to poke through the application's user
interface. The framework has tools to generate Appmap by reading
through the user interface components of an application. The framework
also has tools to record test cases based on user selection on the
application. GNU/LDTP core framework uses Appmap and the recorded test
cases to test an application and gives the status of each test case as
output. GNU/LDTP can test any GNOME application that is enabled for
accessibility, as Mozilla, Openoffice.org, any Java application (should
have a UI based on swing), and KDE 4.0 applications based on QT 4.0
(based on the press releases by KDE).

You are encouraged to join the project and help to create a robust,
reliable, and stable test framework and tools for Unix desktops.



Authors:
--------
    Nagappan A <nagappan@gmail.com>
    Veerapuram Varadhan <v.varadhan@gmail.com>
    Premkumar J <jpremkumar@novell.com>
    Poornima Nayak <pnayak@novell.com>
    Khasim Shaheed <khasim.shaheed@gmail.com>
    Prashanth Mohan <prasmohan@gmail.com>
    Venkateswaran S <wenkat.s@gmail.com>
    Thanikachalam S <thanika1999@yahoo.com>
    Shankar Ganesh <shagan.glare@gmail.com>

%package -n ldtp-python
License:        LGPL v2.1 or later
Summary:        Linux Desktop Testing Project (LDTP)
Group:          Productivity/Other
Requires:       python >= 2.3.0

%description -n ldtp-python
GNU/Linux Desktop Testing Project (GNU/LDTP) is aimed at producing high
quality test automation framework and cutting-edge tools that can be
used to test GNU/Linux Desktop and improve it. It uses the
Accessibility libraries to poke through the application's user
interface. The framework has tools to generate Appmap by reading
through the user interface components of an application. The framework
also has tools to record test-cases based on user-selection on the
application.

GNU/LDTP core framework uses Appmap and the recorded test-cases to test
an application and gives the status of each test-case as output. As of
now, GNU/LDTP can test any GNOME application which are accessibility
enabled, Mozilla, Openoffice.org, any Java application (should have a
UI based on swing) and KDE 4.0 applications based on QT 4.0 (based on
the press releases by KDE).

We encourage you to join the project and help us to create robust,
reliable and stable test tool/framework for Unix Desktops.



Authors:
--------
    Nagappan A <nagappan@gmail.com>
    Veerapuram Varadhan <v.varadhan@gmail.com>
    Premkumar J <jpremkumar@novell.com>
    Poornima Nayak <pnayak@novell.com>
    Khasim Shaheed <khasim.shaheed@gmail.com>
    Prashanth Mohan <prasmohan@gmail.com>
    Venkateswaran S <wenkat.s@gmail.com>
    Thanikachalam S <thanika1999@yahoo.com>
    Shankar Ganesh <shagan.glare@gmail.com>

%prep
%setup 
%patch1

%build
%configure
%{__make} CFLAGS="$RPM_OPT_FLAGS"

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%{__make} install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/ldtp*
%{_bindir}/ldtpcodegen
%{_bindir}/ldtpeditor
%{_datadir}/ldtp

%files -n ldtp-python
%defattr(-, root, root)
%{_bindir}/ldtprunner
/usr/%{_lib}/python%{py_ver}/site-packages/*

%changelog
* Fri Oct 31 2008 ehamera@suse.cz
- repair bug bnc#439996
* Fri Sep 12 2008 maw@suse.de
- Update to version 1.3.0:
  + See http://ldtp.freedesktop.org/wiki/News.
* Tue Apr 01 2008 rodrigo@suse.de
- Update to version 1.0.0:
  * Object Oriented LDTP
  * LDTP Editor (Record / Playback)
* Thu Mar 22 2007 dobey@suse.de
- Update to version 0.8.0
  - Better logging support
  - Bug fixes (#385416, #402371, and #348479)
  - Improved widget map handling
* Mon Oct 16 2006 dobey@suse.de
- Update to the 0.6.0 release of ldtp for bug fixes and features
* Fri Sep 22 2006 dobey@suse.de
- Update to newer CVS snapshot for many bug fixes and features
  for better testing of accessibility in the desktop
* Thu Sep 07 2006 dobey@suse.de
- Update to a CVS snapshot for many bug fixes and features for
  testing accessibility in the desktop
* Tue Aug 08 2006 tuxbox@suse.de
- reworked recent python patch
* Tue Aug 08 2006 tuxbox@suse.de
- update to upstream version 0.5.0
  e.g. added mouse and key registry events
  updated gcc flags
* Wed Apr 05 2006 tuxbox@suse.de
- upgrade to upstream version 0.4.0
* Sun Mar 05 2006 ro@suse.de
- fix build with recent python install change
* Tue Feb 07 2006 fseidel@suse.de
- initial submited version
openSUSE Build Service is sponsored by