Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37047123
en ru br
ALT Linux repos
S:2.001-alt4
5.0: 2.001-alt1
4.1: 2.001-alt1
4.0: 2.001-ipl4
3.0: 2.001-ipl4

Group :: Development/Other
RPM: sdf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: sdf
Version: 2.001
Release: alt3.1
Epoch: 1

Summary: Simple Document Format (SDF) Parser
Group: Development/Other
License: BSD-style
# http://www.mincom.com/mtr/sdf/
Url: http://search.cpan.org/src/IANC/
BuildArch: noarch

Source: sdf-%version.tar
Patch1: sdf-2.001-deb-perl_loc_and_ini_fixes.patch
Patch2: sdf-2.001-deb-pod_man_conventions.patch
Patch3: sdf-2.001-deb-tablepackstr_spin.patch
Patch4: sdf-2.001-fix_brackets_for_perl5.26.patch

# Automatically added by buildreq on Wed Jan 10 2001

BuildRequires: perl-devel perl-Pod-Parser

%def_without test

%package doc
Summary: Documentation and examples for the Simple Document Format (SDF) Parser
Group: Development/Other
Requires: %name = %epoch:%version-%release

%description
SDF (Simple Document Format) is a freely available document development
system which generates high quality outputs in a variety of formats
from a single source. The output formats supported include
PostScript(tm), PDF, HTML, plain text, POD, man pages, LaTeX,
MIF, SGML, Windows(tm) help, RTF, MIMS F6 help and MIMS HTX help.
If the idea of specifying documents in a logical manner via a
simple markup language sounds appealing, SDF may be useful to you.

%description doc
SDF (Simple Document Format) is a freely available document development
system which generates high quality outputs in a variety of formats
from a single source. The output formats supported include
PostScript(tm), PDF, HTML, plain text, POD, man pages, LaTeX,
MIF, SGML, Windows(tm) help, RTF, MIMS F6 help and MIMS HTX help.
If the idea of specifying documents in a logical manner via a
simple markup language sounds appealing, SDF may be useful to you.

This package contains Documentation and examples for the
Simple Document Format (SDF) Parser.

%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p2

find -type f -print0 |
xargs -r0 grep -FZl /bin/perl5 -- |
xargs -r0 sed -i 's,/bin/perl5,/bin/perl,g' --
find -type f -print0 |
xargs -r0 grep -FZl /usr/local -- |
xargs -r0 sed -i 's,/usr/local,/usr,g' --

%build
%perl_vendor_build

%install
%perl_vendor_install

mkdir -p %buildroot%_sysconfdir
mv %buildroot%perl_vendor_privlib/%name/home/%name.ini \
%buildroot%_sysconfdir/
ln -s %_sysconfdir/%name.ini \
%buildroot%perl_vendor_privlib/%name/home/

%define _customdocdir %_docdir/%name-%version

%files
%config(noreplace) %_sysconfdir/%name.ini
%_bindir/*
%perl_vendor_privlib/Pod
%perl_vendor_privlib/%name

%files doc
%doc LICENSE README doc/* examples/2001/stylesheets

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin