]> git.pld-linux.org Git - packages/ka5-kcolorchooser.git/blame - ka5-kcolorchooser.spec
- updated to 23.08.5
[packages/ka5-kcolorchooser.git] / ka5-kcolorchooser.spec
CommitLineData
10497ea2
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
f8c0db92 4%define kdeappsver 23.08.5
a55189c4
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
f1945206
WF
7%define kaname kcolorchooser
8Summary: KColorChooser
9Name: ka5-%{kaname}
f8c0db92 10Version: 23.08.5
43056dd9 11Release: 1
f1945206
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications
43056dd9 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
f8c0db92 15# Source0-md5: 7d02329ebd479e5384b4bfb2c56ec794
f1945206 16URL: http://www.kde.org/
43056dd9 17BuildRequires: Qt5Core-devel >= %{qtver}
c7c195c8 18BuildRequires: cmake >= 3.20
f1945206 19BuildRequires: gettext-devel
43056dd9
WF
20BuildRequires: kf5-extra-cmake-modules >= %{kframever}
21BuildRequires: kf5-ki18n-devel >= %{kframever}
22BuildRequires: kf5-kxmlgui-devel >= %{kframever}
bb32aac8 23BuildRequires: ninja
43056dd9 24BuildRequires: qt5-build >= %{qtver}
f1945206
WF
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: shared-mime-info
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32KColorChooser is a simple application to select the color from the
33screen or from a pallete.
34
35Features:
36
78abc3fc
WF
37Select colors from any location on the screen. Select colors from a
38range of standard palletes available. Color values shown in
f1945206
WF
39Hue-Saturation-Value (HSV), Red-Green-Blue (RGB) and HTML formats.
40
ac1499f8
WF
41%description -l pl.UTF-8
42KColorChooser jest prostą aplikacją do wybrania koloru z ekranu
43lub z palety.
44
45Właściwości:
46
47Zaznaczenie kolorów z dowolnej lokalizacji na ekranie. Wybieranie
48kolorów z zestawu standardowych palet. Wartości są pokazywane
49W Hue-Saturation-Value (HSV), Red-Green-Blue (RGB) i w formacie
50HTML.
51
f1945206
WF
52%prep
53%setup -q -n %{kaname}-%{version}
54
55%build
f1945206 56%cmake \
c7c195c8 57 -B build \
bb32aac8 58 -G Ninja \
10497ea2 59 %{!?with_tests:-DBUILD_TESTING=OFF} \
78abc3fc 60 -DHTML_INSTALL_DIR=%{_kdedocdir} \
c7c195c8
WF
61 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
62%ninja_build -C build
f1945206 63
10497ea2 64%if %{with tests}
c7c195c8 65ctest --test-dir build
10497ea2
WF
66%endif
67
68
f1945206
WF
69%install
70rm -rf $RPM_BUILD_ROOT
bb32aac8 71%ninja_install -C build
f1945206
WF
72
73%find_lang %{kaname} --all-name --with-kde
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files -f %{kaname}.lang
79%defattr(644,root,root,755)
80%attr(755,root,root) %{_bindir}/kcolorchooser
81%{_desktopdir}/org.kde.kcolorchooser.desktop
82%{_iconsdir}/hicolor/16x16/apps/kcolorchooser.png
83%{_iconsdir}/hicolor/22x22/apps/kcolorchooser.png
78abc3fc 84%{_datadir}/metainfo/org.kde.kcolorchooser.appdata.xml
This page took 0.699657 seconds and 4 git commands to generate.