|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: man2html
|
|
|
|
Name: man2html
|
|
|
|
Version: 1.6
|
|
|
|
Version: 1.6
|
|
|
|
Release: 7.%{posttag}%{?dist}
|
|
|
|
Release: 8.%{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
|
|
|
@ -114,9 +114,6 @@ BuildRequires: recode
|
|
|
|
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: httpd
|
|
|
|
Requires: httpd
|
|
|
|
|
|
|
|
|
|
|
|
Requires(post): policycoreutils
|
|
|
|
|
|
|
|
Requires(postun): policycoreutils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
man2html is a man page to HTML converter.
|
|
|
|
man2html is a man page to HTML converter.
|
|
|
|
|
|
|
|
|
|
|
@ -183,16 +180,6 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/man2html
|
|
|
|
#clear out the cache directory so all future pages are regenerated with the new build
|
|
|
|
#clear out the cache directory so all future pages are regenerated with the new build
|
|
|
|
rm -f %{_localstatedir}/cache/man2html/* || :
|
|
|
|
rm -f %{_localstatedir}/cache/man2html/* || :
|
|
|
|
|
|
|
|
|
|
|
|
# unconfine CGI scripts from SELinux until selinux-policy is properly patched
|
|
|
|
|
|
|
|
semanage fcontext -a -t httpd_unconfined_script_exec_t '%{_prefix}/lib/man2html/cgi-bin/man/(.*)?' 2>/dev/null || :
|
|
|
|
|
|
|
|
restorecon -R %{_prefix}/lib/man2html || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then # final removal
|
|
|
|
|
|
|
|
semanage fcontext -d -t httpd_unconfined_script_exec_t '%{_prefix}/lib/man2html/cgi-bin/man/(.*)?' 2>/dev/null || :
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%attr(0755,-,-) %{_bindir}/hman
|
|
|
|
%attr(0755,-,-) %{_bindir}/hman
|
|
|
@ -210,6 +197,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jul 16 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-8.g
|
|
|
|
|
|
|
|
- remove SELinux hack; now supported in selinux-policy
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 16 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-7.g
|
|
|
|
* Mon Jul 16 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.6-7.g
|
|
|
|
- restore Italian manpages
|
|
|
|
- restore Italian manpages
|
|
|
|
- fix paths in localized manpages
|
|
|
|
- fix paths in localized manpages
|
|
|
|