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
%define dist Readonly Name: perl-%dist Version: 1.03 Release: alt1.1 Summary: Readonly - facility for creating read-only scalars, arrays, hashes License: Perl Group: Development/Perl URL: %CPAN %dist Source: http://www.cpan.org/modules/by-module/Readonly/%dist-%version.tar.gz BuildArch: noarch # Automatically added by buildreq on Wed Jul 11 2007 BuildRequires: perl-devel # There is no reason to not require it: #FIXME: Cyclic dependency perl-Readonly <-> perl-Readonly-XS #Requires: perl-Readonly-XS %description This is a facility for creating non-modifiable variables. This is useful for configuration files, headers, etc. It can also be useful as a development and debugging tool, for catching updates to variables that should not be changed. %prep %setup -n %dist-%version %build %perl_vendor_build %install %perl_vendor_install # Come home, baby! mv %buildroot%perl_vendor_privlib/benchmark.pl . %files %doc README benchmark.pl %perl_vendor_privlib/Readonly.pm %changelog * Sun Nov 07 2010 Vladimir Lettiev <crux@altlinux.ru> 1.03-alt1.1 - rebuilt with perl 5.12 * Wed Jul 11 2007 Victor Forsyuk <force@altlinux.org> 1.03-alt1 - Initial build.