]>
Commit | Line | Data |
---|---|---|
6641ad41 | 1 | # |
2 | # Conditional build: | |
3 | # _without_tests - do not perform "make test" | |
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 |
0316e5f9 | 11 | Release: 1 |
6641ad41 | 12 | License: GPL/Artistic |
13 | Group: Development/Languages/Perl | |
631ec0e5 | 14 | Source0: http://www.cpan.org/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz |
0eab1d70 | 15 | # Source0-md5: 0acef3a995ac9ecf575f66a726d638f4 |
8ece6d6a | 16 | BuildRequires: rpm-perlprov >= 4.1-13 |
e89d9545 | 17 | BuildRequires: perl-devel >= 5.6.1 |
6641ad41 | 18 | %if %{?_without_tests:0}%{!?_without_tests:1} |
19 | BuildRequires: perl-Test-Simple | |
20 | BuildRequires: perl-Test-Harness | |
21 | %endif | |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | ||
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 |