source: projects/specs/trunk/p/perl-PHP-Session/perl-PHP-Session-vl.spec @ 9118

Revision 9118, 1.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-25 Ryoichi INAGAKI <ryo1@…>

  • perl-Math-{Base85, Round}, perl-PHP-Session, perl-Params-Coerce, perl-Term-Encoding: rebuilt
  • perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules?: updated


Line 
1Name:           perl-PHP-Session
2Version:        0.27
3Release:        2%{?_dist_release}
4Summary:        read / write PHP session files
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/PHP-Session/
8Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/PHP-Session-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(Test::More) >= 0.32
13BuildRequires:  perl(UNIVERSAL::require) >= 0.03
14Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
15Requires:       perl(Test::More) >= 0.32
16Requires:       perl(UNIVERSAL::require) >= 0.03
17
18%description
19PHP::Session provides a way to read / write PHP4 session files, with
20which you can make your Perl application session shared with PHP4.
21
22If you like Apache::Session interface for session management, there is
23a glue for Apache::Session of this module, Apache::Session::PHP.
24
25%prep
26%setup -q -n PHP-Session-%{version}
27
28%build
29perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" PREFIX='/usr'
30make %{?_smp_mflags}
31
32%install
33rm -rf %{buildroot}
34make pure_install DESTDIR=%{buildroot}
35find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
36find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
37%{_fixperms} %{buildroot}
38
39%check
40make test
41
42%clean
43rm -rf %{buildroot}
44
45%files
46%doc Changes README
47%{perl_vendorlib}/*
48%{_mandir}/man3/*
49
50%changelog
51* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.27-2
52- rebuilt with perl 5.16.3
53
54* Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.27-1
55- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.