2006-12-18 23:16:45 +00:00
|
|
|
#
|
2011-05-04 22:04:02 +00:00
|
|
|
# spec file for package help2man
|
2006-12-18 23:16:45 +00:00
|
|
|
#
|
2013-03-27 15:28:49 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-18 23:16:45 +00:00
|
|
|
#
|
2009-06-17 17:37:16 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-18 23:16:45 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-25 18:25:17 +00:00
|
|
|
|
2006-12-18 23:16:45 +00:00
|
|
|
Name: help2man
|
2013-03-27 15:28:49 +00:00
|
|
|
Version: 1.41.1
|
2012-01-08 21:44:08 +00:00
|
|
|
Release: 0
|
2006-12-18 23:16:45 +00:00
|
|
|
Summary: Create Simple Man Pages from --help Output
|
2011-08-04 03:18:17 +00:00
|
|
|
License: GPL-3.0+
|
2006-12-18 23:16:45 +00:00
|
|
|
Group: Development/Tools/Doc Generators
|
2012-01-08 21:44:08 +00:00
|
|
|
Url: http://www.gnu.org/software/help2man/
|
2011-08-04 03:18:17 +00:00
|
|
|
Source0: http://ftp.gnu.org/gnu/help2man/%{name}-%{version}.tar.gz
|
2011-05-04 22:04:02 +00:00
|
|
|
BuildRequires: perl-gettext
|
|
|
|
Requires: perl-gettext
|
2012-01-08 21:44:08 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-04 22:04:02 +00:00
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
|
|
|
|
2006-12-18 23:16:45 +00:00
|
|
|
%description
|
|
|
|
help2man is a script to create simple man pages from the --help and
|
|
|
|
--version output of programs.
|
|
|
|
|
|
|
|
Since most GNU documentation is now in info format, this provides a way
|
|
|
|
to generate a placeholder man page pointing to that resource while
|
|
|
|
still providing some useful information.
|
|
|
|
|
|
|
|
%prep
|
2009-10-20 10:39:54 +00:00
|
|
|
%setup -q
|
2006-12-18 23:16:45 +00:00
|
|
|
|
|
|
|
%build
|
2012-06-06 20:17:19 +00:00
|
|
|
%configure --enable-nls
|
2012-01-08 21:44:08 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-12-18 23:16:45 +00:00
|
|
|
|
|
|
|
%install
|
2011-05-04 22:04:02 +00:00
|
|
|
%make_install
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man
|
2006-12-18 23:16:45 +00:00
|
|
|
|
|
|
|
%post
|
2011-05-04 22:04:02 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/help2man.info%{ext_info}
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/help2man.info%{ext_info}
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
2011-08-04 03:18:17 +00:00
|
|
|
%doc COPYING NEWS README THANKS debian/changelog
|
2011-05-04 22:04:02 +00:00
|
|
|
%{_bindir}/help2man
|
|
|
|
%{_libdir}/help2man/
|
|
|
|
%doc %{_infodir}/help2man.info%{ext_info}
|
|
|
|
%doc %{_mandir}/man1/help2man.1%{ext_man}
|
2006-12-18 23:16:45 +00:00
|
|
|
%dir %{_mandir}/??
|
|
|
|
%dir %{_mandir}/??/man1
|
|
|
|
|
2009-06-17 17:37:16 +00:00
|
|
|
%changelog
|