Name: perl-DateTime-Fiction-JRRTolkien-Shire Version: 0.902 Release: 1%{?dist} Summary: DateTime implementation of the Shire calendar License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Fiction-JRRTolkien-Shire/ Source0: http://www.cpan.org/authors/id/W/WY/WYANT/DateTime-Fiction-JRRTolkien-Shire-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008004 BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(DateTime) >= 0.14 BuildRequires: perl(DateTime::Duration) >= 0.14 BuildRequires: perl(Date::Tolkien::Shire::Data) >= 0.001 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(overload) BuildRequires: perl(Params::ValidationCompiler) >= 0.19 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Specio) >= 0.18 BuildRequires: perl(Specio::Declare) >= 0.18 BuildRequires: perl(Specio::Exporter) >= 0.18 BuildRequires: perl(Specio::Library::Builtins) >= 0.18 BuildRequires: perl(Specio::Library::Numeric) >= 0.18 BuildRequires: perl(Specio::Library::String) >= 0.18 BuildRequires: perl(strict) BuildRequires: perl(warnings) Requires: perl(Carp) Requires: perl(constant) Requires: perl(DateTime) >= 0.14 Requires: perl(DateTime::Duration) >= 0.14 Requires: perl(Date::Tolkien::Shire::Data) >= 0.001 Requires: perl(overload) Requires: perl(Params::ValidationCompiler) >= 0.19 Requires: perl(Scalar::Util) Requires: perl(Specio) >= 0.18 Requires: perl(Specio::Declare) >= 0.18 Requires: perl(Specio::Exporter) >= 0.18 Requires: perl(Specio::Library::Builtins) >= 0.18 Requires: perl(Specio::Library::Numeric) >= 0.18 Requires: perl(Specio::Library::String) >= 0.18 Requires: perl(strict) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Implementation of the calendar used by the hobbits in J.R.R. Tolkien's exceptional novel The Lord of The Rings, as described in Appendix D of that book (except where noted). The calendar has 12 months, each with 30 days, and 5 holidays that are not part of any month. A sixth holiday, Overlithe, is added on leap years. The holiday Midyear's Day (and the Overlithe on a leap year) is not part of any week, which means that the year always starts on Sterday. %prep %setup -q -n DateTime-Fiction-JRRTolkien-Shire-%{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 {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jul 07 2018 Dave Cross 0.902-1 - Specfile autogenerated by cpanspec 1.78.