%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: debiandoc-sgml Version: 1.2.28 Release: 1mamba Summary: SGML DTD and formatting tools Group: Applications/Publishing Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://packages.debian.org/etch/debiandoc-sgml Source: http://ftp.de.debian.org/debian/pool/main/d/debiandoc-sgml/debiandoc-sgml_%{version}.orig.tar.gz Patch: debiandoc-sgml-1.1.101-Makefile.patch License: GPL Requires: perl-HTML-Parser Requires: perl-Roman Requires: perl-SGMLSpm Requires: perl-Text-Format Requires: perl-URI ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel BuildRequires: perl-HTML-Parser BuildRequires: perl-Roman BuildRequires: perl-SGMLSpm BuildRequires: perl-Text-Format BuildRequires: perl-URI ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is an SGML-based documentation formatting package used for the Debian manuals. It reads markup files and produces HTML, LaTeX, DVI (via LaTeX), PostScript (via LaTeX/DVI), PDF (via LaTeX), Texinfo, Info (via Texinfo), DebianDoc SGML, DocBook XML, plain text (with overstrikes a la troff as well as without) files. . The LaTeX based output needs the libpaperg, tetex-bin and tetex-extra packages. In addition to this, Chinese and Japanese need cjk-latex and corresponding font packages while Korean needs hlatex and corresponding font packages. The Texinfo based output needs the texinfo package. . Homepage: http://alioth.debian.org/projects/debiandoc-sgml/ %prep %setup -q #%patch -p1 %build %make prefix=%{_prefix} perl_dir=%{_libdir}/perl5/%{perl_major_ver}/ %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall prefix=%{_prefix} perl_dir=%{buildroot}%{_libdir}/perl5/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/debiandoc2dbk %{_bindir}/debiandoc2dvi %{_bindir}/debiandoc2html %{_bindir}/debiandoc2info %{_bindir}/debiandoc2latex %{_bindir}/debiandoc2latexdvi %{_bindir}/debiandoc2latexpdf %{_bindir}/debiandoc2latexps %{_bindir}/debiandoc2pdf %{_bindir}/debiandoc2ps #%{_bindir}/debiandoc2sgml %{_bindir}/debiandoc2texinfo %{_bindir}/debiandoc2text %{_bindir}/debiandoc2textov %{_bindir}/debiandoc2wiki #%{_bindir}/debiandoc2xml %dir %{_libdir}/perl5/DebianDoc_SGML/Format %{_libdir}/perl5/DebianDoc_SGML/Format/*.pm %dir %{_libdir}/perl5/DebianDoc_SGML/Locale %{_libdir}/perl5/DebianDoc_SGML/Locale/* %dir %{_libdir}/perl5/DebianDoc_SGML/Map %{_libdir}/perl5/DebianDoc_SGML/Map/*.pm %dir %{_datadir}/debiandoc-sgml %{_datadir}/debiandoc-sgml/fixlatex %{_datadir}/debiandoc-sgml/saspconvert %dir %{_datadir}/sgml/debiandoc/dtd/sgml/1.0 %{_datadir}/sgml/debiandoc/dtd/sgml/1.0/catalog %{_datadir}/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dcl %{_datadir}/sgml/debiandoc/dtd/sgml/1.0/debiandoc.dtd %dir %{_datadir}/sgml/debiandoc/entities %{_datadir}/sgml/debiandoc/entities/catalog %{_datadir}/sgml/debiandoc/entities/debiandoc-lat1 %{_datadir}/sgml/debiandoc/entities/debiandoc-lat2 %{_mandir}/man1/debiandoc2*.1.gz %{_mandir}/man1/debiandoc-sgml.1.gz %doc COPYING README %changelog * Tue May 21 2013 Automatic Build System 1.2.28-1mamba - automatic version update by autodist * Sat Aug 11 2012 Automatic Build System 1.2.27-1mamba - automatic version update by autodist * Thu Apr 26 2012 Automatic Build System 1.2.26-1mamba - automatic version update by autodist * Mon Jun 27 2011 Automatic Build System 1.2.25-1mamba - automatic update by autodist * Fri Jun 25 2010 Automatic Build System 1.2.15-1mamba - automatic update by autodist * Mon Jan 25 2010 Automatic Build System 1.2.13-1mamba - automatic update by autodist * Thu Oct 15 2009 Automatic Build System 1.2.12-1mamba - automatic update by autodist * Sat Sep 05 2009 Automatic Build System 1.2.10-1mamba - automatic update by autodist * Thu Feb 05 2009 Silvan Calarco 1.2.9-1mamba - automatic update by autodist * Fri Oct 03 2008 gil 1.1.101-1mamba - package created by autospec