]>
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 | |
0253e1f2 | 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 |
10 | Version: 0.07 | |
0253e1f2 | 11 | Release: 2 |
6641ad41 | 12 | License: GPL/Artistic |
13 | Group: Development/Languages/Perl | |
14 | Source0: ftp://ftp.cpan.org/pub/CPAN/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz | |
15 | BuildRequires: rpm-perlprov >= 3.0.3-16 | |
16 | BuildRequires: perl >= 5.6.1 | |
17 | %if %{?_without_tests:0}%{!?_without_tests:1} | |
18 | BuildRequires: perl-Test-Simple | |
19 | BuildRequires: perl-Test-Harness | |
20 | %endif | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | ||
25 | %description | |
26 | This is a facility for creating non-modifiable variables. This is | |
27 | useful for configuration files, headers, etc. It can also be useful as | |
28 | a development and debugging tool, for catching updates to variables that | |
29 | should not be changed. | |
30 | ||
0253e1f2 | 31 | %description -l pl |
32 |