1 %define kdeappsver 18.12.0
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: e6ecd3159ec17e49df663f99da98fb4f
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
28 BuildRequires: rpmbuild(macros) >= 1.164
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 KTeaTime is a handy timer for steeping tea. No longer will you have to
33 guess at how long it takes for your tea to be ready. Simply select the
34 type of tea you have, and it will alert you when the tea is ready to
38 %setup -q -n %{kaname}-%{version}
44 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} -C build install \
51 DESTDIR=$RPM_BUILD_ROOT
53 %find_lang %{kaname} --all-name --with-kde
56 rm -rf $RPM_BUILD_ROOT
58 %files -f %{kaname}.lang
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/kteatime
61 %{_desktopdir}/org.kde.kteatime.desktop
62 %{_iconsdir}/hicolor/16x16/apps/kteatime.png
63 %{_iconsdir}/hicolor/22x22/apps/kteatime.png
64 %{_iconsdir}/hicolor/32x32/apps/kteatime.png
65 %{_iconsdir}/hicolor/48x48/apps/kteatime.png
66 %{_iconsdir}/hicolor/64x64/apps/kteatime.png
67 %{_iconsdir}/hicolor/scalable/apps/kteatime.svgz
68 %{_datadir}/knotifications5/kteatime.notifyrc
69 %{_datadir}/metainfo/org.kde.kteatime.appdata.xml