Accepting request 1039523 from home:dimstar:Factory

- Split mandoc into a bin subpackage: tools like rpm2docserv rely
  on mandoc to render the html pages, but they might be also wanted
  on systems that do not want to replace the entire man
  infrastructure.

OBS-URL: https://build.opensuse.org/request/show/1039523
OBS-URL: https://build.opensuse.org/package/show/Documentation/mandoc?expand=0&rev=15
This commit is contained in:
Matej Cepl 2022-12-05 17:17:04 +00:00 committed by Git OBS Bridge
parent ef4547b0e7
commit bc15c48c2f
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Dec 2 09:23:26 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Split mandoc into a bin subpackage: tools like rpm2docserv rely
on mandoc to render the html pages, but they might be also wanted
on systems that do not want to replace the entire man
infrastructure.
-------------------------------------------------------------------
Thu Mar 10 14:50:39 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -27,6 +27,7 @@ URL: http://mandoc.bsd.lv/
Source: http://mandoc.bsd.lv/snapshots/mandoc-%{version}.tar.gz
BuildRequires: less
BuildRequires: zlib-devel
Requires: %{name}-bin = %{version}
Provides: man = %{version}
Conflicts: groff
Conflicts: groff-full
@ -44,6 +45,15 @@ historical language for UNIX manuals.
It includes a man(1) manual viewer and additional tools.
For general information, see <http://mandoc.bsd.lv/>.
%package bin
Summary: Format manual pages
%description bin
The mandoc utility formats manual pages for display.
It is split out from the mandoc package as it can be useful
even without replacing the entire man infrastructure.
%prep
%autosetup -p1
@ -121,7 +131,6 @@ io.flush()
%{_bindir}/apropos
%{_bindir}/demandoc
%{_bindir}/man
%{_bindir}/mandoc
%{_bindir}/soelim
%{_bindir}/whatis
%{_sbindir}/makewhatis
@ -131,4 +140,7 @@ io.flush()
%{_mandir}/man8/*.8%{?ext_man}
%ghost %{_mandir}/mandoc.db
%files bin
%{_bindir}/mandoc
%changelog