# # spec file for package help2man (Version 1.36.4) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: help2man BuildRequires: perl-gettext Url: http://www.gnu.org/software/help2man/ Summary: Create Simple Man Pages from --help Output Version: 1.36.4 Release: 124 Group: Development/Tools/Doc Generators License: GPL v2 or later PreReq: %{install_info_prereq} Source: help2man-%{version}.tar.gz #Patch: help2man-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. Authors: -------- Brendan O'Dea %prep %setup #%patch %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{_prefix} --libdir=%{_libdir} \ --infodir=%{_infodir} --mandir=%{_mandir} make %install make install DESTDIR=$RPM_BUILD_ROOT %find_lang %name %clean rm -fr $RPM_BUILD_ROOT %post %install_info --info-dir=%{_infodir} %{_infodir}/help2man.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/help2man.info.gz %files -f %name.lang %defattr(-, root, root) %doc README NEWS THANKS %{_prefix}/bin/help2man %{_libdir}/hacklocaledir.so %{_infodir}/*.gz %{_mandir}/man1/*.gz %dir %{_mandir}/?? %dir %{_mandir}/??/man1 %{_mandir}/??/man1/*.gz %changelog * Mon May 15 2006 schwab@suse.de - Update to help2man 1.36.4. * Add sv translation from Daniel Nylander (closes: #349568). * Updated fr translation from Denis Barbier (closes: #338995). * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Nov 02 2005 schwab@suse.de - Update to help2man 1.36.2. * Mon Oct 17 2005 schwab@suse.de - Update to help2man 1.36.1. * Wed Oct 05 2005 schwab@suse.de - Update to help2man 1.35.2. * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Fri Nov 26 2004 schwab@suse.de - Update to help2man 1.35.1. * Wed Nov 24 2004 schwab@suse.de - Update to help2man 1.34.2. * Mon Jul 21 2003 schwab@suse.de - Update to help2man 1.33.1. * Thu Jul 10 2003 schwab@suse.de - Compile shared library with -fPIC. * Thu Jul 10 2003 schwab@suse.de - Update to help2man 1.31.1. - Not noarch any more. * Thu Apr 24 2003 ro@suse.de - fix install_info --delete call and move from preun to postun * Mon Apr 07 2003 schwab@suse.de - Only delete info entries when removing last version. * Thu Feb 06 2003 schwab@suse.de - Use %%install_info. * Tue Sep 17 2002 schwab@suse.de - Update to help2man 1.29. * Tue Jun 04 2002 schwab@suse.de - Update to version 1.28. * New option --info-page. * Mon Mar 11 2002 schwab@suse.de - Initial version 1.27.