Group :: Edição
RPM: linuxdoc-tools
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define subver 0.11
Name: linuxdoc-tools
Version: 0.9.21
Release: alt1
Summary: A text formatting package based on SGML.
Group: Publishing
License: GPL
URL: http://packages.qa.debian.org/l/linuxdoc-tools.html
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}-%subver.tar.gz
Conflicts: sgml-tools
# Automatically added by buildreq on Mon Jun 18 2007
BuildRequires: flex OpenSP sgml-tools
%description
Linuxdoc-tools is a text formatting suite based on SGML (Standard
Generalized Markup Language), using the LinuxDoc document type.
Linuxdoc-tools allows you to produce LaTeX, HTML, GNU info, LyX, RTF,
plain text (via groff), and other format outputs from a single SGML
source. Linuxdoc-tools is intended for writing technical software
documentation.
%prep
%setup
%build
%configure --with-installed-nsgmls --with-installed-iso-entities
pushd entity-map
autoconf
%configure
popd
%make_build
perl -pi -e 's,\$main::prefix/share/sgml/iso-entities-8879.1986/iso-entities.cat,/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
lib/LinuxDocTools.pm
%install
eval `perl '-V:installvendorlib'`
mkdir -p %buildroot/$installvendorlib
%makeinstall perl5libdir=%buildroot/$installvendorlib
mv %buildroot%_docdir/%name %buildroot%_docdir/%name-%version
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%_datadir/%name/LinuxDocTools.pm
# Some files need moving around.
#rm -f %buildroot%_datadir/%name/epsf.*
#rm -f %buildroot%_datadir/%name/url.sty
install -d %buildroot%_datadir/texmf/tex/latex/misc
mv %buildroot%_datadir/%name/*.sty \
%buildroot%_datadir/texmf/tex/latex/misc
mv %buildroot%_datadir/%name/LinuxDocTools %buildroot$installvendorlib
mv %buildroot%_datadir/%name/LinuxDocTools.pm %buildroot$installvendorlib
cat > doc/COPYRIGHT <<EOF
(C) International Organization for Standardization 1986
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.
EOF
%files
%doc %_docdir/%name-%version
%_bindir/*
%_datadir/%name
%_datadir/entity-map
%_datadir/texmf/tex/latex/misc/*.sty
%dir %_libexecdir/perl5/vendor_perl/Text
%dir %_libexecdir/perl5/vendor_perl/LinuxDocTools
%_libexecdir/perl5/vendor_perl/LinuxDocTools/*
%_libexecdir/perl5/vendor_perl/LinuxDocTools.pm
%_libexecdir/perl5/vendor_perl/Text/EntityMap.pm
%_mandir/*/*
%changelog
…
Todas as alterações você pod ver aqui
Name: linuxdoc-tools
Version: 0.9.21
Release: alt1
Summary: A text formatting package based on SGML.
Group: Publishing
License: GPL
URL: http://packages.qa.debian.org/l/linuxdoc-tools.html
Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}-%subver.tar.gz
Conflicts: sgml-tools
# Automatically added by buildreq on Mon Jun 18 2007
BuildRequires: flex OpenSP sgml-tools
%description
Linuxdoc-tools is a text formatting suite based on SGML (Standard
Generalized Markup Language), using the LinuxDoc document type.
Linuxdoc-tools allows you to produce LaTeX, HTML, GNU info, LyX, RTF,
plain text (via groff), and other format outputs from a single SGML
source. Linuxdoc-tools is intended for writing technical software
documentation.
%prep
%setup
%build
%configure --with-installed-nsgmls --with-installed-iso-entities
pushd entity-map
autoconf
%configure
popd
%make_build
perl -pi -e 's,\$main::prefix/share/sgml/iso-entities-8879.1986/iso-entities.cat,/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,' \
lib/LinuxDocTools.pm
%install
eval `perl '-V:installvendorlib'`
mkdir -p %buildroot/$installvendorlib
%makeinstall perl5libdir=%buildroot/$installvendorlib
mv %buildroot%_docdir/%name %buildroot%_docdir/%name-%version
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%_datadir/%name/LinuxDocTools.pm
# Some files need moving around.
#rm -f %buildroot%_datadir/%name/epsf.*
#rm -f %buildroot%_datadir/%name/url.sty
install -d %buildroot%_datadir/texmf/tex/latex/misc
mv %buildroot%_datadir/%name/*.sty \
%buildroot%_datadir/texmf/tex/latex/misc
mv %buildroot%_datadir/%name/LinuxDocTools %buildroot$installvendorlib
mv %buildroot%_datadir/%name/LinuxDocTools.pm %buildroot$installvendorlib
cat > doc/COPYRIGHT <<EOF
(C) International Organization for Standardization 1986
Permission to copy in any form is granted for use with
conforming SGML systems and applications as defined in
ISO 8879, provided this notice is included in all copies.
EOF
%files
%doc %_docdir/%name-%version
%_bindir/*
%_datadir/%name
%_datadir/entity-map
%_datadir/texmf/tex/latex/misc/*.sty
%dir %_libexecdir/perl5/vendor_perl/Text
%dir %_libexecdir/perl5/vendor_perl/LinuxDocTools
%_libexecdir/perl5/vendor_perl/LinuxDocTools/*
%_libexecdir/perl5/vendor_perl/LinuxDocTools.pm
%_libexecdir/perl5/vendor_perl/Text/EntityMap.pm
%_mandir/*/*
%changelog
…
Todas as alterações você pod ver aqui