]> git.pld-linux.org Git - packages/perl-Net-Google-AuthSub.git/blob - perl-Net-Google-AuthSub.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-Google-AuthSub.git] / perl-Net-Google-AuthSub.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Net
6 %define pnam    Google-AuthSub
7 Summary:        Net::Google::AuthSub - interact with sites that implement Google style AuthSub
8 Summary(pl.UTF-8):      Net::Google::AuthSub - współdziałaj ze stronami, które implementują styl Google AuthSub
9 Name:           perl-Net-Google-AuthSub
10 Version:        0.5
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMONW/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  edd1363bd9db1e96d2cd2d4893d62537
17 URL:            http://search.cpan.org/dist/Net-Google-AuthSub/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-URI
22 BuildRequires:  perl-libwww
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This module allows to interact with sites that implement Google style
29 AuthSub.
30
31 %description -l pl.UTF-8
32 Moduł ten pozwala na współdziałanie ze stronami, które implementują
33 styl Google AuthSub.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Build.PL \
40         destdir=$RPM_BUILD_ROOT \
41         installdirs=vendor
42 ./Build
43
44 %{?with_tests:./Build test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 ./Build install
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes
57 %dir %{perl_vendorlib}/Net/Google
58 %{perl_vendorlib}/Net/Google/*.pm
59 %{perl_vendorlib}/Net/Google/AuthSub
60 %{_mandir}/man3/*
This page took 0.118369 seconds and 4 git commands to generate.