Группа :: Разработка/Perl
Пакет: perl-Data-HexDump
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
## SPEC file for Perl module Data::HexDump
%define real_name Data-HexDump
Name: perl-Data-HexDump
Version: 0.02
Release: alt1
Summary: Hexadecial Dumper
License: %perl_license
Group: Development/Perl
URL: http://search.cpan.org/~ftassin/Data-HexDump/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
Source: http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/%real_name-%version.tar.gz
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
BuildRequires: perl-devel
%description
Perl module Data::HexDump dumps in hexadecimal the content of a scalar.
The result is returned in a string. Each line of the result consists of
the offset in the source in the leftmost column of each line, followed
by one or more columns of data from the source in hexadecimal. The
rightmost column of each line shows the printable characters (all
others are shown as single dots)
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
mv -f -- %buildroot%_bindir/hexdump %buildroot%_bindir/hexdump.pl
%files
%doc README
%exclude %perl_vendor_man3dir/*
%perl_vendor_privlib/Data/HexDump*
%_bindir/hexdump.pl
%changelog
…
Полный changelog можно просмотреть здесь
%define real_name Data-HexDump
Name: perl-Data-HexDump
Version: 0.02
Release: alt1
Summary: Hexadecial Dumper
License: %perl_license
Group: Development/Perl
URL: http://search.cpan.org/~ftassin/Data-HexDump/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
Source: http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/%real_name-%version.tar.gz
BuildArch: noarch
AutoReqProv: perl, yes
BuildPreReq: perl-devel rpm-build-licenses
BuildRequires: perl-devel
%description
Perl module Data::HexDump dumps in hexadecimal the content of a scalar.
The result is returned in a string. Each line of the result consists of
the offset in the source in the leftmost column of each line, followed
by one or more columns of data from the source in hexadecimal. The
rightmost column of each line shows the printable characters (all
others are shown as single dots)
%prep
%setup -q -n %real_name-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
mv -f -- %buildroot%_bindir/hexdump %buildroot%_bindir/hexdump.pl
%files
%doc README
%exclude %perl_vendor_man3dir/*
%perl_vendor_privlib/Data/HexDump*
%_bindir/hexdump.pl
%changelog
…
Полный changelog можно просмотреть здесь