Package perl-Readonly: Specfile

%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.