From db6f470261e83713db0364f735791d6674cb5718 Mon Sep 17 00:00:00 2001 From: Tom Callaway <s...@fedoraproject.org> Date: Tue, 11 Oct 2016 09:51:06 -0400 Subject: import
--- .gitignore | 1 + perl-DateTime-Calendar-Julian.spec | 49 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+) create mode 100644 perl-DateTime-Calendar-Julian.spec diff --git a/.gitignore b/.gitignore index e69de29..8355315 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/DateTime-Calendar-Julian-0.04.tar.gz diff --git a/perl-DateTime-Calendar-Julian.spec b/perl-DateTime-Calendar-Julian.spec new file mode 100644 index 0000000..7729e9b --- /dev/null +++ b/perl-DateTime-Calendar-Julian.spec @@ -0,0 +1,49 @@ +Name: perl-DateTime-Calendar-Julian +Version: 0.04 +Release: 3%{?dist} +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Julian Calendar support for DateTime.pm +Url: http://search.cpan.org/dist/DateTime-Calendar-Julian +Source: http://search.cpan.org/CPAN/authors/id/P/PI/PIJLL/DateTime-Calendar-Julian-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(DateTime) >= 0.15 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) perl(Test::Harness) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +DateTime object in the Julian calendar. + +%prep +%setup -q -n DateTime-Calendar-Julian-%{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 + +%files +%license LICENSE +%doc README Changes +%{perl_vendorlib}/DateTime/ +%{_mandir}/man3/DateTime::Calendar::Julian.3pm* + +%changelog +* Mon Oct 10 2016 Tom Callaway <s...@fedoraproject.org> - 0.04-3 +- add BR: perl-generators (deps are overrated) + +* Mon Oct 10 2016 Tom Callaway <s...@fedoraproject.org> - 0.04-2 +- do not nuke buildroot at the beginning of install. This is not 2005. + +* Mon Oct 10 2016 Tom Callaway <s...@fedoraproject.org> - 0.04-1 +- initial package diff --git a/sources b/sources index e69de29..52c19d4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +de688324eb33a27449ac2a5bfe1453a0 DateTime-Calendar-Julian-0.04.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-DateTime-Calendar-Julian.git/commit/?h=f23&id=db6f470261e83713db0364f735791d6674cb5718 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org