|
|
b451917 |
# Run optional test
|
|
|
b451917 |
%bcond_without perl_Dancer_Session_Cookie_enables_optional_test
|
|
|
b451917 |
|
|
|
b5560ba |
Name: perl-Dancer-Session-Cookie
|
|
|
356f54b |
Version: 0.30
|
|
|
67254a6 |
Release: 10%{?dist}
|
|
|
b5560ba |
Summary: Encrypted cookie-based session back-end for Dancer
|
|
|
b5560ba |
License: GPL+ or Artistic
|
|
|
6f8373c |
URL: https://metacpan.org/release/Dancer-Session-Cookie
|
|
|
6f8373c |
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/Dancer-Session-Cookie-%{version}.tar.gz
|
|
|
b5560ba |
BuildArch: noarch
|
|
|
d1a0985 |
BuildRequires: make
|
|
|
2086dba |
BuildRequires: perl-generators
|
|
|
b451917 |
BuildRequires: perl-interpreter
|
|
|
356f54b |
BuildRequires: perl(:VERSION) >= 5.10
|
|
|
b451917 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
ba3b80d |
BuildRequires: perl(strict)
|
|
|
ba3b80d |
BuildRequires: perl(warnings)
|
|
|
b5560ba |
# Run-time:
|
|
|
b5560ba |
BuildRequires: perl(Crypt::CBC)
|
|
|
b5560ba |
BuildRequires: perl(Crypt::Rijndael)
|
|
|
ba3b80d |
BuildRequires: perl(Dancer) >= 1.3113
|
|
|
ba3b80d |
BuildRequires: perl(Dancer::Cookie)
|
|
|
ba3b80d |
BuildRequires: perl(Dancer::Cookies)
|
|
|
b5560ba |
BuildRequires: perl(Dancer::Session::Abstract)
|
|
|
b5560ba |
BuildRequires: perl(MIME::Base64)
|
|
|
356f54b |
BuildRequires: perl(parent)
|
|
|
356f54b |
BuildRequires: perl(PerlX::Maybe)
|
|
|
ba3b80d |
BuildRequires: perl(Session::Storage::Secure) >= 0.010
|
|
|
b5560ba |
BuildRequires: perl(Storable)
|
|
|
b5560ba |
BuildRequires: perl(String::CRC32)
|
|
|
ba3b80d |
BuildRequires: perl(Time::Duration::Parse)
|
|
|
b5560ba |
# Tests only:
|
|
|
a3dad3a |
BuildRequires: perl(blib)
|
|
|
b5560ba |
BuildRequires: perl(Dancer::ModuleLoader)
|
|
|
ba3b80d |
BuildRequires: perl(Dancer::Test)
|
|
|
b5560ba |
BuildRequires: perl(File::Spec)
|
|
|
ba3b80d |
BuildRequires: perl(File::Temp)
|
|
|
ba3b80d |
BuildRequires: perl(FindBin)
|
|
|
ba3b80d |
BuildRequires: perl(HTTP::Date)
|
|
|
ba3b80d |
BuildRequires: perl(IO::Handle)
|
|
|
ba3b80d |
BuildRequires: perl(IPC::Open3)
|
|
|
b5560ba |
BuildRequires: perl(Test::Exception)
|
|
|
ba3b80d |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
b5560ba |
BuildRequires: perl(Test::NoWarnings)
|
|
|
b451917 |
BuildRequires: perl(Test::Requires)
|
|
|
b451917 |
%if %{with perl_Dancer_Session_Cookie_enables_optional_test}
|
|
|
b5560ba |
# Optional tests:
|
|
|
a88eafc |
# CPAN::Meta not useful
|
|
|
a88eafc |
BuildRequires: perl(HTTP::Cookies)
|
|
|
a88eafc |
BuildRequires: perl(HTTP::Request::Common)
|
|
|
b451917 |
BuildRequires: perl(Plack) >= 1.0029
|
|
|
a88eafc |
BuildRequires: perl(Plack::Test)
|
|
|
b5560ba |
BuildRequires: perl(YAML)
|
|
|
b451917 |
%endif
|
|
|
ba3b80d |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
b5560ba |
|
|
|
b5560ba |
%description
|
|
|
b5560ba |
This module implements a session engine for sessions stored entirely in
|
|
|
b5560ba |
cookies. Usually only session ID is stored in cookies and the session data
|
|
|
b5560ba |
itself are saved in some external storage, e.g. database. This module allows to
|
|
|
b5560ba |
avoid using external storage at all.
|
|
|
b5560ba |
|
|
|
b5560ba |
%prep
|
|
|
b5560ba |
%setup -q -n Dancer-Session-Cookie-%{version}
|
|
|
b5560ba |
|
|
|
b5560ba |
%build
|
|
|
b451917 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
a88eafc |
make %{?_smp_mflags}
|
|
|
b5560ba |
|
|
|
b5560ba |
%install
|
|
|
a88eafc |
make pure_install DESTDIR=%{buildroot}
|
|
|
ba3b80d |
%{_fixperms} %{buildroot}/*
|
|
|
b5560ba |
|
|
|
b5560ba |
%check
|
|
|
a88eafc |
make test
|
|
|
b5560ba |
|
|
|
b5560ba |
%files
|
|
|
a88eafc |
%license LICENSE
|
|
|
356f54b |
%doc Changes CONTRIBUTING.md CONTRIBUTORS README.mkdn
|
|
|
b5560ba |
%{perl_vendorlib}/*
|
|
|
b5560ba |
%{_mandir}/man3/*
|
|
|
b5560ba |
|
|
|
b5560ba |
%changelog
|
|
|
67254a6 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-10
|
|
|
67254a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
67254a6 |
|
|
|
ef3892e |
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-9
|
|
|
ef3892e |
- Perl 5.32 rebuild
|
|
|
ef3892e |
|
|
|
a3dad3a |
* Fri Mar 20 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-8
|
|
|
a3dad3a |
- Add perl(blib) for tests
|
|
|
a3dad3a |
|
|
|
713324c |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-7
|
|
|
713324c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
713324c |
|
|
|
5d035c0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-6
|
|
|
5d035c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5d035c0 |
|
|
|
a339054 |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-5
|
|
|
a339054 |
- Perl 5.30 rebuild
|
|
|
a339054 |
|
|
|
d9f26f2 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-4
|
|
|
d9f26f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d9f26f2 |
|
|
|
bb168ee |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.30-3
|
|
|
bb168ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
bb168ee |
|
|
|
96ba066 |
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-2
|
|
|
96ba066 |
- Perl 5.28 rebuild
|
|
|
96ba066 |
|
|
|
356f54b |
* Mon Mar 12 2018 Petr Pisar <ppisar@redhat.com> - 0.30-1
|
|
|
356f54b |
- 0.30 bump
|
|
|
356f54b |
|
|
|
aad478a |
* Tue Feb 20 2018 Petr Pisar <ppisar@redhat.com> - 0.29-1
|
|
|
aad478a |
- 0.29 bump
|
|
|
aad478a |
|
|
|
b451917 |
* Mon Feb 12 2018 Petr Pisar <ppisar@redhat.com> - 0.28-1
|
|
|
b451917 |
- 0.28 bump
|
|
|
b451917 |
|
|
|
357b67e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-7
|
|
|
357b67e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
357b67e |
|
|
|
0dc217f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-6
|
|
|
0dc217f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0dc217f |
|
|
|
299ef59 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-5
|
|
|
299ef59 |
- Perl 5.26 rebuild
|
|
|
299ef59 |
|
|
|
b667b44 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-4
|
|
|
b667b44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b667b44 |
|
|
|
b50d450 |
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.27-3
|
|
|
b50d450 |
- Perl 5.24 rebuild
|
|
|
b50d450 |
|
|
|
56d9571 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-2
|
|
|
56d9571 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
56d9571 |
|
|
|
d1a0985 |
* Thu Sep 24 2015 Petr Pisar <ppisar@redhat.com> - 0.27-1
|
|
|
d1a0985 |
- 0.27 bump
|
|
|
d1a0985 |
|
|
|
a88eafc |
* Fri Sep 11 2015 Petr Pisar <ppisar@redhat.com> - 0.26-1
|
|
|
a88eafc |
- 0.26 bump
|
|
|
a88eafc |
|
|
|
3d39e0b |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-3
|
|
|
3d39e0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3d39e0b |
|
|
|
6397f91 |
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-2
|
|
|
6397f91 |
- Perl 5.22 rebuild
|
|
|
6397f91 |
|
|
|
ba3b80d |
* Fri Sep 19 2014 Petr Pisar <ppisar@redhat.com> - 0.25-1
|
|
|
ba3b80d |
- 0.25 bump
|
|
|
ba3b80d |
|
|
|
7c77e69 |
* Tue Sep 02 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-9
|
|
|
7c77e69 |
- Perl 5.20 rebuild
|
|
|
7c77e69 |
|
|
|
54b329c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
|
|
|
54b329c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
54b329c |
|
|
|
fd1e600 |
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> - 0.15-7
|
|
|
fd1e600 |
- Perl 5.18 rebuild
|
|
|
fd1e600 |
|
|
|
096ad18 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-6
|
|
|
096ad18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
096ad18 |
|
|
|
f78cca8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-5
|
|
|
f78cca8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f78cca8 |
|
|
|
cac7303 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
|
|
|
cac7303 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cac7303 |
|
|
|
0cc1ee2 |
* Sun Jul 01 2012 Petr Pisar <ppisar@redhat.com> - 0.15-3
|
|
|
0cc1ee2 |
- Perl 5.16 rebuild
|
|
|
0cc1ee2 |
|
|
|
08d0870 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
|
|
|
08d0870 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
08d0870 |
|
|
|
b5560ba |
* Mon Dec 19 2011 Petr Pisar <ppisar@redhat.com> 0.15-1
|
|
|
b5560ba |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
b5560ba |
- Remove BuildRoot and defattr from spec code.
|