Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513640
en ru br
Репозитории ALT
5.1: 3.18.1-alt1
4.1: 3.17.4-alt1.1
4.0: 3.17-alt1
3.0:
+backports:3.16-alt0.M30.2
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-qt

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

%define version 3.17.4
%define release alt1
#define snap_date 20051230
#define snap_rel 0

%setup_python_module qt

Summary: Python bindings for Qt.
Name: %packagename
Version: %version
License: GPL
Group: Development/Python
%ifdef snap_date
Release: %release.snap%snap_date.%snap_rel.1
%else
Release: %release.1
%endif
Source0: PyQt-x11-gpl.tar
URL: http://www.riverbankcomputing.co.uk/pyqt/
Requires: libqscintilla >= 1.4
%py_package_requires sip >= 4.4
Packager: Python Development Team <python at packages.altlinux.org>

Provides: PyQt
Obsoletes: PyQt
Provides: python-module-PyQt
Obsoletes: python-module-PyQt

BuildPreReq: %py_package_dependencies sip-devel >= 4.7

# Automatically added by buildreq on Thu Apr 10 2003


# Manually edited by morozov at

BuildRequires: xorg-x11-devel gcc-c++ libGLU-devel 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: PyQt-devel
Obsoletes: python-module-PyQt-devel
Provides: PyQt-devel
Provides: python-module-PyQt-devel
%py_package_provides %modulename-devel = %version-%release

%description devel
Sip files for PyQt to build extension

%package examples
Summary: PyQt examples
Group: Development/Python
Requires: %name
%py_package_provides %modulename-examples = %version-%release

%description examples
This package contains PyQt examples


%prep
%setup -n PyQt-x11-gpl

%build
export QTDIR=%_libdir/qt3

echo 'yes' | %__python configure.py -y qt-mt -o %_libdir -d %python_sitelibdir
make

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

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

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

%files examples
%doc examples3

%changelog

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

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin