SPECS: perl-Set-Infinite.spec (NEW), perl-DateTime-Set.spec (NEW) ...
migo
migo at pld-linux.org
Sat Aug 12 18:16:13 CEST 2006
Author: migo Date: Sat Aug 12 16:16:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
SPECS:
perl-Set-Infinite.spec (NONE -> 1.1) (NEW), perl-DateTime-Set.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Set-Infinite.spec
diff -u /dev/null SPECS/perl-Set-Infinite.spec:1.1
--- /dev/null Sat Aug 12 18:16:12 2006
+++ SPECS/perl-Set-Infinite.spec Sat Aug 12 18:16:07 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Set
+%define pnam Infinite
+Summary: Set::Infinite - Sets of intervals
+#Summary(pl):
+Name: perl-Set-Infinite
+Version: 0.61
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: c9912f4ee6ac2e2291be94a5a2bd11f2
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Set::Infinite is a Set Theory module for infinite sets.
+
+A set is a collection of objects. The objects that belong to a set
+are called its members, or "elements".
+
+As objects we allow (almost) anything: reals, integers, and objects
+(such as dates).
+
+We allow sets to be infinite.
+
+There is no account for the order of elements. For example, {1,2}
+= {2,1}.
+
+# %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 TODO
+%{perl_vendorlib}/Set/*.pm
+%{perl_vendorlib}/Set/Infinite
+%{_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/12 16:16:07 migo
+- initial revision
+
================================================================
Index: SPECS/perl-DateTime-Set.spec
diff -u /dev/null SPECS/perl-DateTime-Set.spec:1.1
--- /dev/null Sat Aug 12 18:16:13 2006
+++ SPECS/perl-DateTime-Set.spec Sat Aug 12 18:16:07 2006
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir DateTime
+%define pnam Set
+Summary: DateTime::Set - Datetime sets and set math
+#Summary(pl):
+Name: perl-DateTime-Set
+Version: 0.25
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 777f0d8c2f6c6092cd7a70bf7e701831
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-DateTime >= 0.12
+BuildRequires: perl-Set-Infinite >= 0.59
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DateTime::Set is a module for datetime sets. It can be used to
+handle two different types of sets.
+
+The first is a fixed set of predefined datetime objects. For example,
+if we wanted to create a set of datetimes containing the birthdays of
+people in our family.
+
+The second type of set that it can handle is one based on the idea of
+a recurrence, such as "every Wednesday", or "noon on the 15th day of
+every month". This type of set can have fixed starting and ending
+datetimes, but neither is required. So our "every Wednesday set"
+could be "every Wednesday from the beginning of time until the end of
+time", or "every Wednesday after 2003-03-05 until the end of time", or
+"every Wednesday between 2003-03-05 and 2004-01-07".
+
+# %description -l pl
+# TODO
+
+%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 TODO
+%{perl_vendorlib}/DateTime/*.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/12 16:16:07 migo
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list