1 |
%define upstream_name Heimdal-Kadm5 |
2 |
%define upstream_version 0.08 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 2 |
7 |
Summary: Perl extension for adminstration of Heimdal Kerberos servers |
8 |
License: Artistic/GPL |
9 |
Group: Development/Perl |
10 |
Url: http://search.cpan.org/dist/%{upstream_name} |
11 |
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEIFJ/%{upstream_name}-%{upstream_version}.tar.gz |
12 |
BuildRequires: perl-devel |
13 |
BuildRequires: heimdal-devel |
14 |
|
15 |
|
16 |
%description |
17 |
Heimdal::Kadm5 is a basic XSUB perl glue to the Heimdal |
18 |
(http://www.pdc.kth.se/src/heimdal) kadm5clnt library. Heimdal is a free, |
19 |
slightly less export challenged implementation of Kerberos5 by Assar Westerlund |
20 |
and Johan Danielsson. Heimdal::Kadm5 allows you to perform more administration |
21 |
of your kdc than you can usually pull off with the included kadmin program. |
22 |
Heimdal::Kadm5 should be considered alpha-code and may consequently crash and |
23 |
burn but should not muck up your kdc any more than kadmin itself does. |
24 |
|
25 |
%prep |
26 |
%setup -q -n %{upstream_name}-%{upstream_version} |
27 |
|
28 |
%build |
29 |
%{__perl} Makefile.PL INSTALLDIRS=vendor INC="-I%{_includedir}/heimdal" |
30 |
%make |
31 |
|
32 |
%install |
33 |
rm -rf %{buildroot} |
34 |
%makeinstall_std |
35 |
|
36 |
%check |
37 |
# doesn't work without a running KDC |
38 |
#%{__make} test |
39 |
|
40 |
%clean |
41 |
rm -rf %{buildroot} |
42 |
|
43 |
%files |
44 |
%defattr(-,root,root) |
45 |
%doc Changes README META.yml |
46 |
%{perl_vendorarch}/Heimdal |
47 |
%{perl_vendorarch}/auto/Heimdal |
48 |
%{_mandir}/*/* |