2005-12-23 09:22:01 +00:00
|
|
|
# Supported build option:
|
|
|
|
#
|
|
|
|
# --with nls ... build this package with --enable-nls
|
|
|
|
|
2008-02-10 04:37:44 +00:00
|
|
|
Name: help2man
|
|
|
|
Summary: Create simple man pages from --help output
|
2015-02-17 06:14:42 +00:00
|
|
|
Version: 1.46.5
|
2014-07-14 09:54:39 +00:00
|
|
|
Release: 1%{?dist}
|
2008-02-10 04:37:44 +00:00
|
|
|
Group: Development/Tools
|
2010-08-27 15:05:45 +00:00
|
|
|
License: GPLv3+
|
2008-02-10 04:37:44 +00:00
|
|
|
URL: http://www.gnu.org/software/help2man
|
2014-03-13 05:20:31 +00:00
|
|
|
Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.xz
|
2009-05-18 04:00:14 +00:00
|
|
|
|
2010-08-27 15:05:45 +00:00
|
|
|
%bcond_with nls
|
|
|
|
|
|
|
|
%{!?with_nls:BuildArch: noarch}
|
2014-03-13 05:20:31 +00:00
|
|
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
BuildRequires: perl(Text::Tabs)
|
|
|
|
BuildRequires: perl(strict)
|
2013-01-17 14:46:36 +00:00
|
|
|
%{?with_nls:BuildRequires: perl(Locale::gettext) /usr/bin/msgfmt}
|
2014-03-13 05:20:31 +00:00
|
|
|
%{?with_nls:BuildRequires: perl(Encode)}
|
|
|
|
%{?with_nls:BuildRequires: perl(I18N::Langinfo)}
|
2004-11-08 04:32:49 +00:00
|
|
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
%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
|
2006-09-05 10:59:40 +00:00
|
|
|
%setup -q -n help2man-%{version}
|
2004-11-08 04:32:49 +00:00
|
|
|
|
|
|
|
%build
|
2010-08-27 15:05:45 +00:00
|
|
|
%configure --%{!?with_nls:disable}%{?with_nls:enable}-nls --libdir=%{_libdir}/help2man
|
2005-12-23 09:22:01 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-11-08 04:32:49 +00:00
|
|
|
|
|
|
|
%install
|
2006-09-05 10:59:40 +00:00
|
|
|
make install_l10n DESTDIR=$RPM_BUILD_ROOT
|
2010-08-27 15:05:45 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%find_lang %name --with-man
|
2004-11-08 04:32:49 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
|
|
|
|
|
|
|
|
%preun
|
2005-04-29 17:23:36 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2004-11-08 04:32:49 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/help2man.info \
|
|
|
|
%{_infodir}/dir 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
2010-08-27 15:05:45 +00:00
|
|
|
%files -f %name.lang
|
2010-02-23 13:21:46 +00:00
|
|
|
%doc README NEWS THANKS COPYING
|
2004-11-08 04:32:49 +00:00
|
|
|
%{_bindir}/help2man
|
|
|
|
%{_infodir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
2010-08-27 15:05:45 +00:00
|
|
|
%if %{with nls}
|
|
|
|
%{_libdir}/help2man
|
2006-09-05 10:59:40 +00:00
|
|
|
%endif
|
2005-12-23 09:22:01 +00:00
|
|
|
|
2004-11-08 04:32:49 +00:00
|
|
|
%changelog
|
2015-02-17 06:14:42 +00:00
|
|
|
* Tue Feb 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46.5-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-10-31 10:10:23 +00:00
|
|
|
* Fri Oct 31 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46.4-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-10-05 04:30:57 +00:00
|
|
|
* Sun Oct 05 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46.3-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-09-16 16:46:44 +00:00
|
|
|
* Tue Sep 16 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46.2-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-08-22 03:49:27 +00:00
|
|
|
* Fri Aug 22 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46.1-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-07-14 09:54:39 +00:00
|
|
|
* Mon Jul 14 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.45.1-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2014-06-07 20:00:08 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-13 05:20:31 +00:00
|
|
|
* Thu Mar 13 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.44.1-1
|
|
|
|
- Upstream update.
|
|
|
|
- Add finer-grained perl deps.
|
|
|
|
|
2013-08-03 17:38:07 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.43.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 10:46:17 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.43.3-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-07-17 03:52:07 +00:00
|
|
|
* Wed Jul 17 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.43.3-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2013-07-17 03:43:07 +00:00
|
|
|
* Wed Jul 17 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.41.2-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2013-02-14 01:03:35 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.41.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-17 16:37:53 +00:00
|
|
|
* Thu Jan 17 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.41.1-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2013-01-17 14:46:36 +00:00
|
|
|
* Thu Jan 17 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.13-1
|
|
|
|
- Upstream update.
|
|
|
|
- BR: /usr/bin/msgfmt if building with nls enabled.
|
|
|
|
|
2012-10-04 05:50:53 +00:00
|
|
|
* Thu Oct 04 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.12-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2012-07-20 05:41:15 +00:00
|
|
|
* Fri Jul 20 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.10-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2012-07-19 12:42:58 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.40.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-12 04:23:33 +00:00
|
|
|
* Thu Apr 12 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.8-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2012-02-18 06:06:28 +00:00
|
|
|
* Sat Feb 18 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.6-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2012-01-05 07:15:01 +00:00
|
|
|
* Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.5-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2011-12-15 18:58:51 +00:00
|
|
|
* Thu Dec 15 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.4-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2011-06-08 07:16:32 +00:00
|
|
|
* Wed Jun 08 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.40.2-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2011-04-22 03:39:02 +00:00
|
|
|
* Fri Apr 22 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.39.2-1
|
|
|
|
- Upstream update.
|
|
|
|
- Spec modernization.
|
|
|
|
- Abandon patches (unnecessary).
|
|
|
|
|
2011-02-09 09:05:19 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-08-27 15:05:45 +00:00
|
|
|
* Fri Aug 27 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.38.2-1
|
|
|
|
- Upstream update.
|
|
|
|
- Add *-locales.diff, *-mans.diff.
|
|
|
|
- Use %%find_lang --with-man.
|
2011-04-22 03:39:02 +00:00
|
|
|
- Use %%bcond_with nls.
|
2010-08-27 15:05:45 +00:00
|
|
|
|
2010-02-23 13:23:54 +00:00
|
|
|
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> - 1.36.4-6
|
2010-02-23 13:21:46 +00:00
|
|
|
- do ship COPYING file in %%doc
|
|
|
|
|
2009-07-25 02:07:03 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2010-08-27 15:05:45 +00:00
|
|
|
* Mon May 18 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.36.4-4
|
2009-05-18 04:00:14 +00:00
|
|
|
- Apply patch from http://bugs.gentoo.org/show_bug.cgi?id=237378#c6
|
|
|
|
to address BZ #494089.
|
|
|
|
|
2009-02-25 03:38:23 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.36.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-10 04:37:44 +00:00
|
|
|
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-2
|
|
|
|
- Update license tag.
|
|
|
|
- Convert THANKS to utf-8.
|
|
|
|
|
2006-09-05 10:59:40 +00:00
|
|
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-1
|
|
|
|
- Upstream update.
|
|
|
|
- utf-8 encode l10n'd man pages.
|
|
|
|
|
2005-12-23 09:22:01 +00:00
|
|
|
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
|
|
|
|
- Upstream update.
|
|
|
|
- Add build option --with nls.
|
|
|
|
|
2005-12-23 07:12:12 +00:00
|
|
|
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.35.1-2
|
|
|
|
- Fix disttag (#176473).
|
|
|
|
- Cleanup spec.
|
|
|
|
|
2005-04-29 17:23:36 +00:00
|
|
|
* Fri Apr 29 2005 Ralf Corsepius <ralf[AT]links2linux.de> - 1.35.1-1
|
|
|
|
- Update to 1.35.1
|
|
|
|
- Minor spec fixes.
|