Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584614
 поиск   регистрация   авторизация 
 
Группа :: Разработка/Python
Пакет: python-module-PyQt

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

%define version 3.13
%define release alt3.M24.1
%setup_python_module PyQt

Summary: Python bindings for Qt.
Name: %packagename
Version: %version
Release: %release
License: GPL
Group: Development/Python
Source0: %modulename-x11-gpl-%version.tar.gz
URL: http://www.riverbankcomputing.co.uk/pyqt/
Requires: libqscintilla >= 1.4
Packager: Python Development Team <python at packages.altlinux.org>
%(echo Requires: `rpmquery --queryformat "%{NAME} = %{VERSION}-%{RELEASE}" libqt3`)

Provides: %modulename = %version-%release
Obsoletes: %modulename

BuildPreReq: python%__python_package_version-module-sip-devel

# Automatically added by buildreq on Thu Apr 10 2003

BuildRequires: XFree86-devel XFree86-libs fontconfig freetype2 gcc-c++ libGLU-devel libXft libexpat libjpeg liblcms libmng libqscintilla-devel >= 1.4  libqt3-devel libstdc++-devel zlib-devel

%description
Python bindings for the Qt C++ class library.  Also includes a PyQt backend
code generator for Qt Designer.

%package devel
Requires: %name = %version-%release
Summary:  Sip files for %name
Group: Development/Python
Obsoletes: %modulename-devel

%description devel
Sip files for PyQt to build extension

%package examples
Summary: %modulename examples
Group: Development/Python
Requires: %name

%description examples
This package contains PyQt examples


%prep
%setup -n %modulename-x11-gpl-%version

%build
export QTDIR=%_libdir/qt3

echo 'yes' | python configure.py
make

%install
export QTDIR=%_libdir/qt3
make install DESTDIR=%buildroot

%files
%_bindir/*
%python_sitelibdir/*
%doc NEWS README README.Linux ChangeLog doc/*.html

%files devel
%dir %_datadir/sip
%_datadir/sip/*

%files examples
%doc examples3

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005