]> git.pld-linux.org Git - packages/ka5-kalarm.git/blame - ka5-kalarm.spec
- updated to 22.04.2
[packages/ka5-kalarm.git] / ka5-kalarm.spec
CommitLineData
06d97861
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
41208106 4%define kdeappsver 22.04.2
d15427d1 5%define kframever 5.56.0
2e363ed4
WF
6%define qtver 5.9.0
7%define kaname kalarm
8Summary: kalarm
9Name: ka5-%{kaname}
41208106 10Version: 22.04.2
2e363ed4
WF
11Release: 1
12License: GPL v2+/LGPL v2.1+
13Group: X11/Applications
41208106
WF
14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
15# Source0-md5: d775dbaeef3ba93f00073c0136eec76a
2e363ed4
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: cmake >= 2.8.12
19BuildRequires: ka5-akonadi-devel >= 18.04.0
cb403c93 20BuildRequires: ka5-kcalutils-devel >= %{kdeappsver}
2e363ed4
WF
21BuildRequires: ka5-kimap-devel >= %{kdeappsver}
22BuildRequires: ka5-mailcommon-devel >= %{kdeappsver}
d15427d1
WF
23BuildRequires: kf5-extra-cmake-modules >= %{kframever}
24BuildRequires: kf5-kauth-devel >= %{kframever}
25BuildRequires: kf5-kcmutils-devel >= %{kframever}
26BuildRequires: kf5-kcodecs-devel >= %{kframever}
27BuildRequires: kf5-kcompletion-devel >= %{kframever}
28BuildRequires: kf5-kconfigwidgets-devel >= %{kframever}
29BuildRequires: kf5-kdbusaddons-devel >= %{kframever}
30BuildRequires: kf5-kdelibs4support-devel >= %{kframever}
31BuildRequires: kf5-kholidays-devel >= %{kframever}
32BuildRequires: kf5-kiconthemes-devel >= %{kframever}
33BuildRequires: kf5-kjobwidgets-devel >= %{kframever}
c66b1edd 34BuildRequires: ninja
2e363ed4
WF
35BuildRequires: qt5-build >= %{qtver}
36BuildRequires: rpmbuild(macros) >= 1.164
37BuildRequires: shared-mime-info
38BuildRequires: tar >= 1:1.22
39BuildRequires: xz
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43KAlarm is a personal alarm message, command and email scheduler.
44
45Features
46
6fd78c6b
WF
47• Display alarms using your own text message, the text generated by
48a command, or a text or image file. • Audible alarm using a sound
49file • Recurring alarm on an hours/minutes, daily, weekly, monthly
50or annual basis, or set it to trigger every time you log in. •
51Display alarms color and font customization • Support for multiple
52alarm calendars, which for example enables you to share alarms between
53a laptop and desktop computer.
2e363ed4 54
87ebe98c
WF
55%description -l pl.UTF-8
56KAlarm jest osobistym budzikiem i harmonogramem.
57
58Własciwości
59
6fd78c6b
WF
60• Wyświetla własne wiadomości tekstowe, lub tekst wygenerowany
61przez program, lub wyświetla plik tekstowy bądź obrazek •
62Dźwiękowe powiadomomienia • Powtarzalne alarmy, o określonej
63godzinie/minucie, dzienne, tygodniowe, miesięczne lub roczne a także
64wyzwalane wtedy gdy się zalogujesz • Możliwość konfiguracji
65koloru i rodzaju czcionki • Wsparcie dla wielu kalendarzy
66powiadomień, co pozwala na przykład współdzielić alarmy między
67laptopem a komputerem stacjonarnym
87ebe98c 68
2e363ed4
WF
69%prep
70%setup -q -n %{kaname}-%{version}
71
72%build
73install -d build
74cd build
75%cmake \
c66b1edd 76 -G Ninja \
06d97861 77 %{!?with_tests:-DBUILD_TESTING=OFF} \
d15427d1 78 -DHTML_INSTALL_DIR=%{_kdedocdir} \
2e363ed4
WF
79 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
80 ..
c66b1edd 81%ninja_build
2e363ed4 82
06d97861
WF
83%if %{with tests}
84ctest
85%endif
86
87
2e363ed4
WF
88%install
89rm -rf $RPM_BUILD_ROOT
c66b1edd 90%ninja_install -C build
2e363ed4
WF
91
92%find_lang %{kaname} --all-name --with-kde
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
6fd78c6b
WF
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
2e363ed4
WF
100%files -f %{kaname}.lang
101%defattr(644,root,root,755)
2e363ed4 102/etc/xdg/autostart/kalarm.autostart.desktop
2e363ed4
WF
103%attr(755,root,root) %{_bindir}/kalarm
104%attr(755,root,root) %{_bindir}/kalarmautostart
105%{_prefix}/libexec/kauth/kalarm_helper
106%{_desktopdir}/org.kde.kalarm.desktop
107%{_datadir}/config.kcfg/kalarmconfig.kcfg
108%{_datadir}/dbus-1/interfaces/org.kde.kalarm.kalarm.xml
2e363ed4
WF
109%{_iconsdir}/hicolor/128x128/apps/kalarm.png
110%{_iconsdir}/hicolor/16x16/apps/kalarm.png
111%{_iconsdir}/hicolor/22x22/apps/kalarm.png
112%{_iconsdir}/hicolor/32x32/apps/kalarm.png
113%{_iconsdir}/hicolor/48x48/apps/kalarm.png
114%{_iconsdir}/hicolor/64x64/apps/kalarm.png
115%{_datadir}/kalarm
2e363ed4
WF
116%dir %{_datadir}/kxmlgui5/kalarm
117%{_datadir}/kxmlgui5/kalarm/kalarmui.rc
118%{_datadir}/metainfo/org.kde.kalarm.appdata.xml
119%{_datadir}/polkit-1/actions/org.kde.kalarm.rtcwake.policy
001dc8a1
WF
120%{_datadir}/dbus-1/system-services/org.kde.kalarm.rtcwake.service
121%{_datadir}/dbus-1/system.d/org.kde.kalarm.rtcwake.conf
122%{_datadir}/qlogging-categories5/kalarm.categories
123%{_datadir}/qlogging-categories5/kalarm.renamecategories
124%{_datadir}/knotifications5/kalarm.notifyrc
6fd78c6b
WF
125%ghost %{_libdir}/libkalarmprivate.so.5
126%attr(755,root,root) %{_libdir}/libkalarmprivate.so.*.*.*
This page took 0.135317 seconds and 4 git commands to generate.