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

#
# spec file for package libzypp-testsuite-tools (Version 4.2.9)
#
# Copyright (c) 2009 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:  dejagnu fdupes gcc-c++ libexpat-devel libqdialogsolver1-devel libqt4-devel ruby ruby-zypp ruby-zypptools yast2-core-devel yast2-libyui-devel
BuildRequires:  libzypp-devel >= 6.10.0
Requires:       ruby-zypp ruby-zypptools libqt4 libqdialogsolver1 yast2-libyui
License:        GPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Summary:        Package, Patch, Pattern, and Product Management - testsuite-tools
Version:        4.2.9
Release:        1
Source:         zypp-testsuite-tools-4.2.9.tar.bz2
Prefix:         /usr
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>

%package data
License:        GPL v2 or later
Requires:       libzypp-testsuite-tools
Summary:        Package, Patch, Pattern, and Product Management - testsuite-data
Group:          System/Packages

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

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.2.9

%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 --prefix=%{prefix} --libdir=%{_libdir} --with-qt-dir=/usr/lib/qt3 --with-qt-libdir=/usr/lib/qt3/%{_lib} --mandir=%{_mandir} --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/

%files data
%defattr(-,root,root)
%dir %{prefix}/share/zypp/testsuite
%dir %{prefix}/share/zypp/testsuite/data
%{prefix}/share/zypp/testsuite/data/

%changelog
openSUSE Build Service is sponsored by