This commit is contained in:
parent
539a56e0e2
commit
f851c61b3d
@ -21,6 +21,9 @@
|
||||
%if "%{flavor}" == "qt6"
|
||||
%define qt6 1
|
||||
%define pkg_suffix -qt6
|
||||
%define sover -1_1
|
||||
%else
|
||||
%define sover 1_1
|
||||
%endif
|
||||
Name: kdsingleapplication%{?pkg_suffix}
|
||||
Version: 1.1.0
|
||||
@ -46,15 +49,15 @@ BuildRequires: cmake(Qt5Widgets)
|
||||
%description
|
||||
KDSingleApplication is a helper class for single-instance policy applications.
|
||||
|
||||
%package -n libkdsingleapplication%{?pkg_suffix}
|
||||
%package -n libkdsingleapplication%{?pkg_suffix}%{sover}
|
||||
Summary: Helper class for single-instance policy applications
|
||||
|
||||
%description -n libkdsingleapplication%{?pkg_suffix}
|
||||
%description -n libkdsingleapplication%{?pkg_suffix}%{sover}
|
||||
KDSingleApplication is a helper class for single-instance policy applications.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libkdsingleapplication%{?pkg_suffix}
|
||||
Requires: libkdsingleapplication%{?pkg_suffix} = %{version}
|
||||
Requires: libkdsingleapplication%{?pkg_suffix}%{sover} = %{version}
|
||||
%if 0%{?qt6}
|
||||
Requires: cmake(Qt6Network)
|
||||
Requires: cmake(Qt6Widgets)
|
||||
@ -95,9 +98,9 @@ rm -r %{buildroot}%{_datadir}/doc
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%ldconfig_scriptlets -n libkdsingleapplication%{?pkg_suffix}
|
||||
%ldconfig_scriptlets -n libkdsingleapplication%{?pkg_suffix}%{sover}
|
||||
|
||||
%files -n libkdsingleapplication%{?pkg_suffix}
|
||||
%files -n libkdsingleapplication%{?pkg_suffix}%{sover}
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_libdir}/libkdsingleapplication%{?pkg_suffix}.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user