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