]> git.pld-linux.org Git - packages/perl-B-Keywords.git/blame - perl-B-Keywords.spec
- updated to 1.09
[packages/perl-B-Keywords.git] / perl-B-Keywords.spec
CommitLineData
d7e804e8 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir B
7%define pnam Keywords
8Summary: B::Keywords - Lists of reserved barewords and symbol names
10ab1493 9Summary(pl.UTF-8): B::Keywords - lista zarezerwowanych słów kluczowych i nazw symboli
d7e804e8 10Name: perl-B-Keywords
556c163c 11Version: 1.09
d7e804e8 12Release: 1
13License: GPL v2 or Artistic
14Group: Development/Languages/Perl
10ab1493 15Source0: http://www.cpan.org/modules/by-authors/id/J/JJ/JJORE/%{pdir}-%{pnam}-%{version}.tar.gz
556c163c 16# Source0-md5: ac42096fcde918eda4a3c47c9b71e8d5
d7e804e8 17URL: http://search.cpan.org/dist/B-Keywords/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays,
10ab1493
JB
25@Hashes, @Filehandles, @Symbols, @Functions, and @Barewords. The
26@Symbols array includes the contents of each of @Scalars, @Arrays,
27@Hashes, and @Filehandles. Similarly, @Barewords adds a few
28non-function keywords and operators to the @Functions array.
29
30%description -l pl.UTF-8
31B::Keywords udostępnia siedem tablic słów kluczowych: @Scalars,
32@Arrays, @Hashes, @Filehandles, @Symbols, @Functions i @Barewords.
33Tablica @Symbols obejmuje zawartość każdej z tablic @Scalars,
34@Arrays, @Hashes i @Filehandles. Podobnie @Barewords dodaje do
35tablicy @Functions kilka słów kluczowych nie będących funkcjami oraz
36operatorów.
d7e804e8 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
60%{perl_vendorlib}/B/*.pm
61%{_mandir}/man3/*
This page took 0.107416 seconds and 4 git commands to generate.