package created using the webbuild interface [release 1.13-1mamba;Tue Nov 04 2014]
This commit is contained in:
parent
782533d002
commit
cb9708d775
@ -1,6 +1,4 @@
|
|||||||
# perl-B-Keywords
|
# perl-B-Keywords
|
||||||
|
|
||||||
B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords.
|
Lists of reserved barewords and symbol names.
|
||||||
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.
|
|
||||||
|
|
||||||
|
@ -1,34 +1,31 @@
|
|||||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
Name: perl-B-Keywords
|
Name: perl-B-Keywords
|
||||||
Version: 1.11
|
Version: 1.13
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: B::Keywords - Lists of reserved barewords and symbol names
|
Summary: B::Keywords - Lists of reserved barewords and symbol names
|
||||||
Group: System/Libraries/Perl
|
Group: System/Libraries/Perl
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: gil <puntogil@libero.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.cpan.org
|
URL: http://www.cpan.org
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Keywords-%{version}.tar.gz
|
Source: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz
|
||||||
License: GPL, Artistic
|
License: GPL, Artistic
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(YAML)
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
Requires: perl >= %perl_major_ver
|
Requires: perl >= %perl_major_ver
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords.
|
Lists of reserved barewords and symbol names.
|
||||||
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
|
%prep
|
||||||
%setup -q -n B-Keywords-%{version}
|
%setup -q -n B-Keywords-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
|
||||||
%make
|
%make
|
||||||
%make test
|
%make test
|
||||||
|
|
||||||
@ -36,22 +33,25 @@ perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall_perl
|
%makeinstall_perl
|
||||||
|
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
chmod -R u+w %{buildroot}/*
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
||||||
|
sort -u > .packlist && rm -f $packlist
|
||||||
|
|
||||||
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{perl_vendorlib}/B/
|
%doc LICENSE
|
||||||
%{_mandir}/man3/*.3pm.gz
|
## note: eventually add the remaining documents (if any)
|
||||||
%doc Changes LICENSE README
|
# %doc README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 16 2012 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
* Tue Nov 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
||||||
- automatic version update by autodist
|
- package created using the webbuild interface
|
||||||
|
|
||||||
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.10-1mamba
|
|
||||||
- package created by autospec
|
|
||||||
|
Loading…
Reference in New Issue
Block a user