Package perl-DateTime-Format-SQLite: 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 | Group: Development/Perl # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl(DBD/SQLite.pm) perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: perl-DateTime-Format-SQLite Summary: Parse and format SQLite dates and times Version: 0.11 Release: alt2_24 License: GPL+ or Artistic Source0: https://cpan.metacpan.org/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-%{version}.tar.gz URL: https://metacpan.org/release/DateTime-Format-SQLite BuildArch: noarch # Build BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(ExtUtils/MakeMaker.pm) # Runtime BuildRequires: perl(DateTime/Format/Builder.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(vars.pm) BuildRequires: perl(warnings.pm) # Tests only BuildRequires: perl(DateTime.pm) BuildRequires: perl(Test/More.pm) Requires: perl(DateTime/Format/Builder.pm) >= 0.600 Source44: import.info %filter_from_requires /^perl(DateTime.Format.Builder\\)$/d %description This module understands the formats used by SQLite for its 'date', 'datetime' and 'time' functions. It can be used to parse these formats in order to create the DateTime manpage objects, and it can take a DateTime object and produce a timestring accepted by SQLite.*NOTE:* SQLite does not have real date/time types but stores everything as strings. This module deals with the date/time strings as understood/returned by SQLite's 'date', 'time', 'datetime', 'julianday' and 'strftime' SQL functions. You will usually want to store your dates in one of these formats. %prep %setup -q -n DateTime-Format-SQLite-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 %make_build %install make pure_install DESTDIR=%{buildroot} # %{_fixperms} %{buildroot}/* %check make test %files %doc --no-dereference LICENSE %doc Changes README %{perl_vendor_privlib}/* %changelog * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_24 - update to new release by fcimport * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_22 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_21 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_20 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_19 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_18 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_16 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_14 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_13 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_12 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_11 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_10 - update to new release by fcimport * Tue Dec 11 2012 Igor Vlasenko <viy@altlinux.ru> 0.11-alt2_9 - moved to Sisyphus (Tapper dep) * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1_9 - update to new release by fcimport * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1_7 - fc import |