|
|
@ -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
|
|
|
|
# Copyright (c) 2014 Trinity Desktop Environment
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
%if "%{?tde_version}" == ""
|
|
|
|
%if "%{?tde_version}" == ""
|
|
|
|
%define tde_version 14.1.0
|
|
|
|
%define tde_version 14.1.0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%define tde_pkg python-tqt
|
|
|
|
%define tde_pkg pytqt
|
|
|
|
%define tde_prefix /opt/trinity
|
|
|
|
%define tde_prefix /opt/trinity
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
%define tde_datadir %{tde_prefix}/share
|
|
|
|
%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-PyQt < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Obsoletes: trinity-python-qt3 < %{?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: tqt3-apps-devel >= 3.5.0
|
|
|
|
BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.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.
|
|
|
|
Python binding module that allows use of TQt X Window toolkit v3.
|
|
|
|
You can use it to create portable graphics-capable scripts.
|
|
|
|
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
|
|
|
|
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
|
|
|
|
(types, etc), but usually you'll be able to write code pretty much the
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt
|
|
|
|
%package -n pytqt
|
|
|
|
Summary: TQt bindings for Python
|
|
|
|
Summary: TQt bindings for Python
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: trinity-filesystem >= %{tde_version}
|
|
|
|
Requires: trinity-filesystem >= %{tde_version}
|
|
|
|
Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5
|
|
|
|
Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5
|
|
|
|
Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0
|
|
|
|
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.
|
|
|
|
Python binding module that allows use of TQt X Window toolkit v3.
|
|
|
|
You can use it to create portable graphics-capable scripts.
|
|
|
|
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
|
|
|
|
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
|
|
|
|
(types, etc), but usually you'll be able to write code pretty much the
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
same way in both languages (with syntax differences, of course)
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt
|
|
|
|
%files -n pytqt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc NEWS README
|
|
|
|
%doc NEWS README
|
|
|
|
%dir %{python_sitearch}/python_tqt
|
|
|
|
%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
|
|
|
|
Summary: TQt OpenGL bindings for Python
|
|
|
|
Group: Development/Libraries/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
|
|
|
|
Python binding module that allows use of the OpenGL facilities
|
|
|
|
offered by the TQt X Window toolkit v3. You can use it to create
|
|
|
|
offered by the TQt X Window toolkit v3. You can use it to create
|
|
|
|
portable graphics-capable scripts.
|
|
|
|
portable graphics-capable scripts.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-gl
|
|
|
|
%files -n pytqt-gl
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitearch}/python_tqt/qtgl.so
|
|
|
|
%{python_sitearch}/python_tqt/qtgl.so
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python-tqt-tqtext
|
|
|
|
%package -n pytqt-tqtext
|
|
|
|
Summary: TQtext extensions for python-tqt
|
|
|
|
Summary: TQtext extensions for pytqt
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
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
|
|
|
|
%description -n pytqt-tqtext
|
|
|
|
python-tqt Extensions. Contains:
|
|
|
|
pytqt Extensions. Contains:
|
|
|
|
|
|
|
|
|
|
|
|
* TQScintilla: a featureful TQt source code editing component based
|
|
|
|
* TQScintilla: a featureful TQt source code editing component based
|
|
|
|
on Scintilla.
|
|
|
|
on Scintilla.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-tqtext
|
|
|
|
%files -n pytqt-tqtext
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitearch}/python_tqt/qtext.so
|
|
|
|
%{python_sitearch}/python_tqt/qtext.so
|
|
|
|
|
|
|
|
|
|
|
@ -192,7 +200,7 @@ python-tqt Extensions. Contains:
|
|
|
|
%package -n trinity-pytqt-tools
|
|
|
|
%package -n trinity-pytqt-tools
|
|
|
|
Summary: Pyuic and pylupdate for TQt
|
|
|
|
Summary: Pyuic and pylupdate for TQt
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: pytqt = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n trinity-pytqt-tools
|
|
|
|
%description -n trinity-pytqt-tools
|
|
|
|
pyuic is the PyQt counterpart for TQt's uic. It takes an XML
|
|
|
|
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
|
|
|
|
Summary: TQt bindings for Python - Development files
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
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: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0
|
|
|
|
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
|
|
|
|
Development .sip files with definitions of PyQt classes. They
|
|
|
|
are needed to build PyQt, but also as building blocks of other
|
|
|
|
are needed to build PyQt, but also as building blocks of other
|
|
|
|
packages based on them, like PyTDE.
|
|
|
|
packages based on them, like PyTDE.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python-tqt-devel
|
|
|
|
%files -n pytqt-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitearch}/python_tqt/pyqtconfig.py*
|
|
|
|
%{python_sitearch}/python_tqt/pyqtconfig.py*
|
|
|
|
%dir %{_datadir}/sip
|
|
|
|
%dir %{_datadir}/sip
|