Bill Pemberton b38f13f
Name:		perl-Rose-DateTime
Bill Pemberton 072e9a7
Version:	0.538
Bill Pemberton 072e9a7
Release:	1%{?dist}
Bill Pemberton b38f13f
Summary:	DateTime helper functions and objects
Bill Pemberton b38f13f
License:	GPL+ or Artistic
Bill Pemberton b38f13f
Group:		Development/Libraries
Bill Pemberton b38f13f
URL:		http://search.cpan.org/dist/Rose-DateTime/
Bill Pemberton b38f13f
Source0:	http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-DateTime-%{version}.tar.gz
Bill Pemberton b38f13f
BuildArch:	noarch
Bill Pemberton b38f13f
BuildRequires:	perl(DateTime)
Bill Pemberton b38f13f
BuildRequires:	perl(ExtUtils::MakeMaker)
Bill Pemberton b38f13f
BuildRequires:	perl(Rose::Object)
Bill Pemberton b38f13f
BuildRequires:	perl(Test::More)
Bill Pemberton b38f13f
BuildRequires:	perl(Test::Pod) >= 1.00
Bill Pemberton b38f13f
BuildRequires:	perl(Exporter)
Bill Pemberton b38f13f
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%filter_from_requires /perl(Rose::DateTime::Util)/d
Bill Pemberton b38f13f
%filter_setup
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%description
Bill Pemberton b38f13f
The Rose::DateTime::* modules provide a few convenience functions and
Bill Pemberton b38f13f
objects for use with DateTime dates.
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%prep
Bill Pemberton b38f13f
%setup -q -n Rose-DateTime-%{version}
Bill Pemberton b38f13f
find . -type f -executable -exec chmod -x {} \;
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%build
Bill Pemberton b38f13f
%{__perl} Makefile.PL INSTALLDIRS=vendor
Bill Pemberton b38f13f
make %{?_smp_mflags}
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%install
Bill Pemberton b38f13f
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Bill Pemberton b38f13f
Bill Pemberton b38f13f
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
Bill Pemberton b38f13f
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%{_fixperms} $RPM_BUILD_ROOT/*
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%check
Bill Pemberton b38f13f
make test
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%files
Bill Pemberton b38f13f
%doc Changes
Bill Pemberton b38f13f
%{perl_vendorlib}/Rose/DateTime.pm
Bill Pemberton b38f13f
%{perl_vendorlib}/Rose/DateTime/
Bill Pemberton b38f13f
%{_mandir}/man3/Rose::DateTime*.3pm*
Bill Pemberton b38f13f
Bill Pemberton b38f13f
%changelog
Bill Pemberton 072e9a7
* Thu Mar 21 2013 Bill Pemberton <wfp5p@virginia.edu> - 0.538-1
Bill Pemberton 072e9a7
- update to version 0.538
Bill Pemberton 072e9a7
- makes sure that "today" is parsed with time set to 00:00:00
Bill Pemberton 072e9a7
Bill Pemberton b38f13f
* Tue Jul 24 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.537-4
Bill Pemberton b38f13f
- update Requires and BuildRequires
Bill Pemberton b38f13f
Bill Pemberton b38f13f
* Mon Jul 16 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.537-3
Bill Pemberton b38f13f
- remove buildroot and clean
Bill Pemberton b38f13f
- remove defattr from files section
Bill Pemberton b38f13f
Bill Pemberton b38f13f
Bill Pemberton b38f13f
* Tue Jun 26 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.537-2
Bill Pemberton b38f13f
- Remove execute bit from pm files
Bill Pemberton b38f13f
Bill Pemberton b38f13f
* Tue Jun 26 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.537-1
Bill Pemberton b38f13f
- Initial version