[packages/ka5-colord-kde] - new
witekfl
witekfl at pld-linux.org
Fri Mar 3 19:41:44 CET 2023
commit cdbf3b9c5c4cb60a262c4ece2124c390588b44da
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Mar 3 19:41:21 2023 +0100
- new
ka5-colord-kde.spec | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 91 insertions(+)
---
diff --git a/ka5-colord-kde.spec b/ka5-colord-kde.spec
new file mode 100644
index 0000000..0ba0ffd
--- /dev/null
+++ b/ka5-colord-kde.spec
@@ -0,0 +1,91 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 22.12.3
+%define kframever 5.103.0
+%define qtver 5.15.2
+%define kaname colord-kde
+Summary: colord KDE
+Name: ka5-%{kaname}
+Version: 22.12.3
+Release: 1
+License: GPL v2+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 163676616ebce9bd2de9896e52ab1dff
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= 5.15.2
+BuildRequires: Qt5DBus-devel >= 5.15.2
+BuildRequires: Qt5Gui-devel >= 5.15.2
+BuildRequires: Qt5Widgets-devel >= 5.15.2
+BuildRequires: Qt5X11Extras-devel >= 5.15.2
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel
+BuildRequires: gettext-devel
+BuildRequires: kf5-extra-cmake-modules >= 5.91.0
+BuildRequires: kf5-kauth-devel >= 5.103.0
+BuildRequires: kf5-kcmutils-devel >= 5.91.0
+BuildRequires: kf5-kcodecs-devel >= 5.103.0
+BuildRequires: kf5-kcompletion-devel >= 5.103.0
+BuildRequires: kf5-kconfig-devel >= 5.103.0
+BuildRequires: kf5-kconfigwidgets-devel >= 5.103.0
+BuildRequires: kf5-kcoreaddons-devel >= 5.103.0
+BuildRequires: kf5-kdbusaddons-devel >= 5.91.0
+BuildRequires: kf5-ki18n-devel >= 5.91.0
+BuildRequires: kf5-kio-devel >= 5.91.0
+BuildRequires: kf5-kitemviews-devel >= 5.103.0
+BuildRequires: kf5-kjobwidgets-devel >= 5.103.0
+BuildRequires: kf5-kservice-devel >= 5.103.0
+BuildRequires: kf5-kwidgetsaddons-devel >= 5.103.0
+BuildRequires: kf5-kwindowsystem-devel >= 5.103.0
+BuildRequires: kf5-kxmlgui-devel >= 5.103.0
+BuildRequires: kf5-solid-devel >= 5.103.0
+BuildRequires: libxcb-devel
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xz
+Requires: gtk-update-icon-cache
+Requires: hicolor-icon-theme
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+colord KDE
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%ninja_build
+
+%if %{with tests}
+ctest
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%doc MAINTAINERS TODO
+%attr(755,root,root) %{_bindir}/colord-kde-icc-importer
+%{_libdir}/qt5/plugins/kcm_colord.so
+%{_libdir}/qt5/plugins/kf5/kded/colord.so
+%{_desktopdir}/colordkdeiccimporter.desktop
+%{_datadir}/kservices5/kcm_colord.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-colord-kde.git/commitdiff/cdbf3b9c5c4cb60a262c4ece2124c390588b44da
More information about the pld-cvs-commit
mailing list