add: breakpad (#8851) (#8857)

(cherry picked from commit a6b815785f)

Co-authored-by: Willow <willow@willowidk.dev>
This commit is contained in:
Raboneko
2026-01-02 14:52:33 -08:00
committed by GitHub
parent bd515be9ef
commit 43ef6845c2
3 changed files with 68 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "breakpad.spec"
}
}
+62
View File
@@ -0,0 +1,62 @@
Name: breakpad
Version: 2024.02.16
Release: 1%?dist
Summary: Google Breakpad crash-reporting system
License: BSD-3-Clause
Group: System
URL: https://github.com/google/breakpad
Source0: https://github.com/google/breakpad/archive/refs/tags/v%{version}.tar.gz
Source1: https://chromium.googlesource.com/linux-syscall-support/+archive/refs/heads/main.tar.gz#/lss.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(zlib)
BuildRequires: anda-srpm-macros
Packager: Willow Reed (willow@willowidk.dev)
%description
A set of client and server components which implement a crash-reporting system.
%package devel
Requires: %{name} = %{evr}
%pkg_devel_files
%{_libdir}/libbreakpad.a
%{_libdir}/libbreakpad_client.a
%prep
%autosetup -n breakpad-%{version}
mkdir -p src/third_party/lss
cd src/third_party/lss
tar -xzf %{SOURCE1} --strip-components=0
%build
export CFLAGS="$CFLAGS -Wno-error"
export CXXFLAGS="$CXXFLAGS -Wno-error"
%configure
%make_build
%install
%make_install
rm -rf %{buildroot}%{_docdir}/breakpad-0.1
%files
%license LICENSE
%doc README.md AUTHORS ChangeLog INSTALL NEWS
%{_bindir}/core2md
%{_bindir}/dump_sym*
%{_bindir}/microdump_stackwalk
%{_bindir}/minidump-2-core
%{_bindir}/minidump_dump
%{_bindir}/minidump_stackwalk
%{_bindir}/minidump_upload
%{_bindir}/pid2md
%{_bindir}/sym_upload
%{_libexecdir}/core_handler
%changelog
* Fri Jan 02 2026 Willow Reed <willow@willowidk.dev>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("https://github.com/google/breakpad"));