commit 5a1eb94e4e2038e1c390f4b76c6bc6aef5abdb88 Author: David Dick <ddick@xxxxxxxx> Date: Mon Apr 21 12:01:09 2014 +1000 Initial import (#1082193). .gitignore | 1 + perl-Date-Easter.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..cee957f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Date-Easter-1.20.tar.gz diff --git a/perl-Date-Easter.spec b/perl-Date-Easter.spec new file mode 100644 index 0000000..b65fd03 --- /dev/null +++ b/perl-Date-Easter.spec @@ -0,0 +1,48 @@ +Name: perl-Date-Easter +Version: 1.20 +Release: 1%{?dist} +Summary: Calculates Easter for any given year +License: Artistic 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/Date-Easter/ +Source0: http://www.cpan.org/authors/id/R/RB/RBOW/Date-Easter-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Time::Local) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Calculates Easter for a given year. + +%prep +%setup -q -n Date-Easter-%{version} +%{__chmod} 644 README + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* +%{_bindir}/* + +%changelog +* Wed Apr 16 2014 David Dick <ddick@xxxxxxxx> - 1.20-1 +- Initial release diff --git a/sources b/sources index e69de29..aab63ba 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7f0071866e0a805ca9c8dec92d24f64c Date-Easter-1.20.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel