]> git.pld-linux.org Git - packages/perl-GSSAPI.git/blame - perl-GSSAPI.spec
- release 10 (by relup.sh)
[packages/perl-GSSAPI.git] / perl-GSSAPI.spec
CommitLineData
e89b33ad
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir GSSAPI
7Summary: GSSAPI - Perl extension providing access to the GSSAPIv2 library
adf8cce9 8Summary(pl.UTF-8): GSSAPI - rozszerzenie Perla dające dostęp do biblioteki GSSAPIv2
e89b33ad 9Name: perl-GSSAPI
6b7ec690 10Version: 0.28
77dda78b 11Release: 10
e89b33ad
ER
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
572685bc 15Source0: http://www.cpan.org/modules/by-authors/id/A/AG/AGROLMS/GSSAPI-%{version}.tar.gz
6b7ec690 16# Source0-md5: 65f00a0749212af064289c8a05e59b3f
d5824118 17URL: http://search.cpan.org/dist/GSSAPI/
9cfe5251 18BuildRequires: heimdal-devel
e89b33ad
ER
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
4554f265 21BuildRequires: which
e89b33ad
ER
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
572685bc 25This module gives access to the routines of the GSSAPI library, as
d5824118 26described in RFC 2743 and RFC 2744 and implemented by the Kerberos-1.2
572685bc 27distribution from MIT.
e89b33ad 28
7266ecde
JR
29%description -l pl.UTF-8
30Ten moduł daje dostęp do funkcji bibliotecznych GSSAPI określonych
d5824118
JB
31przez RFC 2743 i RFC 2744 i zaimplementowanych przez MIT w dystrybucji
32Kerberos-1.2.
33
e89b33ad
ER
34%prep
35%setup -q -n %{pdir}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40%{__make} \
777b8f6c 41 CC="%{__cc}" \
e89b33ad
ER
42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
572685bc
ER
61%{perl_vendorarch}/GSSAPI.pm
62%dir %{perl_vendorarch}/GSSAPI
e89b33ad 63%{perl_vendorarch}/GSSAPI/*.pm
572685bc
ER
64%dir %{perl_vendorarch}/GSSAPI/OID
65%{perl_vendorarch}/GSSAPI/OID/Set.pm
e89b33ad 66%dir %{perl_vendorarch}/auto/GSSAPI
e89b33ad
ER
67%attr(755,root,root) %{perl_vendorarch}/auto/GSSAPI/*.so
68%{_mandir}/man3/*
69%{_examplesdir}/%{name}-%{version}
This page took 0.307937 seconds and 4 git commands to generate.