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