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