[perl-Test-CheckManifest] Import.
by corsepiu
commit d4ef813f3c5077732c0f7518f603c044db8acaeb
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Tue Mar 1 04:03:46 2011 +0100
Import.
.gitignore | 1 +
perl-Test-CheckManifest.spec | 65 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..498015d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-CheckManifest-1.22.tar.gz
diff --git a/perl-Test-CheckManifest.spec b/perl-Test-CheckManifest.spec
new file mode 100644
index 0000000..b01e83b
--- /dev/null
+++ b/perl-Test-CheckManifest.spec
@@ -0,0 +1,65 @@
+Name: perl-Test-CheckManifest
+Version: 1.22
+Release: 1%{?dist}
+Summary: Check if your Manifest matches your distro
+# README says "perl", but the actual code says "Artistic 2.0".
+License: Artistic 2.0
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Test-CheckManifest/
+Source0: http://www.cpan.org/authors/id/R/RE/RENEEB/Test-CheckManifest-%{version}....
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::Builder)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This package checks whether the Manifest file matches the distro or not. To
+match a distro the Manifest has to name all files that come along with the
+distribution.
+
+%prep
+# Unpackage tarball in a subdirectory, otherwise the testsuite will fail.
+%setup -q -c -n %{name}-%{version}
+%setup -q -T -D -n %{name}-%{version} -a0
+
+%build
+cd Test-CheckManifest-%{version}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd Test-CheckManifest-%{version}
+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/*
+cd ..
+
+%check
+cd Test-CheckManifest-%{version}
+make test
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Test-CheckManifest-%{version}/Changes Test-CheckManifest-%{version}/README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mar 01 2011 Ralf Corsépius <corsepiu(a)fedoraproject.org> 1.22-2
+- Extend %%description upon reviewer's request.
+
+* Sat Feb 05 2011 Ralf Corsépius <corsepiu(a)fedoraproject.org> 1.22-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..e8e61c9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f9898f6aa5ef1cb7eddb3e9caba736b2 Test-CheckManifest-1.22.tar.gz
13 years, 1 month