[perl-DateTime-Tiny] Initial import (#885548)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 25d1362c6309e07b7f04e6c8d9cf01444eb666ce
Author: Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx>
Date:   Thu Dec 13 10:32:03 2012 +0800

    Initial import (#885548)

 .gitignore              |    1 +
 perl-DateTime-Tiny.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f964ca3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DateTime-Tiny-1.04.tar.gz
diff --git a/perl-DateTime-Tiny.spec b/perl-DateTime-Tiny.spec
new file mode 100644
index 0000000..06bfe16
--- /dev/null
+++ b/perl-DateTime-Tiny.spec
@@ -0,0 +1,49 @@
+Name:           perl-DateTime-Tiny
+Version:        1.04
+Release:        2%{?dist}
+Summary:        Date object, with as little code as possible
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/DateTime-Tiny/
+Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/DateTime-Tiny-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.004
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More) >= 0.47
+Requires:       perl(DateTime)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+DateTime::Tiny implements an extremely lightweight object that represents a
+datetime.
+
+%prep
+%setup -q -n DateTime-Tiny-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Dec 11 2012 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> - 1.04-2
+- Add requires perl(DateTime)
+- Remove perl(Test::More) from Requires
+- Fill description paragraph
+
+* Mon Dec 10 2012 Robin Lee <cheeselee@xxxxxxxxxxxxxxxxx> 1.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..5ab8b60 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9e7e4fe588445023763df113d3f2345f  DateTime-Tiny-1.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux