[perl-Rose-DateTime] Initial import (#839744).

Bill Pemberton wfp at fedoraproject.org
Tue Jul 24 14:51:46 UTC 2012


commit b38f13f6e20824afd181292d51464e45a41c1d20
Author: Bill Pemberton <wfp5p at virginia.edu>
Date:   Tue Jul 24 10:50:43 2012 -0400

    Initial import (#839744).

 .gitignore              |    1 +
 perl-Rose-DateTime.spec |   63 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5731054 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Rose-DateTime-0.537.tar.gz
diff --git a/perl-Rose-DateTime.spec b/perl-Rose-DateTime.spec
new file mode 100644
index 0000000..c88e1e9
--- /dev/null
+++ b/perl-Rose-DateTime.spec
@@ -0,0 +1,63 @@
+Name:		perl-Rose-DateTime
+Version:	0.537
+Release:	4%{?dist}
+Summary:	DateTime helper functions and objects
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+URL:		http://search.cpan.org/dist/Rose-DateTime/
+Source0:	http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-DateTime-%{version}.tar.gz
+BuildArch:	noarch
+BuildRequires:	perl(DateTime)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Rose::Object)
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Pod) >= 1.00
+BuildRequires:	perl(Exporter)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%filter_from_requires /perl(Rose::DateTime::Util)/d
+%filter_setup
+
+%description
+The Rose::DateTime::* modules provide a few convenience functions and
+objects for use with DateTime dates.
+
+%prep
+%setup -q -n Rose-DateTime-%{version}
+find . -type f -executable -exec chmod -x {} \;
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/Rose/DateTime.pm
+%{perl_vendorlib}/Rose/DateTime/
+%{_mandir}/man3/Rose::DateTime*.3pm*
+
+%changelog
+* Tue Jul 24 2012 Bill Pemberton <wfp5p at virginia.edu> - 0.537-4
+- update Requires and BuildRequires
+
+* Mon Jul 16 2012 Bill Pemberton <wfp5p at virginia.edu> - 0.537-3
+- remove buildroot and clean
+- remove defattr from files section
+
+
+* Tue Jun 26 2012 Bill Pemberton <wfp5p at virginia.edu> - 0.537-2
+- Remove execute bit from pm files
+
+* Tue Jun 26 2012 Bill Pemberton <wfp5p at virginia.edu> - 0.537-1
+- Initial version
diff --git a/sources b/sources
index e69de29..9e6e9c6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3215b1185f8668f257a324efb464853e  Rose-DateTime-0.537.tar.gz


More information about the scm-commits mailing list