Add an automatically-generated man page
This commit is contained in:
parent
9071371996
commit
8a9ea0c43e
|
@ -38,6 +38,8 @@ BuildRequires: pkgconfig
|
|||
BuildRequires: protobuf-devel
|
||||
BuildRequires: re2-devel
|
||||
|
||||
BuildRequires: help2man
|
||||
|
||||
%description
|
||||
Ever wondered what's making your binary big? Bloaty McBloatface will show
|
||||
you a size profile of the binary so you can understand what's taking up
|
||||
|
@ -59,10 +61,12 @@ support for WebAssembly.
|
|||
-DBLOATY_ENABLE_CMAKETARGETS=OFF \
|
||||
-DBUILD_TESTING=ON
|
||||
%cmake_build
|
||||
help2man --no-info --output=bloaty.1 %{_vpath_builddir}/bloaty
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 bloaty.1
|
||||
|
||||
%check
|
||||
%ctest --verbose || exit 0
|
||||
|
@ -71,12 +75,14 @@ support for WebAssembly.
|
|||
%license LICENSE
|
||||
%doc README.md how-bloaty-works.md
|
||||
%{_bindir}/bloaty
|
||||
%{_mandir}/man1/bloaty.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Sep 01 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-23
|
||||
- Update License to SPDX
|
||||
- Stop using deprecated %%patchN macros
|
||||
- Add an automatically-generated man page
|
||||
|
||||
* Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1-22
|
||||
- Rebuilt for abseil-cpp 20230802.0
|
||||
|
|
Loading…
Reference in New Issue