|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
#
|
|
|
|
|
# spec file for package python-trinity (version R14)
|
|
|
|
|
# spec file for package pytde (version R14)
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2014 Trinity Desktop Environment
|
|
|
|
|
#
|
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
|
%if "%{?tde_version}" == ""
|
|
|
|
|
%define tde_version 14.1.0
|
|
|
|
|
%endif
|
|
|
|
|
%define tde_pkg python-trinity
|
|
|
|
|
%define tde_pkg pytde
|
|
|
|
|
%define tde_prefix /opt/trinity
|
|
|
|
|
%define tde_bindir %{tde_prefix}/bin
|
|
|
|
|
%define tde_datadir %{tde_prefix}/share
|
|
|
|
@ -74,8 +74,8 @@ BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: %{python}
|
|
|
|
|
BuildRequires: %{python}-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: python-tqt-devel
|
|
|
|
|
Requires: python-tqt
|
|
|
|
|
BuildRequires: pytqt-devel
|
|
|
|
|
Requires: pytqt
|
|
|
|
|
|
|
|
|
|
# SIP
|
|
|
|
|
BuildRequires: sip4-tqt-devel >= 4.10.5
|
|
|
|
@ -83,6 +83,8 @@ Requires: sip4-tqt >= 4.10.5
|
|
|
|
|
|
|
|
|
|
Obsoletes: python-trinity < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-trinity = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: trinity-python-trinity < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: trinity-python-trinity = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python binding module that provides wide access to the Trinity API,
|
|
|
|
@ -105,6 +107,8 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Obsoletes: python-trinity-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-trinity-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: trinity-python-trinity-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: trinity-python-trinity-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development .sip files with definitions of PyTDE classes. They
|
|
|
|
@ -127,6 +131,8 @@ Group: Development/Libraries/Python
|
|
|
|
|
|
|
|
|
|
Obsoletes: python-trinity-doc < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: python-trinity-doc = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Obsoletes: trinity-python-trinity-doc < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: trinity-python-trinity-doc = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
General documentation and examples for PyTDE providing programming
|
|
|
|
@ -134,7 +140,7 @@ tips and working code you can use to learn from.
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{tde_tdedocdir}/HTML/en/python-trinity/
|
|
|
|
|
%{tde_tdedocdir}/HTML/en/pytde/
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
@ -174,7 +180,7 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
|
|
|
|
|
# Install documentation
|
|
|
|
|
%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/
|
|
|
|
|
%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/
|
|
|
|
|
%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/pytde/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|