|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package python-tqt (version R14)
|
|
|
|
|
# spec file for package pytqt (version R14)
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2014 Trinity Desktop Environment
|
|
|
|
|
#
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
%if "%{?tde_version}" == ""
|
|
|
|
|
%define tde_version 14.1.0
|
|
|
|
|
%endif
|
|
|
|
|
%define tde_pkg python-tqt
|
|
|
|
|
%define tde_pkg pytqt
|
|
|
|
|
%define tde_prefix /opt/trinity
|
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
|
%define tde_datadir %{tde_prefix}/share
|
|
|
|
@ -61,6 +61,8 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
|
|
|
|
|
|
|
|
|
Obsoletes: trinity-PyQt < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: trinity-python-qt3 < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: trinity-python-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: trinity-python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
BuildRequires: tqt3-apps-devel >= 3.5.0
|
|
|
|
|
BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0
|
|
|
|
@ -118,30 +120,32 @@ BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
|
|
|
|
|
Python binding module that allows use of TQt X Window toolkit v3.
|
|
|
|
|
You can use it to create portable graphics-capable scripts.
|
|
|
|
|
|
|
|
|
|
At this moment python-tqt offers a vast subset of TQt API. There are
|
|
|
|
|
At this moment pytqt offers a vast subset of TQt API. There are
|
|
|
|
|
some minor issues related to the differences between C++ and Python
|
|
|
|
|
(types, etc), but usually you'll be able to write code pretty much the
|
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt
|
|
|
|
|
%package -n pytqt
|
|
|
|
|
Summary: TQt bindings for Python
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
Requires: trinity-filesystem >= %{tde_version}
|
|
|
|
|
Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5
|
|
|
|
|
Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0
|
|
|
|
|
Obsoletes: python-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-tqt
|
|
|
|
|
%description -n pytqt
|
|
|
|
|
Python binding module that allows use of TQt X Window toolkit v3.
|
|
|
|
|
You can use it to create portable graphics-capable scripts.
|
|
|
|
|
|
|
|
|
|
At this moment python-tqt offers a vast subset of TQt API. There are
|
|
|
|
|
At this moment pytqt offers a vast subset of TQt API. There are
|
|
|
|
|
some minor issues related to the differences between C++ and Python
|
|
|
|
|
(types, etc), but usually you'll be able to write code pretty much the
|
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt
|
|
|
|
|
%files -n pytqt
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc NEWS README
|
|
|
|
|
%dir %{python_sitearch}/python_tqt
|
|
|
|
@ -156,34 +160,38 @@ same way in both languages (with syntax differences, of course)
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt-gl
|
|
|
|
|
%package -n pytqt-gl
|
|
|
|
|
Summary: TQt OpenGL bindings for Python
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: pytqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: python-tqt-gl < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-tqt-gl = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-tqt-gl
|
|
|
|
|
%description -n pytqt-gl
|
|
|
|
|
Python binding module that allows use of the OpenGL facilities
|
|
|
|
|
offered by the TQt X Window toolkit v3. You can use it to create
|
|
|
|
|
portable graphics-capable scripts.
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-gl
|
|
|
|
|
%files -n pytqt-gl
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{python_sitearch}/python_tqt/qtgl.so
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt-tqtext
|
|
|
|
|
Summary: TQtext extensions for python-tqt
|
|
|
|
|
%package -n pytqt-tqtext
|
|
|
|
|
Summary: TQtext extensions for pytqt
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: pytqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: python-tqt-tqtext < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-tqt-tqtext = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-tqt-tqtext
|
|
|
|
|
python-tqt Extensions. Contains:
|
|
|
|
|
%description -n pytqt-tqtext
|
|
|
|
|
pytqt Extensions. Contains:
|
|
|
|
|
|
|
|
|
|
* TQScintilla: a featureful TQt source code editing component based
|
|
|
|
|
on Scintilla.
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-tqtext
|
|
|
|
|
%files -n pytqt-tqtext
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{python_sitearch}/python_tqt/qtext.so
|
|
|
|
|
|
|
|
|
@ -192,7 +200,7 @@ python-tqt Extensions. Contains:
|
|
|
|
|
%package -n trinity-pytqt-tools
|
|
|
|
|
Summary: Pyuic and pylupdate for TQt
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: pytqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n trinity-pytqt-tools
|
|
|
|
|
pyuic is the PyQt counterpart for TQt's uic. It takes an XML
|
|
|
|
@ -208,19 +216,21 @@ Linguist translation files from Python code.
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt-devel
|
|
|
|
|
%package -n pytqt-devel
|
|
|
|
|
Summary: TQt bindings for Python - Development files
|
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
|
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: pytqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0
|
|
|
|
|
Obsoletes: python-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python-tqt-devel
|
|
|
|
|
%description -n pytqt-devel
|
|
|
|
|
Development .sip files with definitions of PyQt classes. They
|
|
|
|
|
are needed to build PyQt, but also as building blocks of other
|
|
|
|
|
packages based on them, like PyTDE.
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-devel
|
|
|
|
|
%files -n pytqt-devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{python_sitearch}/python_tqt/pyqtconfig.py*
|
|
|
|
|
%dir %{_datadir}/sip
|