SPECS: perl-DateTime-Format-W3CDTF.spec (NEW) - perl-XML-RSS-1.22 ...

sls sls at pld-linux.org
Mon Mar 26 01:16:00 CEST 2007


Author: sls                          Date: Sun Mar 25 23:16:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- perl-XML-RSS-1.22 needs this

---- Files affected:
SPECS:
   perl-DateTime-Format-W3CDTF.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-DateTime-Format-W3CDTF.spec
diff -u /dev/null SPECS/perl-DateTime-Format-W3CDTF.spec:1.1
--- /dev/null	Mon Mar 26 01:16:00 2007
+++ SPECS/perl-DateTime-Format-W3CDTF.spec	Mon Mar 26 01:15:55 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# 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/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/03/25 23:15:55  sls
+- perl-XML-RSS-1.22 needs this
+
================================================================


More information about the pld-cvs-commit mailing list