]> git.pld-linux.org Git - packages/perl-Readonly.git/blame - perl-Readonly.spec
- rel. 2
[packages/perl-Readonly.git] / perl-Readonly.spec
CommitLineData
6641ad41 1#
2# Conditional build:
55d66264 3%bcond_without tests # do not perform "make test"
6641ad41 4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Readonly
ad1d3b7c 7Summary: Readonly - facility for creating read-only scalars, arrays, hashes
8Summary(pl): Readonly - udogodnienie do tworzenia zmiennych tylko do odczytu
6641ad41 9Name: perl-Readonly
0eab1d70 10Version: 1.03
3cf6b0c1 11Release: 2
4b48f85b 12# same as perl
13License: GPL v1+ or Artistic
6641ad41 14Group: Development/Languages/Perl
631ec0e5 15Source0: http://www.cpan.org/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz
0eab1d70 16# Source0-md5: 0acef3a995ac9ecf575f66a726d638f4
8ece6d6a 17BuildRequires: rpm-perlprov >= 4.1-13
338406f3 18BuildRequires: perl-devel >= 1:5.8.0
55d66264 19%if %{with tests}
6641ad41 20BuildRequires: perl-Test-Simple
21BuildRequires: perl-Test-Harness
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
6641ad41 26%description
27This is a facility for creating non-modifiable variables. This is
28useful for configuration files, headers, etc. It can also be useful as
29a development and debugging tool, for catching updates to variables that
30should not be changed.
31
0253e1f2 32%description -l pl
33