1 %define kdeappsver 18.12.1
3 %define kaname kteatime
5 Summary(pl.UTF-8): kteatime
11 Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5: 599bb798c22b334126957d9d8b541b9a
13 URL: http://www.kde.org/
14 BuildRequires: Qt5Core-devel
15 BuildRequires: Qt5Gui-devel >= 5.11.1
16 BuildRequires: Qt5Widgets-devel
17 BuildRequires: gettext-devel
18 BuildRequires: kf5-extra-cmake-modules >= 5.46.0
19 BuildRequires: kf5-kconfig-devel >= 5.46.0
20 BuildRequires: kf5-kcrash-devel >= 5.46.0
21 BuildRequires: kf5-kdoctools-devel >= 5.46.0
22 BuildRequires: kf5-ki18n-devel >= 5.46.0
23 BuildRequires: kf5-kiconthemes-devel >= 5.46.0
24 BuildRequires: kf5-knotifications-devel >= 5.46.0
25 BuildRequires: kf5-knotifyconfig-devel >= 5.46.0
26 BuildRequires: kf5-ktextwidgets-devel >= 5.46.0
27 BuildRequires: kf5-kxmlgui-devel >= 5.46.0
29 BuildRequires: rpmbuild(macros) >= 1.164
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 KTeaTime is a handy timer for steeping tea. No longer will you have to
34 guess at how long it takes for your tea to be ready. Simply select the
35 type of tea you have, and it will alert you when the tea is ready to
39 %setup -q -n %{kaname}-%{version}
46 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
51 rm -rf $RPM_BUILD_ROOT
52 %ninja_install -C build
54 %find_lang %{kaname} --all-name --with-kde
57 rm -rf $RPM_BUILD_ROOT
59 %files -f %{kaname}.lang
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/kteatime
62 %{_desktopdir}/org.kde.kteatime.desktop
63 %{_iconsdir}/hicolor/16x16/apps/kteatime.png
64 %{_iconsdir}/hicolor/22x22/apps/kteatime.png
65 %{_iconsdir}/hicolor/32x32/apps/kteatime.png
66 %{_iconsdir}/hicolor/48x48/apps/kteatime.png
67 %{_iconsdir}/hicolor/64x64/apps/kteatime.png
68 %{_iconsdir}/hicolor/scalable/apps/kteatime.svgz
69 %{_datadir}/knotifications5/kteatime.notifyrc
70 %{_datadir}/metainfo/org.kde.kteatime.appdata.xml