RPM: rename python-trinity to pytde

pull/219/head
François Andriot 2 years ago
parent 2c5d979bfa
commit dff7a54b07

@ -65,7 +65,7 @@ BuildRequires: desktop-file-utils
BuildRequires: trinity-pytdeextensions BuildRequires: trinity-pytdeextensions
BuildRequires: trinity-libpythonize0-devel BuildRequires: trinity-libpythonize0-devel
BuildRequires: trinity-python-trinity BuildRequires: trinity-pytde
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
@ -89,7 +89,7 @@ Requires: sip4-tqt >= 4.10.5
# PYTHON-QT support # PYTHON-QT support
BuildRequires: pytqt-devel BuildRequires: pytqt-devel
BuildRequires: trinity-python-trinity-devel BuildRequires: trinity-pytde-devel
BuildRequires: trinity-pytqt-tools BuildRequires: trinity-pytqt-tools
# LIBXXF86VM support # LIBXXF86VM support
@ -155,7 +155,7 @@ BuildRequires: %{python}
BuildRequires: %{python}-devel BuildRequires: %{python}-devel
Requires: pytqt Requires: pytqt
Requires: trinity-python-trinity Requires: trinity-pytde
Requires: trinity-pytdeextensions Requires: trinity-pytdeextensions
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
Requires: hwdata Requires: hwdata

@ -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 # Copyright (c) 2014 Trinity Desktop Environment
# #
@ -20,7 +20,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-trinity %define tde_pkg pytde
%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
@ -74,8 +74,8 @@ BuildRequires: gcc-c++
BuildRequires: %{python} BuildRequires: %{python}
BuildRequires: %{python}-devel BuildRequires: %{python}-devel
BuildRequires: python-tqt-devel BuildRequires: pytqt-devel
Requires: python-tqt Requires: pytqt
# SIP # SIP
BuildRequires: sip4-tqt-devel >= 4.10.5 BuildRequires: sip4-tqt-devel >= 4.10.5
@ -83,6 +83,8 @@ Requires: sip4-tqt >= 4.10.5
Obsoletes: python-trinity < %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: python-trinity < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: 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 %description
Python binding module that provides wide access to the Trinity API, 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} Obsoletes: python-trinity-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: 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 %description devel
Development .sip files with definitions of PyTDE classes. They 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} Obsoletes: python-trinity-doc < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: 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 %description doc
General documentation and examples for PyTDE providing programming General documentation and examples for PyTDE providing programming
@ -134,7 +140,7 @@ tips and working code you can use to learn from.
%files doc %files doc
%defattr(-,root,root,-) %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 # Install documentation
%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/ %__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 %clean

@ -63,10 +63,10 @@ BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pytqt-devel >= %{?epoch:%{epoch}:}3.18.1 BuildRequires: pytqt-devel >= %{?epoch:%{epoch}:}3.18.1
BuildRequires: trinity-python-trinity-devel BuildRequires: trinity-pytde-devel
BuildRequires: trinity-pytqt-tools BuildRequires: trinity-pytqt-tools
Requires: pytqt Requires: pytqt
Requires: trinity-python-trinity Requires: trinity-pytde
Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release} Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release}

Loading…
Cancel
Save