]> git.pld-linux.org Git - packages/ka5-kteatime.git/blob - ka5-kteatime.spec
- updated to 18.12.0
[packages/ka5-kteatime.git] / ka5-kteatime.spec
1 %define         kdeappsver      18.12.0
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.0
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:  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)
30
31 %description
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
35 drink.
36
37 %prep
38 %setup -q -n %{kaname}-%{version}
39
40 %build
41 install -d build
42 cd build
43 %cmake \
44         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
45         ..
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} -C build install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %find_lang %{kaname} --all-name --with-kde
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
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
This page took 0.058894 seconds and 4 git commands to generate.