package created using the webbuild interface [release 1.14.6-1mamba;Tue Mar 26 2024]

This commit is contained in:
Silvan Calarco 2024-03-26 09:18:50 +01:00
parent d69938ca6a
commit df8dfcb6d3
3 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# mandoc
A suite of tools compiling mdoc from the OpenBSD project.

18
mandoc-configure.local Normal file
View File

@ -0,0 +1,18 @@
MANPATH_DEFAULT=/usr/local/share/man:/usr/share/man
PREFIX=/usr
SBINDIR=$PREFIX/bin
MANDIR=$PREFIX/share/man
# These conflict with man(7) and mdoc(7) from man-pages.
MANM_MAN=mandoc_man
MANM_MDOC=mandoc_mdoc
# These conflict with binaries and manpages from groff.
BINM_SOELIM=msoelim
MANM_ROFF=mandoc_roff
# Conflicts with man-db
BINM_MAN=mman
BINM_APROPOS=mapropos
BINM_WHATIS=mwhatis

67
mandoc.spec Normal file
View File

@ -0,0 +1,67 @@
Name: mandoc
Version: 1.14.6
Release: 1mamba
Summary: A suite of tools compiling mdoc from the OpenBSD project
Group: Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://mdocml.bsd.lv
Source: https://mandoc.bsd.lv/snapshots/mandoc-%{version}.tar.gz
Source1: mandoc-configure.local
License: ISC
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
A suite of tools compiling mdoc from the OpenBSD project.
%debug_package
%prep
%setup -q
cp %{SOURCE1} configure.local
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/demandoc
%{_bindir}/makewhatis
%{_bindir}/mandoc
%{_bindir}/mapropos
%{_bindir}/mman
%{_bindir}/msoelim
%{_bindir}/mwhatis
%{_mandir}/man1/demandoc.1*
%{_mandir}/man1/mandoc.1*
%{_mandir}/man1/mapropos.1*
%{_mandir}/man1/mman.1*
%{_mandir}/man1/msoelim.1*
%{_mandir}/man1/mwhatis.1*
%{_mandir}/man5/man.conf.5*
%{_mandir}/man5/mandoc.db.5*
%{_mandir}/man7/eqn.7*
%{_mandir}/man7/mandoc_char.7*
%{_mandir}/man7/mandoc_man.7*
%{_mandir}/man7/mandoc_mdoc.7*
%{_mandir}/man7/mandoc_roff.7*
%{_mandir}/man7/tbl.7*
%{_mandir}/man8/makewhatis.8*
%doc LICENSE
%changelog
* Tue Mar 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14.6-1mamba
- package created using the webbuild interface