From 8f14ff92c08df33525300a915d7eb7271e339dd4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 20 Jan 2024 18:42:08 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.248.0-1mamba;Sun Jan 14 2024] --- README.md | 2 ++ kf6-kcrash.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 kf6-kcrash.spec diff --git a/README.md b/README.md index 8d9cafc..31c2ced 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kf6-kcrash +KDE Frameworks graceful handling of application crashes. + diff --git a/kf6-kcrash.spec b/kf6-kcrash.spec new file mode 100644 index 0000000..a17abeb --- /dev/null +++ b/kf6-kcrash.spec @@ -0,0 +1,86 @@ +%define framework %(echo ${name/kf6-}) +%define majver %(echo %version | cut -d. -f1-2) + +Name: kf6-kcrash +Version: 5.248.0 +Release: 1mamba +Summary: KDE Frameworks graceful handling of application crashes +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://invent.kde.org/frameworks/kcrash +Source: https://download.kde.org/%{stable_kf6}/frameworks/%{version}/kcrash-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libkf6-kcoreaddons-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt6-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: kf6-rpm-macros +BuildRequires: extra-cmake-modules +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +KDE Frameworks graceful handling of application crashes. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +KDE Frameworks graceful handling of application crashes. +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 -n kcrash-%{version} + +%build +%cmake_kf6 + +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libKF6Crash.so.* +%{_datadir}/qlogging-categories6/kcrash.categories +%{_datadir}/qlogging-categories6/kcrash.renamecategories +%doc LICENSES + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_kf6_includedir}/KCrash +%{_kf6_includedir}/KCrash/* +%{_libdir}/libKF6Crash.so +%dir %{_libdir}/cmake/KF6Crash +%{_libdir}/cmake/KF6Crash/KF6Crash*.cmake +%{_qt6_docdir}/KF6Crash.* + +%changelog +* Sun Jan 14 2024 Silvan Calarco 5.248.0-1mamba +- package created using the webbuild interface