|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: man2html
|
|
|
|
Name: man2html
|
|
|
|
Version: 1.6
|
|
|
|
Version: 1.6
|
|
|
|
Release: 5.%{posttag}%{?dist}
|
|
|
|
Release: 6.%{posttag}%{?dist}
|
|
|
|
Summary: Convert man pages to HTML - CGI scripts
|
|
|
|
Summary: Convert man pages to HTML - CGI scripts
|
|
|
|
|
|
|
|
|
|
|
|
# man2html.c and debian/sources/man2html.cgi.c are Copyright Only
|
|
|
|
# man2html.c and debian/sources/man2html.cgi.c are Copyright Only
|
|
|
@ -102,6 +102,10 @@ Patch6: man2html-doc.patch
|
|
|
|
# remembers how to use their bugtracker
|
|
|
|
# remembers how to use their bugtracker
|
|
|
|
Patch7: man2html-format.patch
|
|
|
|
Patch7: man2html-format.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fix a bug in hman that linked to the wrong URL for mansec and manwhatis
|
|
|
|
|
|
|
|
# (e.g. when just invoking `hman 1`)
|
|
|
|
|
|
|
|
Patch8: man2html-hman-section.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: recode
|
|
|
|
BuildRequires: recode
|
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
@ -154,16 +158,12 @@ make -C man2html DESTDIR=%{buildroot} install install-hman
|
|
|
|
#install CGI scripts
|
|
|
|
#install CGI scripts
|
|
|
|
make -C debian/sources PREFIX=%{buildroot} install
|
|
|
|
make -C debian/sources PREFIX=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
|
|
#install localized manpages
|
|
|
|
#install localized manpages (French only; Italian is in man-pages-it)
|
|
|
|
install -Dpm0644 man2html/locales/fr/man2html.1 %{buildroot}%{_mandir}/fr/man1/man2html.1
|
|
|
|
install -Dpm0644 man2html/locales/fr/man2html.1 %{buildroot}%{_mandir}/fr/man1/man2html.1
|
|
|
|
install -Dpm0644 man2html/locales/it/man2html.1 %{buildroot}%{_mandir}/it/man1/man2html.1
|
|
|
|
|
|
|
|
install -Dpm0644 man2html/locales/it/hman.1 %{buildroot}%{_mandir}/it/man1/hman.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#convert localized manpages to UTF-8
|
|
|
|
#convert localized manpages to UTF-8
|
|
|
|
recode latin1..utf8 \
|
|
|
|
recode latin1..utf8 \
|
|
|
|
%{buildroot}%{_mandir}/fr/man1/man2html.1 \
|
|
|
|
%{buildroot}%{_mandir}/fr/man1/man2html.1
|
|
|
|
%{buildroot}%{_mandir}/it/man1/man2html.1 \
|
|
|
|
|
|
|
|
%{buildroot}%{_mandir}/it/man1/hman.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#install httpd configuration
|
|
|
|
#install httpd configuration
|
|
|
|
install -Dpm0644 %SOURCE2 %{buildroot}%{_sysconfdir}/httpd/conf.d/man2html.conf
|
|
|
|
install -Dpm0644 %SOURCE2 %{buildroot}%{_sysconfdir}/httpd/conf.d/man2html.conf
|
|
|
@ -193,17 +193,20 @@ fi
|
|
|
|
%attr(0775,root,apache) %{_localstatedir}/cache/man2html
|
|
|
|
%attr(0775,root,apache) %{_localstatedir}/cache/man2html
|
|
|
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/man2html.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/man2html.conf
|
|
|
|
%{_mandir}/man1/hman.1.*
|
|
|
|
%{_mandir}/man1/hman.1.*
|
|
|
|
%{_mandir}/it/man1/hman.1.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files core
|
|
|
|
%files core
|
|
|
|
%{_bindir}/man2html/
|
|
|
|
%{_bindir}/man2html/
|
|
|
|
%{_mandir}/man1/man2html.1.*
|
|
|
|
%{_mandir}/man1/man2html.1.*
|
|
|
|
%{_mandir}/*/man1/man2html.1.*
|
|
|
|
%{_mandir}/fr/man1/man2html.1.*
|
|
|
|
%doc COPYING HISTORY man2html/README man2html/TODO
|
|
|
|
%doc COPYING HISTORY man2html/README man2html/TODO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu May 24 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-6.g
|
|
|
|
|
|
|
|
- fix hman bug that caused linked to wrong URLs for sections (e.g. `hman 1`)
|
|
|
|
|
|
|
|
- don't ship Italian man pages; they're provided by man-pages-it
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 18 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-5.g
|
|
|
|
* Fri May 18 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-5.g
|
|
|
|
- fix accidental use of wrong macro in %%post
|
|
|
|
- fix accidental use of wrong macro in %%post
|
|
|
|
|
|
|
|
|
|
|
|