Name: perl-Text-FindIndent Version: 0.08 Release: 1%{?dist} Summary: Heuristically determine the indent style License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-FindIndent/ Source0: file:///home/dave/cpan/authors/id/S/SM/SMUELLER/Text-FindIndent-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.00503 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.80 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is a module that attempts to intuit the underlying indent "policy" for a text file (most likely a source code file). %prep %setup -q -n Text-FindIndent-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Feb 07 2010 Dave Cross 0.08-1 - Specfile autogenerated by cpanspec 1.78.