1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
## SPEC file for Perl module Image::Math::Constrain ## Used during tests of Imager %define version 1.02 %define release alt1 Name: perl-Image-Math-Constrain Version: %version Release: alt1.1 Summary: scaling math used in image size constraining #Summary(ru_RU.UTF-8): License: %perl_license Group: Development/Perl %define real_name Image-Math-Constrain URL: http://search.cpan.org/~adamk/%real_name/ Packager: Nikolay A. Fetisov <naf@altlinux.ru> BuildArch: noarch Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%real_name-%version.tar.gz AutoReqProv: perl, yes BuildRequires(pre): perl-devel rpm-build-licenses %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.req %changelog * Mon Nov 22 2010 Igor Vlasenko <viy@altlinux.ru> 1.02-alt1.1 - repair after perl 5.12 upgrade using girar-nmu * Sun Dec 14 2008 Nikolay A. Fetisov <naf@altlinux.ru> 1.02-alt1 - New version * Tue Apr 25 2006 Nikolay A. Fetisov <naf@altlinux.ru> 1.01-alt1 - Initial build for ALT Linux