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