File libzypp-testsuite-tools.spec of Package libzypp-testsuite-tools

#
# spec file for package libzypp-testsuite-tools
#
# Copyright (c) 2007-2011 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/
#

Name:		libzypp-testsuite-tools
BuildRequires:	fdupes  libexpat-devel libqt4-devel libqdialogsolver1-devel
BuildRequires:	gcc-c++ >= 4.5
BuildRequires:	libzypp-devel >= 6.10.0
BuildRequires:  libtool
%if 0%{?suse_version} <= 1220
BuildRequires:  yast2-libyui-devel
%else
BuildRequires:  libyui-devel
%endif
License:	GPL-2.0
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
Summary:        Package, Patch, Pattern, and Product Management - testsuite-tools
Version:	4.3.0
Release:	0
Source:		zypp-testsuite-tools-4.3.0.tar.bz2
Group:          System/Packages

%description
Package, Patch, Pattern, and Product Management - testsuite-tools

Authors:
--------
    Michael Andres <ma@suse.de>
    Jiri Srain <jsrain@suse.cz>
    Stefan Schubert <schubi@suse.de>
    Duncan Mac-Vicar <dmacvicar@suse.de>
    Klaus Kaempf <kkaempf@suse.de>
    Marius Tomaschewski <mt@suse.de>
    Stanislav Visnovsky <visnov@suse.cz>
    Ladislav Slezak <lslezak@suse.cz>

%prep
%setup -q -n zypp-testsuite-tools-4.3.0

%build
mv configure.ac x
grep -v devel/ x > configure.ac
autoreconf --force --install --symlink --verbose
%{?suse_update_config:%{suse_update_config -f}}
CXXFLAGS="$RPM_OPT_FLAGS" \
%configure --disable-static
make %{?jobs:-j %jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
%fdupes -s $RPM_BUILD_ROOT

%clean

%files
%defattr(0755,root,root)
%dir %{_prefix}/lib/zypp
%dir %{_prefix}/lib/zypp/testsuite/
%dir %{_prefix}/lib/zypp/testsuite/bin
%{_prefix}/lib/zypp/testsuite/bin/

%changelog
openSUSE Build Service is sponsored by