[perl-CPAN-Changes] Initial import of perl-CPAN-Changes-0.16-1
Paul Howarth
pghmcfc at fedoraproject.org
Fri Apr 22 21:15:30 UTC 2011
commit a147f6e8894d715e161916ed49ac5fde59a4e323
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Apr 22 22:12:07 2011 +0100
Initial import of perl-CPAN-Changes-0.16-1
It is standard practice to include a Changes file in your distribution. The
purpose of the Changes file is to help a user figure out what has changed
since the last release.
People have devised many ways to write the Changes file. A preliminary
specification has been created (CPAN::Changes::Spec) to encourage module
authors to write clear and concise Changes.
This module will help users programmatically read and write Changes files
that conform to the specification.
.gitignore | 1 +
perl-CPAN-Changes.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ef72d38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CPAN-Changes-0.16.tar.gz
diff --git a/perl-CPAN-Changes.spec b/perl-CPAN-Changes.spec
new file mode 100644
index 0000000..f26f6f6
--- /dev/null
+++ b/perl-CPAN-Changes.spec
@@ -0,0 +1,60 @@
+Name: perl-CPAN-Changes
+Summary: Read and write Changes files
+Version: 0.16
+Release: 1%{?dist}
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/CPAN-Changes/
+Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildArch: noarch
+BuildRequires: perl >= 4:5.10.0
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod) >= 1.00
+BuildRequires: perl(Test::Pod::Coverage) >= 1.00
+BuildRequires: perl(Text::Wrap)
+BuildRequires: perl(version) >= 0.79
+
+%description
+It is standard practice to include a Changes file in your distribution. The
+purpose of the Changes file is to help a user figure out what has changed
+since the last release.
+
+People have devised many ways to write the Changes file. A preliminary
+specification has been created (CPAN::Changes::Spec) to encourage module
+authors to write clear and concise Changes.
+
+This module will help users programmatically read and write Changes files
+that conform to the specification.
+
+%prep
+%setup -q -n CPAN-Changes-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
+%{_fixperms} %{buildroot}
+
+%check
+make test
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/CPAN/
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/CPAN::Changes.3pm*
+%{_mandir}/man3/CPAN::Changes::Release.3pm*
+%{_mandir}/man3/Test::CPAN::Changes.3pm*
+%{_mandir}/man3/CPAN::Changes::Spec.3pm*
+
+%changelog
+* Wed Apr 20 2011 Paul Howarth <paul at city-fan.org> - 0.16-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..07dd5ed 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6091015ffa600696b7c8b7c535dc9bca CPAN-Changes-0.16.tar.gz
More information about the perl-devel
mailing list