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

#
# spec file for package libzypp-testsuite-tools
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:		libzypp-testsuite-tools
BuildRequires:	gcc-c++ fdupes dejagnu ruby ruby-zypp ruby-zypptools libexpat-devel libqt4-devel libqdialogsolver1-devel 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.11
Release:	0
Source:		zypp-testsuite-tools-4.2.11.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
Requires:       libzypp-testsuite-tools
Summary:        Package, Patch, Pattern, and Product Management - testsuite-data
Group:          System/Packages
%if %suse_version > 1120
BuildArch:      noarch
%endif

%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.11

%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 -n libzypp-testsuite
 converted neededforbuild to BuildRequires
* Wed Jan 31 2007 - shaas@suse.de
- Initial version
openSUSE Build Service is sponsored by