Name : htmldoc Version : 1.8.24 Release : 0.FC3 License : GPL Summary : convert html source files into html, postscript, or pdf Group : Applications/Publishing URL : http://www.htmldoc.org Vendor : HTMLDOC open source Packager : Thomas Chung BuildRoot : %{_tmppath}/%{name}-%{version}-buildroot Source : %{name}-%{version}-source.tar.gz AutoReq : No AutoProv : No %description HTMLDOC converts HTML source files into indexed HTML, PostScript, or Portable Document Format (PDF) files that can be viewed online or printed. With no options a HTML document is produced on stdout. The second form of HTMLDOC reads HTML source from stdin, which allows you to use HTMLDOC as a filter. The third form of HTMLDOC launches a graphical interface that allows you to change options and generate documents interactively. %prep rm -rf %{buildroot} %setup -q ####################################################################### # setup macro # -a num : Only unpack source number after changing to the directory # -b num : Only unpack source number before changing to the directory # -c : Create directory before unpacking. # -D : Do not delete the directory before unpacking # -n name : Name the directory as name # -q : Run quiety with minimum output # -T : Disable the automatic unpacking of the archives. ####################################################################### %build ./configure --datadir=%{buildroot}%{_datadir} --mandir=%{buildroot}%{_mandir} --bindir=%{buildroot}%{_bindir} make %install ######################################################### # Common Red Hat RPM macros (rpm --showrc for more info) # {_sourcedir} : /usr/src/redhat/SOURCES # {_builddir} : /usr/src/redhat/BUILD # {_tmppath} : /var/tmp # {_libdir} : /usr/lib # {_bindir} : /usr/bin # {_datadir} : /usr/share/ # {_mandir} : /usr/share/man # {_docdir} : /usr/share/doc # {_sysconfdir} : /etc # {buildroot} # {name} # {version} # {release} ########################################################## make install %{__install} -D -m 755 htmldoc/htmldoc %{buildroot}%{_bindir}/htmldoc %clean rm -rf %{buildroot} %files ##################################################### # defattr sets the default attributes for all files ##################################################### %defattr(-,root,root) %doc doc *.txt %{_datadir}/htmldoc %{_docdir}/htmldoc %{_mandir}/man1/* %{_bindir}/htmldoc %changelog * Tue Feb 22 2005 Thomas Chung 1.8.24-0.FC3 - Initial RPM build for FC3