summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-07-06 12:15:08 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-07-06 12:15:59 +0200
commit8b0f9ee1d691baecd0a242c22f068129f53e9515 (patch)
treec8576b59cd4fef9d80ce250f057574b112b5e784 /redhat/dependencies
parent0eb874332bbfbe009301a9db87fcac8ba25008ac (diff)
downloadtde-packaging-8b0f9ee1d691baecd0a242c22f068129f53e9515.tar.gz
tde-packaging-8b0f9ee1d691baecd0a242c22f068129f53e9515.zip
RPM: fix invalid dependencies to devel packages
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec40
1 files changed, 35 insertions, 5 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index 4d79d2247..4039a0c1e 100644
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -298,6 +298,10 @@ BuildRequires: libtirpc-devel
BuildRequires: libnsl-devel
BuildRequires: libtirpc-devel
%endif
+%if 0%{?mgaversion}
+BuildRequires: %{_lib}nsl-devel
+BuildRequires: %{_lib}tirpc-devel
+%endif
# x86_64 specific stuff
%if "%{_lib}" != "lib"
@@ -1005,6 +1009,7 @@ or automake.
Summary: TQt3 Developer applications development files
Group: Development/Libraries/X11
Requires: %{libtqt3}-mt-devel = %{version}-%{release}
+Requires: tqt3-apps-libs = %{version}-%{release}
%description -n tqt3-apps-devel
This package is intended for developers who want to develop applications
@@ -1025,20 +1030,45 @@ developer includes with his application.
%defattr(-,root,root,-)
%{_libdir}/libtqtdesignercore.prl
%{_libdir}/libtqtdesignercore.so
+%{_libdir}/libtqteditor.prl
+%{_libdir}/libtqteditor.so
+%{_libdir}/libtqassistantclient.prl
+%{_libdir}/libtqassistantclient.so
+%{_includedir}/tqt3/ntqassistantclient.h
+
+###########
+
+%package -n tqt3-apps-libs
+Summary: TQt3 Developer applications libraries
+Group: Development/Libraries/X11
+Requires: %{libtqt3}-mt = %{version}-%{release}
+
+%description -n tqt3-apps-libs
+This package is intended for developers who want to develop applications
+using the additional static libraries that ship with the applications
+included with TQt; the TQt Designer and the TQt Assistant.
+It allows integrating additional enhancements into the TQt Designer
+respectively faciliate the TQt Assistant from within your TQt application
+to interactively call the Assistant for displaying online help that the
+developer includes with his application.
+
+%post -n tqt3-apps-libs
+/sbin/ldconfig || :
+
+%postun -n tqt3-apps-libs
+/sbin/ldconfig || :
+
+%files -n tqt3-apps-libs
+%defattr(-,root,root,-)
%{_libdir}/libtqtdesignercore.so.1
%{_libdir}/libtqtdesignercore.so.1.0
%{_libdir}/libtqtdesignercore.so.1.0.0
-%{_libdir}/libtqteditor.prl
-%{_libdir}/libtqteditor.so
%{_libdir}/libtqteditor.so.1
%{_libdir}/libtqteditor.so.1.0
%{_libdir}/libtqteditor.so.1.0.0
-%{_libdir}/libtqassistantclient.prl
-%{_libdir}/libtqassistantclient.so
%{_libdir}/libtqassistantclient.so.1
%{_libdir}/libtqassistantclient.so.1.0
%{_libdir}/libtqassistantclient.so.1.0.0
-%{_includedir}/tqt3/ntqassistantclient.h
##########