Группа :: Разработка/Perl
Пакет: perl-Image-Math-Constrain
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
## SPEC file for Perl module Image::Math::Constrain
## Used during tests of Imager
%define version 1.01
%define release alt1
Name: perl-Image-Math-Constrain
Version: %version
Release: %release
Summary: scaling math used in image size constraining
#Summary(ru_RU.UTF-8):
License: GPL and Artistic
Group: Development/Perl
%define real_name Image-Math-Constrain
URL: http://search.cpan.org/~adamk/%real_name/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%real_name-%version.tar.gz
AutoReqProv: perl, yes
BuildPreReq: perl-devel
%description
Perl module Image::Math::Constrain implements the logic of
constrain image sizes. Any module or script that does image
size constraining or thumbnailing could use it for doing
common math operation.
#%%description -l ru_RU.UTF-8
%prep
%setup -q -n %real_name-%version
%__mv -f LICENSE LICENSE.orig
%__ln_s $(relative %_licensedir/GPL-2 %_docdir/%name/LICENSE) LICENSE
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%doc --no-dereference LICENSE
%perl_vendor_privlib/Image/Math/Constrain.pm
%exclude %perl_vendor_man3dir/*
%exclude /.perl.req
%changelog
…
Полный changelog можно просмотреть здесь
## Used during tests of Imager
%define version 1.01
%define release alt1
Name: perl-Image-Math-Constrain
Version: %version
Release: %release
Summary: scaling math used in image size constraining
#Summary(ru_RU.UTF-8):
License: GPL and Artistic
Group: Development/Perl
%define real_name Image-Math-Constrain
URL: http://search.cpan.org/~adamk/%real_name/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%real_name-%version.tar.gz
AutoReqProv: perl, yes
BuildPreReq: perl-devel
%description
Perl module Image::Math::Constrain implements the logic of
constrain image sizes. Any module or script that does image
size constraining or thumbnailing could use it for doing
common math operation.
#%%description -l ru_RU.UTF-8
%prep
%setup -q -n %real_name-%version
%__mv -f LICENSE LICENSE.orig
%__ln_s $(relative %_licensedir/GPL-2 %_docdir/%name/LICENSE) LICENSE
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%doc --no-dereference LICENSE
%perl_vendor_privlib/Image/Math/Constrain.pm
%exclude %perl_vendor_man3dir/*
%exclude /.perl.req
%changelog
…
Полный changelog можно просмотреть здесь