[packages/kp6-libkscreen] - updated to 6.0.0
witekfl
witekfl at pld-linux.org
Sun Mar 3 21:08:31 CET 2024
commit 089bbfeb3224412dbbb92b2565053a63b8581c78
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Mar 3 20:55:39 2024 +0100
- updated to 6.0.0
kp6-libkscreen.spec | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 95 insertions(+)
---
diff --git a/kp6-libkscreen.spec b/kp6-libkscreen.spec
new file mode 100644
index 0000000..c90d381
--- /dev/null
+++ b/kp6-libkscreen.spec
@@ -0,0 +1,95 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 6.0.0
+%define qtver 5.15.2
+%define kpname libkscreen
+
+Summary: KDE screen management software
+Name: kp6-%{kpname}
+Version: 6.0.0
+Release: 1
+License: LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 96f956b40d929ddecb208101564aa269
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: cmake >= 3.16.0
+BuildRequires: kf5-plasma-wayland-protocols-devel >= 1.10.0
+BuildRequires: kf6-extra-cmake-modules
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt6dir %{_libdir}/qt6
+
+%description
+KDE screen management software.
+
+%package devel
+Summary: Header files for %{kpname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kpname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kpname}.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname}6_qt --all-name --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kpname}6_qt.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kscreen-doctor
+%attr(755,root,root) %{_prefix}/libexec/kf6/kscreen_backend_launcher
+%dir %{_libdir}/qt6/plugins/kf6/kscreen
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kscreen/KSC_Fake.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kscreen/KSC_QScreen.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kscreen/KSC_XRandR.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kscreen/KSC_KWayland.so
+%{_datadir}/dbus-1/services/org.kde.kscreen.service
+%{_datadir}/qlogging-categories6/libkscreen.categories
+%{systemduserunitdir}/plasma-kscreen.service
+%{zsh_compdir}/_kscreen-doctor
+%attr(755,root,root) %{_libdir}/libKF6Screen.so.*.*
+%ghost %{_libdir}/libKF6Screen.so.8
+%attr(755,root,root) %{_libdir}/libKF6ScreenDpms.so.*.*
+%ghost %{_libdir}/libKF6ScreenDpms.so.8
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libKF6Screen.so
+%{_libdir}/libKF6ScreenDpms.so
+%{_includedir}/KF6/KScreen
+%{_includedir}/KF6/kscreen_version.h
+%{_libdir}/cmake/KF6Screen
+%{_pkgconfigdir}/KF6Screen.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp6-libkscreen.git/commitdiff/089bbfeb3224412dbbb92b2565053a63b8581c78
More information about the pld-cvs-commit
mailing list