perl-Test-Deep/perl-Test-Deep.spec

104 lines
3.3 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Test-Deep
Version: 1.202
Release: 1mamba
Summary: Test::Deep - This module gives you lots of flexibility when testing deep structures
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: https://www.cpan.org/
Source: http://www.cpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-Test-Tester
BuildRequires: perl-Test-NoWarnings
%description
This module gives you lots of flexibility when testing deep structures.
%prep
%setup -q -n Test-Deep-%{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
* Thu Jan 05 2023 Automatic Build System <autodist@mambasoft.it> 1.202-1mamba
- automatic version update by autodist
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 1.130-1mamba
- automatic update by autodist
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 1.127-1mamba
- automatic update by autodist
* Fri Feb 05 2016 Automatic Build System <autodist@mambasoft.it> 1.120-1mamba
- automatic update by autodist
* Fri Jun 26 2015 Automatic Build System <autodist@mambasoft.it> 0.117-1mamba
- automatic update by autodist
* Wed Jan 14 2015 Automatic Build System <autodist@mambasoft.it> 0.115-1mamba
- automatic update by autodist
* Fri Jan 09 2015 Automatic Build System <autodist@mambasoft.it> 0.114-1mamba
- automatic update by autodist
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 0.113-1mamba
- automatic update by autodist
* Mon Dec 02 2013 Automatic Build System <autodist@mambasoft.it> 0.112-1mamba
- automatic update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.110-2mamba
- perl 5.16 mass rebuild
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 0.110-1mamba
- automatic version update by autodist
* Tue Apr 17 2012 Automatic Build System <autodist@mambasoft.it> 0.109-1mamba
- automatic version update by autodist
* Fri Mar 18 2011 Automatic Build System <autodist@mambasoft.it> 0.108-1mamba
- automatic update by autodist
* Fri Aug 28 2009 Automatic Build System <autodist@mambasoft.it> 0.106-1mamba
- automatic update by autodist
* Sat Mar 21 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.104-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.103-2mamba
- automatic rebuild by autodist
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.103-1mamba
- update to 0.103
* Mon Nov 12 2007 Aleph0 <aleph0@openmamba.org> 0.099-1mamba
- package created by autospec