diff --git a/DateTime-Event-Recurrence-0.16.tar.gz b/DateTime-Event-Recurrence-0.16.tar.gz deleted file mode 100644 index 5694ea8..0000000 --- a/DateTime-Event-Recurrence-0.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3872e0126cd9527a918d3e537f85342d1fbb1e6a9ae5833262201b31879f8609 -size 23915 diff --git a/DateTime-Event-Recurrence-0.18.tar.gz b/DateTime-Event-Recurrence-0.18.tar.gz new file mode 100644 index 0000000..75835d9 --- /dev/null +++ b/DateTime-Event-Recurrence-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15d1beb23171660d84ff680f4139e6806c5de1d7365e21f4c073b6ee123d229b +size 24702 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-DateTime-Event-Recurrence.changes b/perl-DateTime-Event-Recurrence.changes index 9017bc6..c9d62b5 100644 --- a/perl-DateTime-Event-Recurrence.changes +++ b/perl-DateTime-Event-Recurrence.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Nov 14 09:41:09 UTC 2015 - coolo@suse.com + +- updated to 0.18 + see /usr/share/doc/packages/perl-DateTime-Event-Recurrence/Changes + + 0.18 2015-11-11 + - added a test; depends on DateTime::Set 0.3600 + + 0.17 2005-08-11 + - added a test and fixed a bug where the parameter to + next($dt) had a timezone. Reported by Simon Wistow. + ------------------------------------------------------------------- Wed Dec 1 13:31:45 UTC 2010 - coolo@novell.com diff --git a/perl-DateTime-Event-Recurrence.spec b/perl-DateTime-Event-Recurrence.spec index 2d2838b..c6dddcb 100644 --- a/perl-DateTime-Event-Recurrence.spec +++ b/perl-DateTime-Event-Recurrence.spec @@ -1,55 +1,64 @@ -# vim: set sw=4 ts=4 et nu: -# norootforbuild +# +# spec file for package perl-DateTime-Event-Recurrence +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + Name: perl-DateTime-Event-Recurrence -Version: 0.16 +Version: 0.18 Release: 0 +%define cpan_name DateTime-Event-Recurrence Summary: DateTime::Set extension for create basic recurrence sets -Source: http://search.cpan.org/CPAN/authors/id/F/FG/FGLOCK/DateTime-Event-Recurrence-%{version}.tar.gz -URL: http://search.cpan.org/dist/DateTime-Event-Recurrence/ +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -%{perl_requires} -BuildRequires: make perl +Url: http://search.cpan.org/dist/DateTime-Event-Recurrence/ +Source0: http://www.cpan.org/authors/id/F/FG/FGLOCK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(DateTime) -BuildRequires: perl(DateTime::Set) -Requires: perl(DateTime) -Requires: perl(DateTime::Set) +BuildRequires: perl(DateTime) >= 0.27 +BuildRequires: perl(DateTime::Set) >= 0.3600 +Requires: perl(DateTime) >= 0.27 +Requires: perl(DateTime::Set) >= 0.3600 +%{perl_requires} %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". +'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 "DateTime-Event-Recurrence-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -%__make test - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -%defattr(-,root,root) -%doc Changes README -%dir %{perl_vendorlib}/DateTime -%dir %{perl_vendorlib}/DateTime/Event -%{perl_vendorlib}/DateTime/Event/Recurrence.pm -%dir %{perl_vendorarch}/auto/DateTime -%dir %{perl_vendorarch}/auto/DateTime/Event -%{perl_vendorarch}/auto/DateTime/Event/Recurrence -%doc %{perl_man3dir}/DateTime::Event::Recurrence.%{perl_man3ext}%{ext_man} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes CREDITS LICENSE README TODO +%changelog