File: Apache-Session-Browseable.spec

package info (click to toggle)
libapache-session-browseable-perl 1.3.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: perl: 1,903; makefile: 2
file content (86 lines) | stat: -rw-r--r-- 2,603 bytes parent folder | download | duplicates (2)
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
#==============================================================================
# Specification file for Apache::Session::Browseable
#==============================================================================

%define real_name Apache-Session-Browseable
%define real_version 1.3.14

#==============================================================================
# Main package
#==============================================================================
Name:           perl-%{real_name}
Version:        %{real_version}
Release:        1%{?dist}
Summary:        Add index and search methods to Apache::Session
Group:          Applications/System
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Apache-Session-Browseable/
Source0:        http://search.cpan.org/CPAN/authors/id/G/GU/GUIMARD/%{real_name}-%{real_version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
BuildArch:      noarch

BuildRequires: perl
BuildRequires: perl(Apache::Session)
BuildRequires: perl(Module::Build)

Requires: perl(Apache::Session)

%description
Virutal Apache::Session backend allowing to browse sessions upon criteria.

%prep
%setup -n %{real_name}-%{real_version} -q

# Redis not mandatory

cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(Redis)/d'
EOF

%define __perl_requires %{_builddir}/%{real_name}-%{real_version}/%{name}-req
chmod +x %{__perl_requires}

%if 0%{?rhel} >= 7
%{?perl_default_filter}
%global __requires_exclude perl\\(Redis
%endif

%build
perl Build.PL --installdirs=vendor
./Build

%install
rm -rf %{buildroot}
./Build install --destdir=%{buildroot} --create_packlist=0

%check
./Build test

%files
%defattr(-,root,root,-)
%doc %{_mandir}/man3/Apache::Session::*.3pm.gz
%{perl_vendorlib}/Apache/Session/*
%{perl_vendorlib}/auto/Apache/Session/*

%changelog
* Thu Dec 19 2024 Clement Oudot <clem.oudot@gmail.com> - 1.3.14-1
- Update to 1.3.14
* Wed Aug 18 2021 Clement Oudot <clem.oudot@gmail.com> - 1.3.9-1
- Update to 1.3.9
* Sun Sep 06 2020 Clement Oudot <clem.oudot@gmail.com> - 1.3.8-1
- Update to 1.3.8
* Fri Sep 04 2020 Clement Oudot <clem.oudot@gmail.com> - 1.3.7-1
- Update to 1.3.7
* Fri Jan 17 2020 Clement Oudot <clem.oudot@gmail.com> - 1.3.5-1
- Update to 1.3.5
* Thu Sep 19 2019 Clement Oudot <clem.oudot@gmail.com> - 1.3.3-1
- Update to 1.3.3
* Thu Jul 04 2019 Clement Oudot <clem.oudot@gmail.com> - 1.3.2-1
- Update to 1.3.2
* Tue Jan 23 2018 Clement Oudot <clem.oudot@gmail.com> - 1.2.8-1
- Update to 1.2.8
* Mon Jan 12 2015 Clement Oudot <clem.oudot@gmail.com> - 1.0.2-1
- First package for 1.0.2