File python-qt.spec of Package python-qt

#
# spec file for package python-qt (Version 3.17.4)
#
# Copyright (c) 2007 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/
#

# norootforbuild

Name:           python-qt
BuildRequires:  python-devel python-sip qt3-devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/Python
Summary:        Python Bindings for Qt
Version:        3.17.4
Release:        1
Provides:       PyQt = %{version}
Requires:       python-sip >= %( echo `rpm -q --queryformat '%{VERSION}' python-sip`)
Url:            http://www.riverbankcomputing.co.uk/pyqt/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        PyQt-x11-gpl-%{version}.tar.bz2

%description
Needed libraries for writing GUI applications using Qt in Python.



Authors:
--------
    The KDE Team <kde@kde.org>

%prep
%setup -q -n PyQt-x11-gpl-%{version}

%build
export CXXFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="$RPM_OPT_FLAGS"
echo yes | python configure.py
make %{?jobs:-j %jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog LICENSE NEWS README THANKS
/usr/bin/pylupdate
/usr/bin/pyuic
%{py_sitedir}/pyqtconfig.py
%{py_sitedir}/qt.so
%{py_sitedir}/qtcanvas.so
%{py_sitedir}/qtgl.so
%{py_sitedir}/qtnetwork.so
%{py_sitedir}/qtsql.so
%{py_sitedir}/qttable.so
%{py_sitedir}/qtui.so
%{py_sitedir}/qtxml.so
/usr/share/sip/qt
/usr/share/sip/qtcanvas
/usr/share/sip/qtgl
/usr/share/sip/qtnetwork
/usr/share/sip/qtsql
/usr/share/sip/qttable
/usr/share/sip/qtui
/usr/share/sip/qtxml
# This is mainly used by eric3, and 10.3 has eric4
%if %suse_version < 1030
%{py_sitedir}/qtext.so
/usr/share/sip/qtext
%endif

%changelog
* Fri Dec 14 2007 - dmueller@suse.de
- update to 3.17.4:
  * fix build against newest SIP version
* Tue Sep 04 2007 - dmueller@suse.de
- fix buildcycle
* Wed Aug 15 2007 - dmueller@suse.de
- Initial version in autobuild (3.17.3)
openSUSE Build Service is sponsored by