Author: glen                         Date: Tue Aug 22 15:48:08 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-DateTime-Event-Recurrence.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-DateTime-Event-Recurrence.spec
diff -u /dev/null SPECS/perl-DateTime-Event-Recurrence.spec:1.1
--- /dev/null   Tue Aug 22 17:48:08 2006
+++ SPECS/perl-DateTime-Event-Recurrence.spec   Tue Aug 22 17:48:03 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DateTime
+%define        pnam    Event-Recurrence
+Summary:       DateTime::Event::Recurrence - DateTime::Set extension for 
create basic recurrence sets
+Name:          perl-DateTime-Event-Recurrence
+Version:       0.16
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-Recurrence-%{version}.tar.gz
+# Source0-md5: 9a08830b081a93619f4a8564063e3bf0
+URL:           http://search.cpan.org/dist/DateTime-Event-Recurrence/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(DateTime) >= 0.27
+BuildRequires: perl(DateTime::Set) >= 0.17
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides convenience methods that let you easily create
+DateTime::Set objects for various recurrences, such as "once a month"
+or "every day". You can also create more complicated recurrences, such
+as "every Monday, Wednesday and Thursday at 10:00 AM and 2:00 PM".
+
+%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 CREDITS README TODO
+%dir %{perl_vendorlib}/DateTime/Event
+%{perl_vendorlib}/DateTime/Event/*.pm
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/08/22 15:48:03  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to