diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-27 19:01:41 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-27 19:01:41 -0800 |
commit | e00b2b988e755eba1590211e75468a7ecfc26ec6 (patch) | |
tree | abcb51f76c742602fa221dd136103d97fe917984 | |
parent | 8511956c25f92ccd6094dca45824697ad21cfdd4 (diff) | |
download | perl-TimeDate-e00b2b988e755eba1590211e75468a7ecfc26ec6.tar.gz perl-TimeDate-e00b2b988e755eba1590211e75468a7ecfc26ec6.tar.bz2 perl-TimeDate-e00b2b988e755eba1590211e75468a7ecfc26ec6.zip |
add packagingsubmit/tizen/20130517.023742submit/tizen/20130509.183208submit/tizen/20130503.231522accepted/tizen/20130520.100413accepted/tizen/20130503.225720
-rw-r--r-- | packaging/perl-TimeDate.spec | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packaging/perl-TimeDate.spec b/packaging/perl-TimeDate.spec new file mode 100644 index 0000000..0d2636b --- /dev/null +++ b/packaging/perl-TimeDate.spec @@ -0,0 +1,48 @@ +# + +Name: perl-TimeDate +Version: 1.20 +Release: 1 +Summary: A Perl module for time and date manipulation + +License: GPL+ or Artistic +Url: http://search.cpan.org/dist/TimeDate/ +Group: Development/Libraries +Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl +BuildArch: noarch + +%description +This module includes a number of smaller modules suited for +manipulation of time and date strings with Perl. In particular, the +Date::Format and Date::Parse modules can display and read times and +dates in various formats, providing a more reliable interface to +textual representations of points in time. + +%prep +%setup -q -n TimeDate-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%check +make test + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot}/* + + +%files +%defattr(-,root,root,-) +%{perl_vendorlib}/Date/* +%{perl_vendorlib}/Time/* +%doc %{_mandir}/man3/*.3* + + |