1 |
rda |
248 |
%define upstream_name CatDap |
2 |
|
|
%define upstream_version 0.0.1-r200 |
3 |
|
|
|
4 |
|
|
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
|
|
Release: %mkrel 1 |
7 |
|
|
Summary: Web Based LDAP Administration Program |
8 |
|
|
License: GPL+ or Artistic |
9 |
|
|
Group: System/Configuration/Other |
10 |
rda |
2319 |
Url: https://wiki.mageia.org/en/Web_Identity |
11 |
rda |
248 |
Source0: %{upstream_name}-%{upstream_version}.tar.bz2 |
12 |
|
|
BuildRequires: perl(Module::Install) |
13 |
|
|
BuildRequires: perl(Module::Install::Catalyst) |
14 |
|
|
BuildRequires: perl(Catalyst::Plugin::ConfigLoader) |
15 |
|
|
BuildRequires: perl(Catalyst::Plugin::Static::Simple) |
16 |
|
|
BuildRequires: perl(Catalyst::Plugin::I18N) |
17 |
|
|
BuildRequires: perl(Catalyst::Plugin::Unicode::Encoding) |
18 |
|
|
BuildRequires: perl(Catalyst::Plugin::Authentication) |
19 |
|
|
BuildRequires: perl(Catalyst::Plugin::Authentication::Store::LDAP) |
20 |
|
|
BuildRequires: perl(Catalyst::Plugin::Authorization::Roles) |
21 |
|
|
BuildRequires: perl(Catalyst::Plugin::Captcha) |
22 |
|
|
BuildRequires: perl(Catalyst::Plugin::Session::Store::File) |
23 |
|
|
BuildRequires: perl(Catalyst::Plugin::Session::State::Cookie) |
24 |
|
|
BuildRequires: perl(Catalyst::Action::RenderView) |
25 |
|
|
BuildRequires: perl(Catalyst::View::TT) |
26 |
|
|
BuildRequires: perl(Catalyst::View::Email) |
27 |
|
|
BuildRequires: perl(Catalyst::Model::LDAP::FromAuthentication) |
28 |
|
|
BuildRequires: perl(Crypt::CBC) |
29 |
|
|
BuildRequires: perl(Email::Valid) |
30 |
|
|
BuildRequires: perl(Data::UUID) |
31 |
|
|
BuildRequires: perl(Config::General) |
32 |
|
|
BuildArch: noarch |
33 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version} |
34 |
|
|
|
35 |
|
|
%description |
36 |
|
|
CatDap is a combination of system-administrator and end-user web |
37 |
|
|
interface, designed to handle LDAP based setups. |
38 |
|
|
It fetches the schema to handle any kind of case, but is made to work |
39 |
|
|
with groups to give various access. |
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
43 |
|
|
|
44 |
|
|
%build |
45 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
46 |
|
|
%make |
47 |
|
|
|
48 |
|
|
%check |
49 |
|
|
#make test |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
rm -rf %buildroot |
53 |
|
|
%makeinstall_std |
54 |
|
|
|
55 |
|
|
%clean |
56 |
|
|
rm -rf %buildroot |
57 |
|
|
|
58 |
|
|
%files |
59 |
|
|
%defattr(-,root,root) |
60 |
|
|
%doc Changes |
61 |
|
|
%doc README |
62 |
|
|
%doc catdap.yml |
63 |
|
|
%{_mandir}/man1/* |
64 |
|
|
%{_mandir}/man3/* |
65 |
|
|
%{perl_vendorlib}/CatDap.pm |
66 |
|
|
%{perl_vendorlib}/CatDap |
67 |
|
|
%{_bindir}/catdap_*.pl |