[perl-DateTime-TimeZone-SystemV] initial import (rhbz#751522)

Iain Arnell iarnell at fedoraproject.org
Mon Nov 7 15:33:59 UTC 2011


commit da9be0a132ad123d964043f7264cd911f36ad754
Author: Iain Arnell <iarnell at gmail.com>
Date:   Mon Nov 7 16:33:46 2011 +0100

    initial import (rhbz#751522)

 .gitignore                          |    1 +
 perl-DateTime-TimeZone-SystemV.spec |   57 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..62ec687 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DateTime-TimeZone-SystemV-0.005.tar.gz
diff --git a/perl-DateTime-TimeZone-SystemV.spec b/perl-DateTime-TimeZone-SystemV.spec
new file mode 100644
index 0000000..5fd1f08
--- /dev/null
+++ b/perl-DateTime-TimeZone-SystemV.spec
@@ -0,0 +1,57 @@
+Name:           perl-DateTime-TimeZone-SystemV
+Version:        0.005
+Release:        1%{?dist}
+Summary:        System V and POSIX timezone strings
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/DateTime-TimeZone-SystemV/
+Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-SystemV-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Date::ISO8601)
+BuildRequires:  perl(Date::JD) >= 0.005
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Params::Classify)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+An instance of this class represents a timezone that was specified by means
+of a System V timezone recipe or the POSIX extended form of the same
+syntax. These can express a plain offset from Universal Time, or a system
+of two offsets (standard and daylight saving time) switching on a yearly
+cycle according to certain types of rule.
+
+This class implements the DateTime::TimeZone interface, so that its instances
+can be used with DateTime objects.
+
+%prep
+%setup -q -n DateTime-TimeZone-SystemV-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Oct 27 2011 Iain Arnell <iarnell at gmail.com> 0.005-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d2cdcf6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1739214f1c665110ba163fb7a873bcbf  DateTime-TimeZone-SystemV-0.005.tar.gz


More information about the scm-commits mailing list