SHA256
1
0
forked from pool/kjournald

Accepting request 1066720 from home:edogawa

As proposed in https://build.opensuse.org/request/show/1066627, I submit to KDE:Extra, not :Applications this time

OBS-URL: https://build.opensuse.org/request/show/1066720
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kjournald?expand=0&rev=1
This commit is contained in:
Christophe Marin
2023-02-20 08:27:15 +00:00
committed by Git OBS Bridge
commit 22180d9f7f
7 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
kjournald-0.1.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd2d190621d084430fc7934b01e774553e16081cd8beb9e6546afc82cd9382a8
size 511284

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE+qQAWA+h5PdfNeT7vIxKcUscZiUFAmN6AFMACgkQvIxKcUsc
ZiUVdQ//etsYjzjE2vZn5bRmtLI1g9DNHM/gfn1QtvChESRzJR9yHYoN3C685BMj
TSYPmRoWIZWnERhmLTBEx08ObsBoLXs4DEbwbz9irzWrqSwuKOus0UzmVBpwlsmA
1DH2NsVOXO6E0Iw+q30tLQwhpLYK+V1nOt7n5Mp+JUoeIdhFooQDSREoVcQv64fy
lEHB36JJXX/P/nj5IlgLOxjSmp6WTzXkO4BKi5DTf31DT6VdsMmnO0kBPwIt1WuU
9fJyxWq/qP+rzKDOKWaP2fIYHIhpmHCA54gSqf+LyI0vfM1l+CzDwSQ69FzMXuZD
eWJS+6GxYWte35weCOdu7R0sB1li2CdckdrHn8tqATnxlXjY5/fN3pvCBw48uQyh
ZTmBdbp5vz74WFFmR3ChKMRIIELZLkPsHsxFOHW0HECPp9Iv6KTfsdSxnNfstxZ9
gzLeZ5/AKQKbXWqYoNVMEqb78FAOY8jA/vRKN1TY+WiHmE1yEu16fFTTSY7LLL8A
gw/C4ZiwToyAv3iyT5nooGNbePWGF7IivzcvEyEMIPP27iKDPDDsaRunRTdiLpyi
6XzF/zfzcHC6/5khC/OVJp1NuunGo4qYmF//W4oIYLxHXQhV4VVu/GtgAB4tO6ta
rY/iKqqikJ2+qMlFGiZtaSBtx5+WJ1uNxMcwTxklXtbG5ayn7EE=
=xlpU
-----END PGP SIGNATURE-----

5
kjournald.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Feb 19 12:09:09 UTC 2023 - Edgar Aichinger <edogawa@aon.at>
- initial package, version 0.1.0

0
kjournald.keyring Normal file
View File

80
kjournald.spec Normal file
View File

@@ -0,0 +1,80 @@
#
# spec file for package kjournald
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define soname 0
Name: kjournald
Version: 0.1.0
Release: 0
Summary: Library and reference Qt5 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
Source2: kjournald.keyring
BuildRequires: fdupes
BuildRequires: update-desktop-files
BuildRequires: pkgconfig
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5Quick)
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.
%lang_package
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
rm %{buildroot}%{_libdir}/lib%{name}.so
%suse_update_desktop_file -i org.kde.kjournaldbrowser Utility
%find_lang %{name} --all-name
%fdupes %{buildroot}
%ldconfig_scriptlets
%files
%license LICENSES/*
%{_bindir}/kjournaldbrowser
%{_libdir}/lib%{name}.so.*
%{_datadir}/applications/org.kde.kjournaldbrowser.desktop
%{_datadir}/metainfo/*.xml
%{_datadir}/qlogging-categories5/*
%files lang -f %{name}.lang
%changelog