[packages/kp5-kgamma] - 5.93.0

witekfl witekfl at pld-linux.org
Wed Feb 7 18:22:46 CET 2024


commit 8dea2689538d85332096637b63d254521718d409
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Feb 7 17:54:23 2024 +0100

    - 5.93.0

 kp5-kgamma.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
---
diff --git a/kp5-kgamma.spec b/kp5-kgamma.spec
new file mode 100644
index 0000000..cfab8ec
--- /dev/null
+++ b/kp5-kgamma.spec
@@ -0,0 +1,68 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeplasmaver	5.93.0
+%define		qtver		5.15.2
+%define		kpname		kgamma
+Summary:	kgamma
+Name:		kp5-kgamma
+Version:	5.93.0
+Release:	0.1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/unstable/plasma/%{kdeplasmaver}/kgamma-%{version}.tar.xz
+# Source0-md5:	4ee758b21e7866a5c4eb7f3f0a8db31a
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= %{qtver}
+BuildRequires:	Qt6Widgets-devel >= %{qtver}
+BuildRequires:	cmake >= 3.16.0
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= 1.4.0
+BuildRequires:	kf6-kdoctools-devel
+BuildRequires:	ninja
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXxf86vm-devel
+BuildRequires:	xz
+Obsoletes:	kp5-kgamma5 < 5.93.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is a tool for monitor gamma correction. With proper gamma
+settings, your display (websites, images, etc.) will look the same on
+your monitor as on other monitors. It allows you to alter the
+monitor's gamma correction of the X-Server. But that's not all to do.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DHTML_INSTALL_DIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/qt6/plugins/plasma/kcminit/kcm_kgamma_init.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so
+%{_desktopdir}/kcm_kgamma.desktop
+%{_datadir}/kgamma
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-kgamma.git/commitdiff/8dea2689538d85332096637b63d254521718d409



More information about the pld-cvs-commit mailing list