SHA256
1
0
forked from pool/kjournald
Christophe Marin 2023-02-20 08:33:41 +00:00 committed by Git OBS Bridge
parent 22180d9f7f
commit a0069fcbd6
2 changed files with 17 additions and 10 deletions

Binary file not shown.

View File

@ -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 systemds 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 systemds 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