77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
Name: perl-Test-Pod
|
|
Version: 1.48
|
|
Release: 1mamba
|
|
Summary: Test::Pod - Check for POD errors in files
|
|
Group: System/Libraries/Perl
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
|
URL: http://www.cpan.org
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-%{version}.tar.gz
|
|
License: Artistic, GPL
|
|
Requires: perl >= %perl_major_ver
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: perl-devel
|
|
BuildRequires: perl-Pod-Simple
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Test::Pod lets you check the validity of a POD file, and report its results in standard Test::Simple fashion.
|
|
|
|
%prep
|
|
%setup -q -n Test-Pod-%{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 -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
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files -f .packlist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Thu May 16 2013 Automatic Build System <autodist@mambasoft.it> 1.48-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 1.46-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.45-2mamba
|
|
- perl 5.16 mass rebuild
|
|
|
|
* Sun Mar 13 2011 Automatic Build System <autodist@mambasoft.it> 1.45-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Oct 24 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.44-1mamba
|
|
- update to 1.44
|
|
|
|
* Thu Oct 01 2009 Automatic Build System <autodist@mambasoft.it> 1.40-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Jun 23 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.26-1mamba
|
|
- update to 1.26
|
|
|
|
* Mon Jan 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.20-1qilnx
|
|
- package created by autospec
|