- Upstream update.
- utf-8 encode l10n'd man pages.
This commit is contained in:
parent
72e1492a66
commit
d3e01af3b0
@ -1 +1 @@
|
|||||||
help2man-1.36.3.tar.gz
|
help2man-1.36.4.tar.gz
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: help2man
|
Name: help2man
|
||||||
Summary: Create simple man pages from --help output
|
Summary: Create simple man pages from --help output
|
||||||
Version: 1.36.3
|
Version: 1.36.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -28,16 +28,25 @@ way to generate a placeholder man page pointing to that resource while
|
|||||||
still providing some useful information.
|
still providing some useful information.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n help2man-%{version}
|
%setup -q -n help2man-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure %{!?_with_nls:--disable-nls}
|
%configure %{!?_with_nls:--disable-nls}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
# Fix up manpage encoding
|
||||||
|
for f in help2man.*.h2m; do
|
||||||
|
b=$(basename $f .h2m);
|
||||||
|
c=$(grep 'charset: ISO-*' $f | sed -e 's,^.*: ,,')
|
||||||
|
iconv -f $c -t utf-8 -o $b.1~ $b.1
|
||||||
|
mv $b.1~ $b.1
|
||||||
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
make install_l10n DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -fr $RPM_BUILD_ROOT
|
||||||
@ -60,15 +69,21 @@ fi
|
|||||||
|
|
||||||
%if "%{?_with_nls}"
|
%if "%{?_with_nls}"
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%endif
|
||||||
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/help2man.mo
|
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/help2man.mo
|
||||||
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/help2man.mo
|
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/help2man.mo
|
||||||
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/help2man.mo
|
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/help2man.mo
|
||||||
|
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/help2man.mo
|
||||||
%lang(pl) %{_mandir}/pl/man1/*
|
%lang(pl) %{_mandir}/pl/man1/*
|
||||||
%lang(fi) %{_mandir}/fi/man1/*
|
%lang(fi) %{_mandir}/fi/man1/*
|
||||||
%lang(fr) %{_mandir}/fr/man1/*
|
%lang(fr) %{_mandir}/fr/man1/*
|
||||||
%endif
|
%lang(sv) %{_mandir}/sv/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.36.4-1
|
||||||
|
- Upstream update.
|
||||||
|
- utf-8 encode l10n'd man pages.
|
||||||
|
|
||||||
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
|
* Fri Dec 23 2005 Ralf Corsépius <rc04203@freenet.de> - 1.36.3-1
|
||||||
- Upstream update.
|
- Upstream update.
|
||||||
- Add build option --with nls.
|
- Add build option --with nls.
|
||||||
|
@ -1 +0,0 @@
|
|||||||
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
|
|
Loading…
Reference in New Issue
Block a user