blob: 032c805171ce4b7bbc5177b109745b02583a589f (
plain)
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
|
%define upstream_name CatDap
%define upstream_version 0.0.1-r200
Name: perl-%{upstream_name}
Version: %perl_convert_version %{upstream_version}
Release: %mkrel 1
Summary: Web Based LDAP Administration Program
License: GPL+ or Artistic
Group: System/Configuration/Other
Url: http://www.mageia.org/wiki/doku.php?id=web:identity
Source0: %{upstream_name}-%{upstream_version}.tar.bz2
BuildRequires: perl(Module::Install)
BuildRequires: perl(Module::Install::Catalyst)
BuildRequires: perl(Catalyst::Plugin::ConfigLoader)
BuildRequires: perl(Catalyst::Plugin::Static::Simple)
BuildRequires: perl(Catalyst::Plugin::I18N)
BuildRequires: perl(Catalyst::Plugin::Unicode::Encoding)
BuildRequires: perl(Catalyst::Plugin::Authentication)
BuildRequires: perl(Catalyst::Plugin::Authentication::Store::LDAP)
BuildRequires: perl(Catalyst::Plugin::Authorization::Roles)
BuildRequires: perl(Catalyst::Plugin::Captcha)
BuildRequires: perl(Catalyst::Plugin::Session::Store::File)
BuildRequires: perl(Catalyst::Plugin::Session::State::Cookie)
BuildRequires: perl(Catalyst::Action::RenderView)
BuildRequires: perl(Catalyst::View::TT)
BuildRequires: perl(Catalyst::View::Email)
BuildRequires: perl(Catalyst::Model::LDAP::FromAuthentication)
BuildRequires: perl(Crypt::CBC)
BuildRequires: perl(Email::Valid)
BuildRequires: perl(Data::UUID)
BuildRequires: perl(Config::General)
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}
%description
CatDap is a combination of system-administrator and end-user web
interface, designed to handle LDAP based setups.
It fetches the schema to handle any kind of case, but is made to work
with groups to give various access.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make
%check
#make test
%install
rm -rf %buildroot
%makeinstall_std
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc Changes
%doc README
%doc catdap.yml
%{_mandir}/man1/*
%{_mandir}/man3/*
%{perl_vendorlib}/CatDap.pm
%{perl_vendorlib}/CatDap
%{_bindir}/catdap_*.pl
|