Пакет perl-App-Asciio: Specfile

%define m_distro App-Asciio
Name: perl-App-Asciio
Version: 1.51.3
Release: alt1
Summary: Plain ASCII diagram

Packager: Vladimir Lettiev <crux@altlinux.ru>

Group: Graphics
License: Perl
Url: http://search.cpan.org/~nkh/App-Asciio/

BuildArch: noarch
Source: %m_distro-%version.tar
Patch0: %m_distro-%version-%release.patch
BuildRequires: perl-Term-Size perl-Data-TreeDumper perl-Data-TreeDumper-Renderer-GTK perl-Directory-Scratch perl-Directory-Scratch-Structured perl-Eval-Context perl-Module-Util perl-Test-Block perl-Test-Strict perl-Module-Build perl-Algorithm-Diff perl-Clone perl-Compress-Bzip2 perl-Data-Compare perl-File-Slurp perl-Glib perl-Gtk2 perl-List-MoreUtils perl-Readonly-XS perl-Sub-Exporter perl-Test-Exception perl-Test-NoWarnings perl-Test-Warn xvfb-run perl-unicore

Requires: perl-Term-Size

%description
This gtk2-perl application allows you to draw ASCII diagrams in a modern
(but simple) graphical application. The ASCII graphs can be saved as
ASCII or in a format that allows you to modify them later.

%prep
%setup -q -n %m_distro-%version
%patch0 -p1

%build
%def_without test
%perl_vendor_build
xvfb-run -a perl Build test

%install
%perl_vendor_install
rm %buildroot%_bindir/A

# need DISPLAY for perl.req
%{expand:%%global __find_requires xvfb-run -a %__find_requires}

%files
%_bindir/asciio
%_bindir/asciio_to_text
%perl_vendor_privlib/App/Asciio*
%doc README 

%changelog
* Fri Nov 13 2015 Vladimir Lettiev <crux@altlinux.ru> 1.51.3-alt1
- 1.51.3

* Wed Nov 17 2010 Vladimir Lettiev <crux@altlinux.ru> 1.02.71-alt2
- fixed test (ignoring warning message)
- fixed check with perl.req

* Tue Aug 24 2010 Vladimir Lettiev <crux@altlinux.ru> 1.02.71-alt1
- initial build