automatic update by autodist [release 0.927-1mamba;Sat Oct 19 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:38:32 +01:00
parent 1b40cabc32
commit 8b8ad4a3d9
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Sub-Install
This module makes it easy to install subroutines into packages without the unslightly mess of no strict or typeglobs lying about where just anyone can see them.

67
perl-Sub-Install.spec Normal file
View File

@ -0,0 +1,67 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Sub-Install
Version: 0.927
Release: 1mamba
Summary: Sub::Install - install subroutines into packages easily
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz
License: GPL, Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This module makes it easy to install subroutines into packages without the unslightly mess of no strict or typeglobs lying about where just anyone can see them.
%prep
%setup -q -n Sub-Install-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $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
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Sat Oct 19 2013 Automatic Build System <autodist@mambasoft.it> 0.927-1mamba
- automatic update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.926-2mamba
- perl 5.16 mass rebuild
* Thu Mar 01 2012 Automatic Build System <autodist@mambasoft.it> 0.926-1mamba
- automatic version update by autodist
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.925-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.924-2mamba
- automatic rebuild by autodist
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.924-1mamba
- package created by autospec