Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37047814
en ru br
ALT Linux repos
S:1.48.5-alt1
5.0: 1.36.4-alt2
4.1: 1.36.4-alt2
4.0: 1.36.4-alt2
3.0: 1.35.1-alt1

Group :: Development/Other
RPM: help2man

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: help2man
Version: 1.35.1
Release: alt1

Summary: help2man creates simple man pages from the output of programs
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/%name/

# NLS support makes whole package arch-specific.

#BuildArch: noarch

Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2

Patch1: %name-1.35.1-alt-texinfo.patch
Patch2: %name-1.35.1-alt-runas.patch

Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: coreutils

%def_enable nls

%if_enabled nls
Requires: preloadable_libintl.so
BuildRequires: perl-Locale-gettext, preloadable_libintl.so
%endif

%description
help2man is a tool for automatically generating simple manual
pages from program output.

This program is intended to provide an easy way for software authors
to include a manual page in their distribution without having to
maintain that document.

Given a program which produces reasonably standard --help and
--version outputs, help2man can re-arrange that output into
something which resembles a manual page.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%__install -pm644 debian/README README.example

%build
%configure %{subst_enable nls}
%make_build

%install
%makeinstall
%find_lang --with-man %name

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files -f %name.lang
%if_enabled nls
%_libdir/*
%endif
%_bindir/*
%_infodir/*.info*
%doc ChangeLog NEWS README* THANKS help2man.h2m

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin