- Upstream update.
- Add build option --with nls.
This commit is contained in:
parent
9570827a5b
commit
87cde41991
@ -1 +1 @@
|
|||||||
help2man-1.35.1.tar.gz
|
help2man-1.36.3.tar.gz
|
||||||
|
@ -1,13 +1,20 @@
|
|||||||
|
# Supported build option:
|
||||||
|
#
|
||||||
|
# --with nls ... build this package with --enable-nls
|
||||||
|
|
||||||
Name: help2man
|
Name: help2man
|
||||||
Summary: Create simple man pages from --help output
|
Summary: Create simple man pages from --help output
|
||||||
Version: 1.35.1
|
Version: 1.36.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.gnu.org/software/help2man
|
URL: http://www.gnu.org/software/help2man
|
||||||
Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
|
||||||
|
%{!?_with_nls:BuildArch: noarch}
|
||||||
|
%{?_with_nls:BuildRequires: perl(Locale::gettext)}
|
||||||
|
%{?_with_nls:Requires: perl(Locale::gettext)}
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
@ -24,9 +31,9 @@ still providing some useful information.
|
|||||||
%setup -n help2man-%{version}
|
%setup -n help2man-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# --enable-nls would require perl(Locale::gettext)
|
|
||||||
%configure --disable-nls
|
%configure %{!?_with_nls:--disable-nls}
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
@ -45,13 +52,27 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root,-)
|
||||||
%doc README NEWS THANKS
|
%doc README NEWS THANKS
|
||||||
%{_bindir}/help2man
|
%{_bindir}/help2man
|
||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%if "%{?_with_nls}"
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/help2man.mo
|
||||||
|
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/help2man.mo
|
||||||
|
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/help2man.mo
|
||||||
|
%lang(pl) %{_mandir}/pl/man1/*
|
||||||
|
%lang(fi) %{_mandir}/fi/man1/*
|
||||||
|
%lang(fr) %{_mandir}/fr/man1/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
|
||||||
|
- Upstream update.
|
||||||
|
- Add build option --with nls.
|
||||||
|
|
||||||
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.35.1-2
|
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.35.1-2
|
||||||
- Fix disttag (#176473).
|
- Fix disttag (#176473).
|
||||||
- Cleanup spec.
|
- Cleanup spec.
|
||||||
|
Loading…
Reference in New Issue
Block a user