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