]> git.pld-linux.org Git - packages/ka5-kalarm.git/blobdiff - ka5-kalarm.spec
- bcond_with tests
[packages/ka5-kalarm.git] / ka5-kalarm.spec
index bf358f577247fa146cc11e9502ec52b0a1c02265..2176270169b858c100fb0432e4e9e23d34e1b4b6 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeappsver      21.04.2
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeappsver      21.12.3
 %define                kframever       5.56.0
 %define                qtver           5.9.0
 %define                kaname          kalarm
 Summary:       kalarm
 Name:          ka5-%{kaname}
-Version:       21.04.2
+Version:       21.12.3
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
 Source0:       http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: aa65ad3d5f17e4957f403f8a40504e93
+# Source0-md5: 95085825d08d76e2bf8cfbd15bfa6c83
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
@@ -49,6 +52,20 @@ color and font customization • Support for multiple alarm calendars,
 which for example enables you to share alarms between a laptop and
 desktop computer.
 
+%description -l pl.UTF-8
+KAlarm jest osobistym budzikiem i harmonogramem.
+
+Własciwości
+
+• Wyświetla własne wiadomości tekstowe, lub tekst wygenerowany przez program,
+  lub wyświetla plik tekstowy bądź obrazek
+• Dźwiękowe powiadomomienia
+• Powtarzalne alarmy, o określonej godzinie/minucie, dzienne, tygodniowe,
+  miesięczne lub roczne a także wyzwalane wtedy gdy się zalogujesz
+• Możliwość konfiguracji koloru i rodzaju czcionki
+• Wsparcie dla wielu kalendarzy powiadomień, co pozwala na przykład
+  współdzielić alarmy między laptopem a komputerem stacjonarnym
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -57,11 +74,17 @@ install -d build
 cd build
 %cmake \
        -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -87,13 +110,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/48x48/apps/kalarm.png
 %{_iconsdir}/hicolor/64x64/apps/kalarm.png
 %{_datadir}/kalarm
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-1.2.1-general.pl
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-1.9.5-defaults.pl
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-15.08-kickoff.sh
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-2.0.2-general.pl
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-2.1.5-general.pl
-%attr(755,root,root) %{_datadir}/kconf_update/kalarm-version.pl
-%{_datadir}/kconf_update/kalarm.upd
 %dir %{_datadir}/kxmlgui5/kalarm
 %{_datadir}/kxmlgui5/kalarm/kalarmui.rc
 %{_datadir}/metainfo/org.kde.kalarm.appdata.xml
This page took 0.107682 seconds and 4 git commands to generate.