diff --git a/README.md b/README.md index 3aa2f63..b942213 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Test-Deep +This module gives you lots of flexibility when testing deep structures. + diff --git a/perl-Test-Deep.spec b/perl-Test-Deep.spec new file mode 100644 index 0000000..6b427fa --- /dev/null +++ b/perl-Test-Deep.spec @@ -0,0 +1,80 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Test-Deep +Version: 0.112 +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 +URL: http://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 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +* Mon Dec 02 2013 Automatic Build System 0.112-1mamba +- automatic update by autodist + +* Mon Nov 12 2012 Silvan Calarco 0.110-2mamba +- perl 5.16 mass rebuild + +* Fri Aug 10 2012 Automatic Build System 0.110-1mamba +- automatic version update by autodist + +* Tue Apr 17 2012 Automatic Build System 0.109-1mamba +- automatic version update by autodist + +* Fri Mar 18 2011 Automatic Build System 0.108-1mamba +- automatic update by autodist + +* Fri Aug 28 2009 Automatic Build System 0.106-1mamba +- automatic update by autodist + +* Sat Mar 21 2009 Silvan Calarco 0.104-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.103-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.103-1mamba +- update to 0.103 + +* Mon Nov 12 2007 Aleph0 0.099-1mamba +- package created by autospec