]> git.pld-linux.org Git - packages/ka6-kteatime.git/blame - ka6-kteatime.spec
- updated to 24.02.2
[packages/ka6-kteatime.git] / ka6-kteatime.spec
CommitLineData
8936cb7d
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
a6c394c0 4%define kdeappsver 24.02.2
8936cb7d
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
7%define kaname kteatime
8Summary: kteatime
9Summary(pl.UTF-8): kteatime
10Name: ka6-%{kaname}
a6c394c0 11Version: 24.02.2
8936cb7d
WF
12Release: 1
13License: GPL v2+
14Group: X11/Libraries
15Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
a6c394c0 16# Source0-md5: 43cb0f36313b2757e9244b915e9122cf
8936cb7d
WF
17URL: http://www.kde.org/
18BuildRequires: Qt6Core-devel
19BuildRequires: Qt6Gui-devel >= 5.11.1
20BuildRequires: Qt6Widgets-devel
21BuildRequires: gettext-devel
22BuildRequires: kf6-extra-cmake-modules >= %{kframever}
23BuildRequires: kf6-kconfig-devel >= %{kframever}
24BuildRequires: kf6-kcrash-devel >= %{kframever}
25BuildRequires: kf6-kdoctools-devel >= %{kframever}
26BuildRequires: kf6-ki18n-devel >= %{kframever}
27BuildRequires: kf6-kiconthemes-devel >= %{kframever}
28BuildRequires: kf6-knotifications-devel >= %{kframever}
29BuildRequires: kf6-knotifyconfig-devel >= %{kframever}
30BuildRequires: kf6-ktextwidgets-devel >= %{kframever}
31BuildRequires: kf6-kxmlgui-devel >= %{kframever}
32BuildRequires: ninja
33BuildRequires: rpmbuild(macros) >= 1.164
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
37KTeaTime is a handy timer for steeping tea. No longer will you have to
38guess at how long it takes for your tea to be ready. Simply select the
39type of tea you have, and it will alert you when the tea is ready to
40drink.
41
42%description -l pl.UTF-8
43KTeaTime jest przydatnym stoperem do zaparzania herbaty. Nie musisz
44więcej zgadywać jak długo trzeba czekać aż herbata będzie gotowa.
45Po prostu zaznacz typ herbaty którą masz i KTeaTime powiadomi Cię,
46gdy napój będzie gotowy do picia.
47
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52%cmake \
53 -B build \
54 -G Ninja \
55 %{!?with_tests:-DBUILD_TESTING=OFF} \
56 -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
57 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
58%ninja_build -C build
59
60%if %{with tests}
61ctest --test-dir build
62%endif
63
64
65%install
66rm -rf $RPM_BUILD_ROOT
67%ninja_install -C build
68
69%find_lang %{kaname} --all-name --with-kde
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files -f %{kaname}.lang
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/kteatime
77%{_desktopdir}/org.kde.kteatime.desktop
78%{_iconsdir}/hicolor/*x*/apps/kteatime.png
79%{_iconsdir}/hicolor/scalable/apps/kteatime.svgz
80%{_datadir}/knotifications6/kteatime.notifyrc
81%{_datadir}/metainfo/org.kde.kteatime.appdata.xml
This page took 0.074442 seconds and 4 git commands to generate.