libkscreen: require libkscreen-tools [release 6.0.2-2mamba;Fri Mar 15 2024]

This commit is contained in:
Silvan Calarco 2024-03-29 18:57:39 +01:00
parent 8afe4f9b81
commit 3602f3d628
2 changed files with 77 additions and 43 deletions

View File

@ -1,4 +1,4 @@
# libkscreen # libkscreen
KDE Frameworks 5 screens configuration library. KDE Plasma screens configuration library.

View File

@ -1,34 +1,34 @@
%define plasmaver %(echo %version | cut -d. -f1-3) %define plasmaver %(echo %version | cut -d. -f1-3)
Name: libkscreen Name: libkscreen
Version: 5.27.10 Version: 6.0.2
Release: 1mamba Release: 2mamba
Summary: KDE Frameworks 5 screens configuration library Summary: KDE Plasma screens configuration library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/ URL: https://kde.org/it/plasma-desktop/
Source: http://download.kde.org/stable/plasma/%{plasmaver}/libkscreen-%{version}.tar.xz Source: https://download.kde.org/%{stable_kf6}/plasma/%{plasmaver}/libkscreen-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libkconfig-devel BuildRequires: libglvnd-devel
BuildRequires: libkwayland-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel BuildRequires: libwayland-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: qt5-qtbase-devel BuildRequires: libxkbcommon-devel
BuildRequires: qt5-qtwayland-devel BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtwayland-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: rpm-macros-kde5 BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description %description
KDE Frameworks 5 screens configuration library. KDE Plasma screens configuration library.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
@ -38,20 +38,28 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: System/Tools
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains the tools provided with %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
%build %build
%cmake_kde5 -d build %cmake_kf6
%make %cmake_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %cmake_install
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -64,39 +72,65 @@ This package contains libraries and header files for developing applications tha
/sbin/ldconfig /sbin/ldconfig
: :
%files -f %{name}5_qt.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/kscreen-doctor %{_libdir}/libKF6Screen.so.*
%{_userunitdir}/plasma-kscreen.service %{_libdir}/libKF6ScreenDpms.so.*
%{_kde5_libdir}/libKF5Screen.so.* %{_kf6_plugindir}/kscreen/KSC_Fake.so
%{_kde5_libdir}/libKF5ScreenDpms.so.* %{_kf6_plugindir}/kscreen/KSC_KWayland.so
%{_libexecdir}/kf5/kscreen_backend_launcher %{_kf6_plugindir}/kscreen/KSC_QScreen.so
%dir %{_libdir}/qt5/plugins/kf5/kscreen %{_kf6_plugindir}/kscreen/KSC_XRandR.so
%{_libdir}/qt5/plugins/kf5/kscreen/*.so %{_libexecdir}/kf6/kscreen_backend_launcher
%{_datadir}/dbus-1/services/org.kde.kscreen.service
%{_datadir}/qlogging-categories5/libkscreen.categories
%{_datadir}/zsh/site-functions/_kscreen-doctor
%doc LICENSES %doc LICENSES
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_kde5_includedir}/KScreen %dir %{_kf6_includedir}/KScreen
%dir %{_kde5_includedir}/KScreen/KScreen %dir %{_kf6_includedir}/KScreen/KScreen
%{_kde5_includedir}/KScreen/KScreen/* %{_kf6_includedir}/KScreen/KScreen/*
%dir %{_kde5_includedir}/KScreen/kscreen %dir %{_kf6_includedir}/KScreen/kscreen
%{_kde5_includedir}/KScreen/kscreen/* %{_kf6_includedir}/KScreen/kscreen/*
%{_kde5_includedir}/kscreen_version.h %{_kf6_includedir}/kscreen_version.h
%dir %{_kde5_includedir}/KScreen/KScreenDpms %dir %{_kf6_includedir}/KScreen/KScreenDpms
%{_kde5_includedir}/KScreen/KScreenDpms/* %{_kf6_includedir}/KScreen/KScreenDpms/*
%{_kde5_includedir}/KScreen/kscreendpms/* %{_kf6_includedir}/KScreen/kscreendpms/*
%{_kde5_libdir}/libKF5Screen.so %{_libdir}/libKF6Screen.so
%{_kde5_libdir}/libKF5ScreenDpms.so %{_libdir}/libKF6ScreenDpms.so
%dir %{_kde5_libdir}/cmake/KF5Screen %dir %{_libdir}/cmake/KF6Screen
%{_kde5_libdir}/cmake/KF5Screen/KF5Screen*.cmake %{_libdir}/cmake/KF6Screen/KF6Screen*.cmake
%{_libdir}/pkgconfig/kscreen2.pc %{_libdir}/pkgconfig/KF6Screen.pc
%{_kde5_mkspecsdir}/qt_KScreen.pri %{_qt6_docdir}/KF6Screen.*
%files tools
%defattr(-,root,root)
%{_bindir}/kscreen-doctor
%{_userunitdir}/plasma-kscreen.service
%{_datadir}/dbus-1/services/org.kde.kscreen.service
%{_datadir}/qlogging-categories6/libkscreen.categories
%{_datadir}/zsh/site-functions/_kscreen-doctor
%changelog %changelog
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.2-2mamba
- libkscreen: require libkscreen-tools
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 6.0.2-1mamba
- automatic version update by autodist
* Wed Mar 06 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
- automatic version update by autodist
* Thu Feb 29 2024 Automatic Build System <autodist@openmamba.org> 6.0.0-1mamba
- automatic version update by autodist
* Sat Feb 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.93.0-2mamba
- added -tools subpackage for transient cohexistence with libkscreen5
* Fri Feb 02 2024 Automatic Build System <autodist@openmamba.org> 5.93.0-1mamba
- automatic version update by autodist
* Sat Jan 27 2024 Automatic Build System <autodist@openmamba.org> 5.92.0-1mamba
- automatic version update by autodist
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 5.27.10-1mamba * Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 5.27.10-1mamba
- automatic version update by autodist - automatic version update by autodist