perl-IPC-Cmd/perl-IPC-Cmd.spec

58 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: perl-IPC-Cmd
2006-09-17 01:08:52 +00:00
Version: 0.25
Release: 1%{?dist}
Summary: Finding and running system commands made easy
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IPC-Cmd/
Source0: http://www.cpan.org/authors/id/K/KA/KANE/IPC-Cmd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(Module::Load::Conditional)
BuildRequires: perl(Params::Check)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
IPC::Cmd allows you to run commands, interactively if desired, platform
independent but have them still work.
%prep
%setup -q -n IPC-Cmd-%{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 {} \;
2006-09-17 01:08:52 +00:00
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2006-09-17 01:08:52 +00:00
%doc CHANGES README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
2006-09-17 01:08:52 +00:00
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.25-1
- Update to 0.25.
- Fix find option order.
* Thu Mar 23 2006 Steven Pritchard <steve@kspei.com> 0.24-1
- Specfile autogenerated by cpanspec 1.62.
- Fix License.
- Drop explicit Requires.