%define majver %(echo %version | cut -d. -f1-2) Name: kjournald Version: 23.08.1 Release: 1mamba Summary: A systemd journald API and viewer for KDE Plasma Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/kjournald-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libkcoreaddons-devel BuildRequires: libki18n-devel BuildRequires: libstdc++6-devel BuildRequires: libsystemd-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtquickcontrols2-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description A systemd journald API and viewer for KDE Plasma. ## remove the library block if this package does not provide library and development stuff %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files -f %{name}5_qt.lang %defattr(-,root,root) %{_bindir}/kjournaldbrowser %{_datadir}/applications/org.kde.kjournaldbrowser.desktop %{_datadir}/metainfo/org.kde.kjournaldbrowser.appdata.xml %{_datadir}/qlogging-categories5/kjournald.categories %doc LICENSES %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libkjournald.so.* %{_libdir}/libkjournald.so #%files -n lib%{name}-devel #%defattr(-,root,root) %changelog * Thu Sep 14 2023 Automatic Build System 23.08.1-1mamba - automatic version update by autodist * Sun Aug 27 2023 Silvan Calarco 23.08.0-1mamba - package created using the webbuild interface