diff --git a/.gitignore b/.gitignore index e69de29..24d0c44 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Roman-3.5.tar.gz diff --git a/perl-Text-Roman.spec b/perl-Text-Roman.spec new file mode 100644 index 0000000..50f44ec --- /dev/null +++ b/perl-Text-Roman.spec @@ -0,0 +1,60 @@ +Name: perl-Text-Roman +Version: 3.5 +Release: 3%{?dist} +Summary: Conversion between Roman algorisms and Arabic numerals +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-Roman/ +Source0: http://www.cpan.org/authors/id/S/SY/SYP/Text-Roman-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Simple) +BuildRequires: perl(warnings) +Requires: perl(Carp) +Requires: perl(Exporter) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This package supports both conventional Roman algorisms (which range from 1 +to 3999) and Milhar Romans, a variation which uses a bar across the +algorism to indicate multiplication by 1000. + +%prep +%setup -q -n Text-Roman-%{version} +chmod a-x eg/* + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes README eg +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Dec 11 2015 Colin B. Macdonald 3.5-3 +- Update ExtUtils::MakeMaker BR for NO_PACKLIST. + +* Thu Dec 10 2015 Colin B. Macdonald 3.5-2 +- Revisions following review. + +* Mon Dec 07 2015 Colin B. Macdonald 3.5-1 +- Modified from a specfile autogenerated by cpanpec 1.78. diff --git a/sources b/sources index e69de29..a9bb723 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1f6b09c0cc1f4425b565ff787a39fd83 Text-Roman-3.5.tar.gz