SPECS: perl-DateTime-Format-ICal.spec (NEW) - new
glen
glen at pld-linux.org
Tue Aug 22 18:05:22 CEST 2006
Author: glen Date: Tue Aug 22 16:05:22 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-DateTime-Format-ICal.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-DateTime-Format-ICal.spec
diff -u /dev/null SPECS/perl-DateTime-Format-ICal.spec:1.1
--- /dev/null Tue Aug 22 18:05:22 2006
+++ SPECS/perl-DateTime-Format-ICal.spec Tue Aug 22 18:05:17 2006
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir DateTime
+%define pnam Format-ICal
+Summary: DateTime::Format::ICal - Parse and format iCal datetime and duration strings
+Name: perl-DateTime-Format-ICal
+Version: 0.08
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/D/DR/DROLSKY/DateTime-Format-ICal-%{version}.tar.gz
+# Source0-md5: b0be692f3a84f2a7f73a39220ec69a52
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(DateTime) >= 0.17
+BuildRequires: perl(DateTime::Event::ICal) >= 0.03
+BuildRequires: perl(DateTime::Set) >= 0.1
+BuildRequires: perl(DateTime::TimeZone) >= 0.22
+BuildRequires: perl(Params::Validate) >= 0.59
+%endif
+Requires: perl-DateTime >= 0.28-2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module understands the ICal date/time and duration formats, as
+defined in RFC 2445. It can be used to parse these formats in order to
+create the appropriate objects.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%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 2006/08/22 16:05:17 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list