Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37434168
en ru br
Репозитории ALT
S:2.001-alt4
5.1: 2.001-alt1
4.1: 2.001-alt1
4.0: 2.001-ipl4
3.0: 2.001-ipl4
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: sdf

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: sdf
Version: 2.001
Release: alt1
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/
Packager: Dmitry V. Levin <ldv at altlinux.org>
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

# Automatically added by buildreq on Wed Jan 10 2001

BuildRequires: perl-devel

%def_without test

%package doc
Summary: Documentation and examples for the Simple Document Format (SDF) Parser
Group: Development/Other
Requires: %name = %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 -q
%patch1 -p1
%patch2 -p1
%patch3 -p1

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
%perl_vendor_man1dir/*

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

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin