1 %define kdeappsver 18.12.0
3 %define kaname kcharselect
8 License: GPL v2+/LGPL v2.1+
9 Group: X11/Applications
10 Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5: 4e9c601f2f5fd5212e8e48032f6cc4aa
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: Qt5Gui-devel >= 5.11.1
15 BuildRequires: Qt5Widgets-devel
16 BuildRequires: cmake >= 2.8.12
17 BuildRequires: gettext-devel
18 BuildRequires: kf5-extra-cmake-modules >= 5.53.0
19 BuildRequires: kf5-kbookmarks-devel >= 5.25.0
20 BuildRequires: kf5-kcrash-devel >= 5.25.0
21 BuildRequires: kf5-kdoctools-devel >= 5.25.0
22 BuildRequires: kf5-ki18n-devel >= 5.25.0
23 BuildRequires: kf5-kwidgetsaddons-devel >= 5.25.0
24 BuildRequires: kf5-kxmlgui-devel >= 5.25.0
25 BuildRequires: qt5-build >= %{qtver}
26 BuildRequires: rpmbuild(macros) >= 1.164
27 BuildRequires: shared-mime-info
28 BuildRequires: tar >= 1:1.22
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 KCharSelect is a tool to select special characters from all installed
34 fonts and copy them into the clipboard.. You can browse characters by
35 their category or quickly find a certain character by searching for
36 its name. KCharSelect displays various information about the selected
40 %setup -q -n %{kaname}-%{version}
46 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
51 rm -rf $RPM_BUILD_ROOT
52 %{__make} -C build install \
53 DESTDIR=$RPM_BUILD_ROOT
55 %find_lang %{kaname} --all-name --with-kde
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{kaname}.lang
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_bindir}/kcharselect
63 %{_desktopdir}/org.kde.kcharselect.desktop
64 %{_datadir}/metainfo/org.kde.kcharselect.appdata.xml