]> git.pld-linux.org Git - packages/ka5-kteatime.git/blob - ka5-kteatime.spec
acbb134b8c0f8666de12f9ac1589dc06bbd4c1f4
[packages/ka5-kteatime.git] / ka5-kteatime.spec
1 %define         kdeappsver      18.12.1
2 %define         qtver           5.9.0
3 %define         kaname          kteatime
4 Summary:        kteatime
5 Summary(pl.UTF-8):      kteatime
6 Name:           ka5-%{kaname}
7 Version:        18.12.1
8 Release:        1
9 License:        GPL v2+
10 Group:          X11/Libraries
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
28 BuildRequires:  ninja
29 BuildRequires:  rpmbuild(macros) >= 1.164
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
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
36 drink.
37
38 %prep
39 %setup -q -n %{kaname}-%{version}
40
41 %build
42 install -d build
43 cd build
44 %cmake \
45         -G Ninja \
46         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
47         ..
48 %ninja_build
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 %ninja_install -C build
53
54 %find_lang %{kaname} --all-name --with-kde
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
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
This page took 0.059655 seconds and 2 git commands to generate.