Upstream update.
Spec modernization. Abandon patches (unnecessary).
This commit is contained in:
parent
756f7ab6ca
commit
274a1e0304
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
help2man-1.38.2.tar.gz
|
help2man-1.38.2.tar.gz
|
||||||
|
/help2man-1.39.2.tar.gz
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
Name: help2man
|
Name: help2man
|
||||||
Summary: Create simple man pages from --help output
|
Summary: Create simple man pages from --help output
|
||||||
Version: 1.38.2
|
Version: 1.39.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/help2man
|
URL: http://www.gnu.org/software/help2man
|
||||||
@ -13,10 +13,6 @@ Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.gz
|
|||||||
|
|
||||||
%bcond_with nls
|
%bcond_with nls
|
||||||
|
|
||||||
Patch0: help2man-1.38.2-locales.diff
|
|
||||||
Patch1: help2man-1.38.2-mans.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%{!?with_nls:BuildArch: noarch}
|
%{!?with_nls:BuildArch: noarch}
|
||||||
%{?with_nls:BuildRequires: perl(Locale::gettext)}
|
%{?with_nls:BuildRequires: perl(Locale::gettext)}
|
||||||
%{?with_nls:Requires: perl(Locale::gettext)}
|
%{?with_nls:Requires: perl(Locale::gettext)}
|
||||||
@ -34,22 +30,16 @@ still providing some useful information.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n help2man-%{version}
|
%setup -q -n help2man-%{version}
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --%{!?with_nls:disable}%{?with_nls:enable}-nls --libdir=%{_libdir}/help2man
|
%configure --%{!?with_nls:disable}%{?with_nls:enable}-nls --libdir=%{_libdir}/help2man
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -fr $RPM_BUILD_ROOT
|
|
||||||
make install_l10n DESTDIR=$RPM_BUILD_ROOT
|
make install_l10n DESTDIR=$RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%find_lang %name --with-man
|
%find_lang %name --with-man
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -fr $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
|
/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
|
||||||
|
|
||||||
@ -71,6 +61,11 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 22 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.39.2-1
|
||||||
|
- Upstream update.
|
||||||
|
- Spec modernization.
|
||||||
|
- Abandon patches (unnecessary).
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38.2-2
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
@ -78,7 +73,7 @@ fi
|
|||||||
- Upstream update.
|
- Upstream update.
|
||||||
- Add *-locales.diff, *-mans.diff.
|
- Add *-locales.diff, *-mans.diff.
|
||||||
- Use %%find_lang --with-man.
|
- Use %%find_lang --with-man.
|
||||||
- Use %%%bcond_with nls.
|
- Use %%bcond_with nls.
|
||||||
|
|
||||||
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> - 1.36.4-6
|
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> - 1.36.4-6
|
||||||
- do ship COPYING file in %%doc
|
- do ship COPYING file in %%doc
|
||||||
|
Loading…
Reference in New Issue
Block a user