]> git.pld-linux.org Git - packages/ka5-colord-kde.git/blob - ka5-colord-kde.spec
- 24.01.95
[packages/ka5-colord-kde.git] / ka5-colord-kde.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4 %define         kdeappsver      24.01.95
5 %define         kframever       5.103.0
6 %define         qtver           5.15.2
7 %define         kaname          colord-kde
8 Summary:        colord KDE
9 Name:           ka5-%{kaname}
10 Version:        24.01.95
11 Release:        0.1
12 License:        GPL v2+
13 Group:          X11/Libraries
14 Source0:        https://download.kde.org/unstable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
15 # Source0-md5:  7089a63f77d15ebf0b4de1f8784abfd9
16 URL:            http://www.kde.org/
17 BuildRequires:  Qt6Core-devel >= 5.15.2
18 BuildRequires:  Qt6DBus-devel >= 5.15.2
19 BuildRequires:  Qt6Gui-devel >= 5.15.2
20 BuildRequires:  Qt6Widgets-devel >= 5.15.2
21 BuildRequires:  fontconfig-devel
22 BuildRequires:  freetype-devel
23 BuildRequires:  gettext-devel
24 BuildRequires:  kf6-extra-cmake-modules >= 5.91.0
25 BuildRequires:  kf6-kauth-devel >= 5.103.0
26 BuildRequires:  kf6-kcmutils-devel >= 5.91.0
27 BuildRequires:  kf6-kcodecs-devel >= 5.103.0
28 BuildRequires:  kf6-kcompletion-devel >= 5.103.0
29 BuildRequires:  kf6-kconfig-devel >= 5.103.0
30 BuildRequires:  kf6-kconfigwidgets-devel >= 5.103.0
31 BuildRequires:  kf6-kcoreaddons-devel >= 5.103.0
32 BuildRequires:  kf6-kdbusaddons-devel >= 5.91.0
33 BuildRequires:  kf6-ki18n-devel >= 5.91.0
34 BuildRequires:  kf6-kio-devel >= 5.91.0
35 BuildRequires:  kf6-kitemviews-devel >= 5.103.0
36 BuildRequires:  kf6-kjobwidgets-devel >= 5.103.0
37 BuildRequires:  kf6-kservice-devel >= 5.103.0
38 BuildRequires:  kf6-kwidgetsaddons-devel >= 5.103.0
39 BuildRequires:  kf6-kwindowsystem-devel >= 5.103.0
40 BuildRequires:  kf6-kxmlgui-devel >= 5.103.0
41 BuildRequires:  kf6-solid-devel >= 5.103.0
42 BuildRequires:  libxcb-devel
43 BuildRequires:  pkgconfig
44 BuildRequires:  rpmbuild(macros) >= 1.164
45 BuildRequires:  tar >= 1:1.22
46 BuildRequires:  xorg-lib-libX11-devel
47 BuildRequires:  xz
48 Requires:       gtk-update-icon-cache
49 Requires:       hicolor-icon-theme
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %description
53 colord KDE
54
55 %prep
56 %setup -q -n %{kaname}-%{version}
57
58 %build
59 %cmake \
60         -B build \
61         -G Ninja \
62         %{!?with_tests:-DBUILD_TESTING=OFF} \
63         -DHTML_INSTALL_DIR=%{_kdedocdir} \
64         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
65 %ninja_build -C build
66
67 %if %{with tests}
68 ctest --test-dir build
69 %endif
70
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 %ninja_install -C build
75
76 %find_lang %{kaname} --all-name --with-kde
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files -f %{kaname}.lang
82 %defattr(644,root,root,755)
83 %doc MAINTAINERS TODO
84 %attr(755,root,root) %{_bindir}/colord-kde-icc-importer
85 %attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kded/colord.so
86 %attr(755,root,root) %{_libdir}/qt6/plugins/plasma/kcms/systemsettings/kcm_colord.so
87 %{_desktopdir}/colordkdeiccimporter.desktop
88 %{_desktopdir}/kcm_colord.desktop
This page took 0.168964 seconds and 3 git commands to generate.