]> git.pld-linux.org Git - packages/perl-DateTime-Format-W3CDTF.git/commitdiff
- perl-XML-RSS-1.22 needs this auto/th/perl-DateTime-Format-W3CDTF-0_04-0_1
authorSzymon Siwek <sls@pld-linux.org>
Sun, 25 Mar 2007 23:15:55 +0000 (23:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-DateTime-Format-W3CDTF.spec -> 1.1

perl-DateTime-Format-W3CDTF.spec [new file with mode: 0644]

diff --git a/perl-DateTime-Format-W3CDTF.spec b/perl-DateTime-Format-W3CDTF.spec
new file mode 100644 (file)
index 0000000..420f5fa
--- /dev/null
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DateTime
+%define        pnam    Format-W3CDTF
+Summary:       DateTime::Format::W3CDTF - Parse and format W3CDTF datetime strings
+#Summary(pl):
+Name:          perl-DateTime-Format-W3CDTF
+Version:       0.04
+Release:       0.1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/K/KE/KELLAN/DateTime-Format-W3CDTF-%{version}.tar.gz
+# Source0-md5: 5ad0a41bb5de08f9c16395ea311bb491
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module understands the W3CDTF date/time format, an ISO 8601
+profile, defined at http://www.w3.org/TR/NOTE-datetime. This format as
+the native date format of RSS 1.0.
+
+It can be used to parse these formats in order to create the
+appropriate objects.
+
+
+
+# %description -l pl # TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/DateTime/Format/*.pm
+%{_mandir}/man3/*
This page took 0.079825 seconds and 4 git commands to generate.