/[smeserver]/rpms/perl-Session-Token/sme10/perl-Session-Token.spec
ViewVC logotype

Contents of /rpms/perl-Session-Token/sme10/perl-Session-Token.spec

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


Revision 1.1 - (show annotations) (download)
Tue Oct 9 14:45:36 2018 UTC (6 years, 1 month ago) by dani
Branch: MAIN
CVS Tags: perl-Session-Token-1_503-1_el7_sme, HEAD
Error occurred while calculating annotation data.
Import perl-Session-Token

1 Name: perl-Session-Token
2 Version: 1.503
3 Release: 1%{?dist}
4 Summary: Secure, efficient, simple random session token generation
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/Session-Token/
8 Source0: http://www.cpan.org/authors/id/F/FR/FRACTAL/Session-Token-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildRequires: perl >= 0:5.008000
11 BuildRequires: perl(ExtUtils::MakeMaker)
12 BuildRequires: perl(Test::More)
13 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15 %description
16 This module provides a secure, efficient, and simple interface for creating
17 session tokens, password reset codes, temporary passwords, random
18 identifiers, and anything else you can think of.
19
20 %prep
21 %setup -q -n Session-Token-%{version}
22
23 %build
24 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
25 make %{?_smp_mflags}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
31
32 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
33 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
34 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35
36 %{_fixperms} $RPM_BUILD_ROOT/*
37
38 %check
39 make test
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(-,root,root,-)
46 %doc Changes COPYING META.json README
47 %{perl_vendorarch}/auto/*
48 %{perl_vendorarch}/Session*
49 %{_mandir}/man3/*
50
51 %changelog
52 * Tue Oct 9 2018 Daniel Berteaud <daniel@firewall-services.com> - 1.503-1
53 - Update to 1.503
54
55 * Thu Oct 29 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.502-1
56 - Update to 1.502
57
58 * Wed Jul 22 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.008-2
59 - First build using cpanspec

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