/[smeserver]/rpms/perl-Mojolicious-Plugin-CSRFDefender/sme10/perl-Mojolicious-Plugin-CSRFDefender.spec
ViewVC logotype

Contents of /rpms/perl-Mojolicious-Plugin-CSRFDefender/sme10/perl-Mojolicious-Plugin-CSRFDefender.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri May 28 19:40:56 2021 UTC (3 years, 6 months ago) by michel
Branch: MAIN
CVS Tags: perl-Mojolicious-Plugin-CSRFDefender-0_0_8-1_el7_sme, HEAD
Initial import

1 Name: perl-Mojolicious-Plugin-CSRFDefender
2 Version: 0.0.8
3 Release: 1%{?dist}
4 Summary: Defend CSRF automatically in Mojolicious Application
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/Mojolicious-Plugin-CSRFDefender/
8 Source0: Mojolicious-Plugin-CSRFDefender-%{version}.tar.gz
9 #Source0: http://www.cpan.org/authors/id/S/SH/SHIBAZAKI/Mojolicious-Plugin-CSRFDefender-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 BuildArch: noarch
12 BuildRequires: perl(Class::Accessor::Fast)
13 BuildRequires: perl(ExtUtils::MakeMaker)
14 BuildRequires: perl(Mojolicious) >= 1.43
15 BuildRequires: perl(Mojolicious::Lite)
16 BuildRequires: perl(Path::Class)
17 BuildRequires: perl(String::Random)
18 BuildRequires: perl(Test::Class)
19 BuildRequires: perl(Test::Mojo)
20 BuildRequires: perl(Test::More)
21 Requires: perl(Class::Accessor::Fast)
22 Requires: perl(Mojolicious) >= 1.43
23 Requires: perl(Path::Class)
24 Requires: perl(String::Random)
25 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
26
27 %description
28 This plugin defends CSRF automatically in Mojolicious Application.
29 Following is the strategy.
30
31 %prep
32 %setup -q -n Mojolicious-Plugin-CSRFDefender-%{version}
33
34 %build
35 %{__perl} Makefile.PL INSTALLDIRS=vendor
36 make %{?_smp_mflags}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
42
43 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
44 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
45
46 %{_fixperms} $RPM_BUILD_ROOT/*
47
48 %check
49 make test
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(-,root,root,-)
56 %doc Changes README
57 %{perl_vendorlib}/*
58 %{_mandir}/man3/*
59
60 %changelog
61 * Sun Mar 07 2021 Michel Begue <mab974@gmail.com> 0.0.8-1
62 - Specfile autogenerated by cpanspec 1.78.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed