diff --git a/kjournald.keyring b/kjournald.keyring index 473a0f4..4e60cc7 100644 Binary files a/kjournald.keyring and b/kjournald.keyring differ diff --git a/kjournald.spec b/kjournald.spec index 721272b..06f665b 100644 --- a/kjournald.spec +++ b/kjournald.spec @@ -16,16 +16,18 @@ # %define soname 0 - +%bcond_without released Name: kjournald Version: 0.1.0 Release: 0 -Summary: Library and reference Qt5 browser for journald database +Summary: Qt browser for journald database License: LGPL-2.1-or-later URL: https://invent.kde.org/system/kjournald -Source0: https://download.kde.org/stable/kjournald/kjournald-0.1.0.tar.xz -Source1: https://download.kde.org/stable/kjournald/kjournald-0.1.0.tar.xz.sig +Source0: https://download.kde.org/stable/kjournald/%{name}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/kjournald/%{name}-%{version}.tar.xz.sig Source2: kjournald.keyring +%endif BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: pkgconfig @@ -41,10 +43,13 @@ BuildRequires: pkgconfig(libsystemd) Requires: libqt5-qtquickcontrols2 %description -This project aims to provide an abstraction of the systemd’s journald API in terms of QAbstractItemModel classes. The main purpose is to ease the integration of journald -into Qt based applications (both QML and QtWidget). -Additional to the library, the project provides a reference implementation of the API, called kjournaldbrowser. Even though that application provides a powerful -journal database reader, we aim to do a clear split between reuseable library and application logic. +This project aims to provide an abstraction of the systemd’s journald API in +terms of QAbstractItemModel classes. The main purpose is to ease the +integration of journald into Qt based applications (both QML and QtWidget). +Additional to the library, the project provides a reference implementation of +the API, called kjournaldbrowser. Even though that application provides a +powerful journal database reader, we aim to do a clear split between +reuseable library and application logic. %lang_package @@ -52,11 +57,13 @@ journal database reader, we aim to do a clear split between reuseable library an %autosetup -p1 %build -%cmake +%cmake_kf5 -d build + %cmake_build %install -%cmake_install +%kf5_makeinstall -C build + rm %{buildroot}%{_libdir}/lib%{name}.so %suse_update_desktop_file -i org.kde.kjournaldbrowser Utility