update to 0.9.82 [release 0.9.82-1mamba;Fri Dec 18 2020]
This commit is contained in:
parent
16f58f638e
commit
34da58935f
@ -1,7 +1,7 @@
|
||||
%{expand:%%define TeXdir %(kpsewhich -expand-var '$TEXMFMAIN')}
|
||||
|
||||
Name: linuxdoc-tools
|
||||
Version: 0.9.69
|
||||
Version: 0.9.82
|
||||
Release: 1mamba
|
||||
Summary: A toolset for processing LinuxDoc DTD SGML files
|
||||
Group: Applications/Publishing
|
||||
@ -16,19 +16,18 @@ Requires: groff, texinfo, openjade >= 1.3.2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libfl-devel
|
||||
BuildRequires: libperl
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: groff
|
||||
BuildRequires: openjade
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: tetex-latex
|
||||
BuildRequires: texinfo
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: flex
|
||||
BuildRequires: OpenSP
|
||||
|
||||
# FIXME : linuxdoc-tools-0.9.21/doc/Makedoc.sh
|
||||
# Processing file ./guide
|
||||
# sh: line 1: -D: command not found
|
||||
# (see doc/Makedoc.sh, row 74)
|
||||
Requires: sgml-common
|
||||
|
||||
%description
|
||||
Linuxdoc-tools is a toolset for processing LinuxDoc DTD SGML files.
|
||||
@ -37,41 +36,49 @@ This package allows you to produce HTML, GNU info, LyX, RTF, plain text (via gro
|
||||
%package latex
|
||||
Summary: A toolset for processing LinuxDoc DTD SGML files and produce LaTeX documents
|
||||
Group: Applications/Publishing
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: tetex-latex
|
||||
|
||||
%description latex
|
||||
Linuxdoc-tools is a toolset for processing LinuxDoc DTD SGML files.
|
||||
This package allows you to produce LaTeX documents from a single SGML source.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch1 -p1
|
||||
sed -i '/extern int yyleng;/d' rtf-fix/rtf2rtf.l
|
||||
|
||||
%build
|
||||
#need to get config.{sub,guess} in, something is broken in the build
|
||||
autoreconf -i
|
||||
%configure \
|
||||
--with-installed-nsgmls \
|
||||
--with-installed-iso-entities \
|
||||
--with-perllibdir=%{perl_sitelib} \
|
||||
--with-texdir=%{TeXdir}/tex/latex/misc
|
||||
--with-texdir=%{TeXdir}/tex/latex/misc \
|
||||
--disable-docs
|
||||
|
||||
# Packaging brain-damage
|
||||
pushd entity-map
|
||||
autoconf
|
||||
%configure --enable-docs pdf
|
||||
popd
|
||||
|
||||
%make OPTIMIZE="%{optflags}"
|
||||
|
||||
# use sgml entities from sgml-common
|
||||
perl -pi -e 's,\$main::prefix/share/sgml/iso-entities-8879.1986/iso-entities.cat,/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
|
||||
perl5lib/LinuxDocTools.pm
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
#install -d %{buildroot}%{TeXdir}/tex/latex/misc
|
||||
#mv %{buildroot}/usr/share/linuxdoc-tools/*.sty \
|
||||
# %{buildroot}%{TeXdir}/tex/latex/misc
|
||||
|
||||
mv %{buildroot}%{_datadir}/doc/%{name} \
|
||||
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||
|
||||
#cp ChangeLog COPYING README \
|
||||
cp COPYING \
|
||||
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||
|
||||
find %{buildroot}%{_defaultdocdir}/%{name}-%{version} -name Makefile | \
|
||||
xargs rm -f
|
||||
# use sgml entities from sgml-common
|
||||
perl -pi -e 's,/usr/share/sgml/iso-entities-8879.1986/iso-entities.cat,\$main::prefix/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
|
||||
%{buildroot}%{perl_sitelib}/LinuxDocTools.pm%
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
@ -89,8 +96,7 @@ exit 0
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_datadir}/sgml/*
|
||||
%{_mandir}/man1/*
|
||||
#%{_datadir}/sgml/*
|
||||
%dir %{_datadir}/linuxdoc-tools
|
||||
%{_datadir}/linuxdoc-tools/*
|
||||
%{_datadir}/entity-map/*
|
||||
@ -98,14 +104,21 @@ exit 0
|
||||
%{perl_sitelib}/LinuxDocTools.pm
|
||||
%dir %{perl_sitelib}/LinuxDocTools
|
||||
%{perl_sitelib}/LinuxDocTools/*.pm
|
||||
%dir %{_defaultdocdir}/%{name}-%{version}
|
||||
%{_defaultdocdir}/%{name}-%{version}/*
|
||||
%dir %{perl_sitelib}/LinuxDocTools/Data
|
||||
%{perl_sitelib}/LinuxDocTools/Data/*.pm
|
||||
#%dir %{_defaultdocdir}/%{name}-%{version}
|
||||
#%{_defaultdocdir}/%{name}-%{version}/*
|
||||
%{_mandir}/man1/*
|
||||
%doc COPYING
|
||||
|
||||
%files latex
|
||||
%defattr(-,root,root)
|
||||
%{TeXdir}/tex/latex/misc/*.sty
|
||||
|
||||
%changelog
|
||||
* Fri Dec 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.82-1mamba
|
||||
- update to 0.9.82
|
||||
|
||||
* Tue Aug 20 2013 Automatic Build System <autodist@mambasoft.it> 0.9.68-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user