OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 05-Nov-2007 13:34:17 Branch: HEAD Handle: 2007110512341600 Modified files: openpkg-src/perl-time perl-time.spec Log: add the new DateTime::BusinessHours Summary: Revision Changes Path 1.175 +26 -16 openpkg-src/perl-time/perl-time.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/perl-time/perl-time.spec ============================================================================ $ cvs diff -u -r1.174 -r1.175 perl-time.spec --- openpkg-src/perl-time/perl-time.spec 2 Nov 2007 12:26:05 -0000 1.174 +++ openpkg-src/perl-time/perl-time.spec 5 Nov 2007 12:34:16 -0000 1.175 @@ -23,21 +23,22 @@ ## # versions of individual parts -%define V_perl 5.8.8 -%define V_time_date 1.16 -%define V_time_hires 1.9708 -%define V_time_local 1.18 -%define V_date_manip 5.46 -%define V_date_calc 5.4 -%define V_class_date 1.1.9 -%define V_benchmark_timer 0.7100 -%define V_time_modules 2006.0814 -%define V_time_tai64 2.11 -%define V_datetime_locale 0.35 -%define V_datetime 0.41 -%define V_datetime_timezone 0.69 -%define V_time_piece 1.11 -%define V_time_duration 1.06 +%define V_perl 5.8.8 +%define V_time_date 1.16 +%define V_time_hires 1.9708 +%define V_time_local 1.18 +%define V_date_manip 5.46 +%define V_date_calc 5.4 +%define V_class_date 1.1.9 +%define V_benchmark_timer 0.7100 +%define V_time_modules 2006.0814 +%define V_time_tai64 2.11 +%define V_datetime_locale 0.35 +%define V_datetime 0.41 +%define V_datetime_timezone 0.69 +%define V_datetime_businesshours 1.0 +%define V_time_piece 1.11 +%define V_time_duration 1.06 # package information Name: perl-time @@ -50,7 +51,7 @@ Group: Perl License: GPL/Artistic Version: %{V_perl} -Release: 20071102 +Release: 20071105 # list of sources Source0: http://www.cpan.org/modules/by-module/Time/TimeDate-%{V_time_date}.tar.gz @@ -67,6 +68,7 @@ Source11: http://www.cpan.org/modules/by-module/DateTime/DateTime-TimeZone-%{V_datetime_timezone}.tar.gz Source12: http://www.cpan.org/modules/by-module/Time/Time-Piece-%{V_time_piece}.tar.gz Source13: http://www.cpan.org/modules/by-module/Time/Time-Duration-%{V_time_duration}.tar.gz +Source14: http://www.cpan.org/modules/by-module/DateTime/DateTime-BusinessHours-%{V_datetime_businesshours}.tar.gz Patch0: perl-time.patch # build information @@ -93,6 +95,7 @@ - DateTime (%{V_datetime}) - DateTime::Locale (%{V_datetime_locale}) - DateTime::TimeZone (%{V_datetime_timezone}) + - DateTime::BusinessHours (%{V_datetime_businesshours}) - Time::Piece (%{V_time_piece}) - Time::Duration (%{V_time_duration}) @@ -157,6 +160,11 @@ url = http://www.cpan.org/modules/by-module/DateTime/ regex = DateTime-TimeZone-(\d+\.\d\d)\.tar\.gz } + prog perl-time:DateTime-BusinessHours = { + version = %{V_datetime_businesshours} + url = http://www.cpan.org/modules/by-module/DateTime/ + regex = DateTime-BusinessHours-(__VER__)\.tar\.gz + } prog perl-time:Time-Piece = { version = %{V_time_piece} url = http://www.cpan.org/modules/by-module/Time/ @@ -183,6 +191,7 @@ %setup -q -T -D -a 11 %setup -q -T -D -a 12 %setup -q -T -D -a 13 + %setup -q -T -D -a 14 %patch -p0 %build @@ -204,6 +213,7 @@ %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install # FIXME: remove the Date::Calc conflict files %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org