Blame SPECS/perl-File-CheckTree.spec

b751be
Name:           perl-File-CheckTree
b751be
Version:        4.42
b751be
Release:        3%{?dist}
b751be
Summary:        Run many file-test checks on a tree
b751be
License:        GPL+ or Artistic
b751be
Group:          Development/Libraries
b751be
URL:            http://search.cpan.org/dist/File-CheckTree/
b751be
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/File-CheckTree-%{version}.tar.gz
b751be
BuildArch:      noarch
b751be
BuildRequires:  perl
b751be
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
b751be
BuildRequires:  perl(strict)
b751be
BuildRequires:  perl(warnings)
b751be
# Run-time:
b751be
BuildRequires:  perl(Cwd)
b751be
%if 0%(perl -e 'print $] > 5.017')
b751be
BuildRequires:  perl(deprecate)
b751be
%endif
b751be
BuildRequires:  perl(Exporter)
b751be
BuildRequires:  perl(File::Spec)
b751be
BuildRequires:  perl(if)
b751be
# Tests:
b751be
BuildRequires:  perl(overload)
b751be
BuildRequires:  perl(Test::More)
b751be
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b751be
%if 0%(perl -e 'print $] > 5.017')
b751be
Requires:       perl(deprecate)
b751be
%endif
b751be
b751be
%description
b751be
File::CheckTree::validate() routine takes a single multi-line string
b751be
consisting of directives, each containing a file name plus a file test to try
b751be
on it. (The file test may also be a "cd", causing subsequent relative file
b751be
names to be interpreted relative to that directory.) After the file test you
b751be
may put || die to make it a fatal error if the file test fails. The default is
b751be
|| warn.  The file test may optionally have a "!' prepended to test for the
b751be
opposite condition. If you do a cd and then list some relative file names, you
b751be
may want to indent them slightly for readability. If you supply your own die()
b751be
or warn() message, you can use $file to interpolate the file name.
b751be
b751be
%prep
b751be
%setup -q -n File-CheckTree-%{version}
b751be
b751be
%build
b751be
perl Makefile.PL INSTALLDIRS=vendor
b751be
make %{?_smp_mflags}
b751be
b751be
%install
b751be
make pure_install DESTDIR=$RPM_BUILD_ROOT
b751be
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
b751be
%{_fixperms} $RPM_BUILD_ROOT/*
b751be
b751be
%check
b751be
make test
b751be
b751be
%files
b751be
%doc Changes LICENSE README
b751be
%{perl_vendorlib}/*
b751be
%{_mandir}/man3/*
b751be
b751be
%changelog
b751be
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.42-3
b751be
- Mass rebuild 2013-12-27
b751be
b751be
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 4.42-2
b751be
- Correct typo in dependencies
b751be
b751be
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> 4.42-1
b751be
- Specfile autogenerated by cpanspec 1.78.