]> git.pld-linux.org Git - SPECS.git/blob - perl-Net-OpenID2.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Net-OpenID2.spec
1 #
2 # Conditional build:
3 %bcond_without  autodeps        # don't BR packages needed only for resolving deps
4 %bcond_without  tests   # do not perform "make test"
5 #
6 %define         pdir    Net
7 %define         pnam    OpenID2
8 Summary:        OpenID 2.0 library
9 Summary(pl.UTF-8):      Implementacja standardu OpenID 2.0
10 Name:           perl-Net-OpenID2
11 Version:        0.9.0.2
12 Release:        0.1
13 License:        Apache v2.0
14 Group:          Development/Languages/Perl
15 Source0:        http://code.sxip.com/downloads/perl-openid-sxip-%{version}.tar.gz
16 # Source0-md5:  a8f159d7853e206303e30a8753614dbe
17 URL:            http://code.sxip.com/openid4perl/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with autodeps} || %{with tests}
21 BuildRequires:  perl-Crypt-DH
22 BuildRequires:  perl-Date-Calc
23 BuildRequires:  perl-Net-Yadis
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Perl Libaries for:
30 - OpenID Authentication 2.0
31 - OpenID Attribute Exchange 1.0
32
33 %description -l pl.UTF-8
34 Biblioteka Perla implementujÄ…ca:
35 - OpenID Authentication 2.0
36 - OpenID Attribute Exchange 1.0
37
38 %prep
39 %setup -q -n perl-openid-sxip-%{version}
40
41 %build
42 AUTOMATED_TESTING=1
43 export AUTOMATED_TESTING
44 %{__perl} Build.PL \
45         destdir=$RPM_BUILD_ROOT \
46         installdirs=vendor
47 ./Build
48
49 %{?with_tests:./Build test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 ./Build install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc INSTALL README
62 %{perl_vendorlib}/Net/OpenID2/
63 %{_mandir}/man3/*
This page took 0.630554 seconds and 3 git commands to generate.