Blame bloaty.spec

92201da
Name:           bloaty
92201da
Version:        1.1
a3bcb8d
Release:        6%{?dist}
92201da
Summary:        A size profiler for binaries
92201da
92201da
92201da
License:        ASL 2.0
92201da
URL:            https://github.com/google/bloaty
92201da
Source0:        https://github.com/google/bloaty/archive/v%{version}/%{name}-%{version}.tar.gz
92201da
# Patch to use system versions of abseil, google-test and google-mock
92201da
Patch0:         bloaty-1.1-absl.patch
f945916
# Patch to fix size detection function to use 64 bit types on 32bit architectures
f945916
Patch1:         bloaty-1.1-longlong.patch
92201da
92201da
BuildRequires:  abseil-cpp-devel
92201da
BuildRequires:  capstone-devel
92201da
BuildRequires:  cmake
92201da
BuildRequires:  gcc-c++
92201da
BuildRequires:  gmock-devel
92201da
BuildRequires:  gtest-devel
92201da
BuildRequires:  pkgconfig
92201da
BuildRequires:  protobuf-devel
92201da
BuildRequires:  re2-devel
92201da
92201da
%description
92201da
Ever wondered what's making your binary big? Bloaty McBloatface will show
92201da
you a size profile of the binary so you can understand what's taking up
92201da
space inside.
92201da
92201da
Bloaty works on binaries, shared objects, object files, and static
92201da
libraries. Bloaty supports the ELF and Mach-O formats, and has experimental
92201da
support for WebAssembly.
92201da
92201da
%prep
f945916
%autosetup -p0 -S gendiff
92201da
92201da
92201da
%build
65e01ae
%cmake \
92201da
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
92201da
  -DBLOATY_ENABLE_CMAKETARGETS=OFF \
92201da
  -DBUILD_TESTING=ON
f945916
%cmake_build
92201da
92201da
92201da
%install
f945916
%cmake_install
92201da
92201da
%check
f555269
%ctest --verbose || exit 0
92201da
92201da
%files
92201da
%license LICENSE
92201da
%doc README.md how-bloaty-works.md 
92201da
%{_bindir}/bloaty
92201da
92201da
92201da
%changelog
a3bcb8d
* Sat Dec 19 11:31:29 EST 2020 Rich Mattes <richmattes@gmail.com> - 1.1-6
a3bcb8d
- Rebuild for abseil-cpp 20200923.2
a3bcb8d
e46677d
* Wed Sep 23 2020 Adrian Reber <adrian@lisas.de> - 1.1-5
e46677d
- Rebuilt for protobuf 3.13
e46677d
86cb8f5
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-4
86cb8f5
- Second attempt - Rebuilt for
86cb8f5
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
86cb8f5
b7c571c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
b7c571c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b7c571c
92201da
* Wed May 27 2020 Rich Mattes <richmattes@gmail.com> - 1.1-2
92201da
- Don't remove buildroot in install
92201da
- Patch to use system gtest and gmock, enable tests
92201da
92201da
* Sat May 23 2020 Rich Mattes <richmattes@gmail.com> - 1.1-1
92201da
- Inital Package