automatic version update by autodist [release 1.11-1mamba;Mon Jan 16 2012]
This commit is contained in:
parent
3e2d694a24
commit
782533d002
@ -1,2 +1,6 @@
|
|||||||
# perl-B-Keywords
|
# perl-B-Keywords
|
||||||
|
|
||||||
|
B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords.
|
||||||
|
The @Symbols array includes the contents of each of @Scalars, @Arrays, @Hashes, @Functions and @Filehandles. Similarly,
|
||||||
|
@Barewords adds a few non-function keywords and operators to the @Functions array.
|
||||||
|
|
||||||
|
57
perl-B-Keywords.spec
Normal file
57
perl-B-Keywords.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-B-Keywords
|
||||||
|
Version: 1.11
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: B::Keywords - Lists of reserved barewords and symbol names
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: gil <puntogil@libero.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Keywords-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(YAML)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords.
|
||||||
|
The @Symbols array includes the contents of each of @Scalars, @Arrays, @Hashes, @Functions and @Filehandles. Similarly,
|
||||||
|
@Barewords adds a few non-function keywords and operators to the @Functions array.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n B-Keywords-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/B/
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 16 2012 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.10-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user