[perl-Test-Command/f14/master] import spec file and source
david hannequin
hvad at fedoraproject.org
Wed Mar 23 20:25:40 UTC 2011
commit 7f6a52c9651b0f02399a165a1dd7480a8b0b76e8
Author: hvad <hvad at fedoraproject.org>
Date: Fri Mar 18 22:50:10 2011 +0100
import spec file and source
Test-Command-0.08.tar.gz | Bin 0 -> 9967 bytes
perl-Test-Command.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/Test-Command-0.08.tar.gz b/Test-Command-0.08.tar.gz
new file mode 100644
index 0000000..4853065
Binary files /dev/null and b/Test-Command-0.08.tar.gz differ
diff --git a/perl-Test-Command.spec b/perl-Test-Command.spec
new file mode 100644
index 0000000..21e9a94
--- /dev/null
+++ b/perl-Test-Command.spec
@@ -0,0 +1,50 @@
+Name: perl-Test-Command
+Version: 0.08
+Release: 1%{?dist}
+Summary: Test routines for external commands
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Test-Command/
+Source0: http://www.cpan.org/authors/id/D/DA/DANBOO/Test-Command-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(Test::Simple) >= 0.62
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Test::Command intends to bridge the gap between the well tested functions
+and objects you choose and their usage in your programs. By examining the
+exit status, terminating signal, STDOUT and STDERR of your program you can
+determine if it is behaving as expected.
+
+%prep
+%setup -q -n Test-Command-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Mar 08 2011 David Hannequin david.hannequin at gmail.com 0.08-1
+- First release.
More information about the scm-commits
mailing list