Package perl-DateTime-Format-Flexible: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | %define _unpackaged_files_terminate_build 1 Group: Development/Other # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(DateTime/Locale.pm) perl-podlators # END SourceDeps(oneline) # fedora bcond_with macro %define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} %define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} # redefine altlinux specific with and without %define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} %define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} # Execute extra test %bcond_with perl_DateTime_Format_Flexible_enables_extra_test Name: perl-DateTime-Format-Flexible Version: 0.34 Release: alt1 License: GPL+ or Artistic Summary: Flexibly parse strings and turn them into DateTime objects Source0: http://www.cpan.org/authors/id/T/TH/THINC/DateTime-Format-Flexible-%{version}.tar.gz Url: https://metacpan.org/release/DateTime-Format-Flexible BuildArch: noarch BuildRequires: rpm-build-perl BuildRequires: perl-devel BuildRequires: perl(ExtUtils/MakeMaker.pm) # Run-time: BuildRequires: perl(base.pm) BuildRequires: perl(Carp.pm) BuildRequires: perl(DateTime.pm) BuildRequires: perl(DateTime/Format/Builder.pm) BuildRequires: perl(DateTime/Infinite.pm) BuildRequires: perl(DateTime/TimeZone.pm) BuildRequires: perl(List/MoreUtils.pm) BuildRequires: perl(Module/Pluggable.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(warnings.pm) # Tests: BuildRequires: perl(File/Spec/Functions.pm) BuildRequires: perl(lib.pm) BuildRequires: perl(Test/Exception.pm) BuildRequires: perl(Test/MockTime.pm) BuildRequires: perl(Test/More.pm) BuildRequires: perl(Test/NoWarnings.pm) %if %{with perl_DateTime_Format_Flexible_enables_extra_test} # Extra tests: BuildRequires: perl(Test/Pod.pm) BuildRequires: perl(Test/Pod/Coverage.pm) %endif Source44: import.info %description If you have ever had to use a program that made you type in the date a certain way and thought "Why can't the computer just figure out what date I wanted?", this module is for you. DateTime::Format::Flexible attempts to take any string you give it and parse it into a DateTime object. %prep %setup -q -n DateTime-Format-Flexible-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{makeinstall_std} # %{_fixperms} %{buildroot}/* %check %if %{with perl_DateTime_Format_Flexible_enables_extra_test} export TEST_POD=1 %else export TEST_POD=0 %endif make test %files %doc Changes example/ README example %{perl_vendor_privlib}/* %changelog * Sun Jul 11 2021 Igor Vlasenko <viy@altlinux.org> 0.34-alt1 - automated CPAN update * Tue Jun 08 2021 Igor Vlasenko <viy@altlinux.org> 0.33-alt2 - fixed build * Thu May 27 2021 Igor Vlasenko <viy@altlinux.org> 0.33-alt1 - automated CPAN update * Wed Nov 20 2019 Igor Vlasenko <viy@altlinux.ru> 0.32-alt1_1 - update to new release by fcimport * Wed Sep 18 2019 Igor Vlasenko <viy@altlinux.ru> 0.32-alt1 - automated CPAN update * Wed Oct 10 2018 Igor Vlasenko <viy@altlinux.ru> 0.31-alt1_1 - update to new release by fcimport * Thu Sep 20 2018 Igor Vlasenko <viy@altlinux.ru> 0.31-alt1 - automated CPAN update * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 0.30-alt1_1 - update to new release by fcimport * Sun Mar 11 2018 Igor Vlasenko <viy@altlinux.ru> 0.30-alt1 - automated CPAN update * Thu Feb 22 2018 Igor Vlasenko <viy@altlinux.ru> 0.29-alt1 - automated CPAN update * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.28-alt1_3 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.28-alt1_2 - update to new release by fcimport * Sat Mar 25 2017 Igor Vlasenko <viy@altlinux.ru> 0.28-alt1 - automated CPAN update * Wed Mar 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.27-alt1 - automated CPAN update * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_7 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_6 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_5 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_3 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_2 - update to new release by fcimport * Tue Jun 03 2014 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1_1 - update to new release by fcimport * Fri May 02 2014 Igor Vlasenko <viy@altlinux.ru> 0.26-alt1 - automated CPAN update * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.25-alt1_3 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.25-alt1_2 - update to new release by fcimport * Thu Mar 07 2013 Igor Vlasenko <viy@altlinux.ru> 0.25-alt1_1 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.24-alt2_2 - update to new release by fcimport * Tue Dec 11 2012 Igor Vlasenko <viy@altlinux.ru> 0.24-alt2_1 - moved to Sisyphus (Tapper dep) * Mon Dec 03 2012 Igor Vlasenko <viy@altlinux.ru> 0.24-alt1_1 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.23-alt1_3 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko <viy@altlinux.ru> 0.21-alt1_1 - fc import |