]>
Commit | Line | Data |
---|---|---|
9bdd8414 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
02800893 | 4 | |
9bdd8414 | 5 | %define pdir SOAP |
6 | %define pnam Transport-TCP | |
7 | %include /usr/lib/rpm/macros.perl | |
8 | Summary: SOAP::Transport::TCP - TCP Transport Support for SOAP::Lite | |
9bdd8414 | 9 | Name: perl-SOAP-Transport-TCP |
10 | Version: 0.715 | |
11 | Release: 1 | |
12 | License: artistic | |
13 | Group: Development/Languages/Perl | |
14 | Source0: http://www.cpan.org/modules/by-module/SOAP/%{pdir}-%{pnam}-%{version}.tar.gz | |
15 | # Source0-md5: a1f50f3c4ca3efd1062ed64468d9363d | |
02800893 | 16 | URL: http://search.cpan.org/dist/SOAP-Transport-TCP/ |
9bdd8414 | 17 | BuildRequires: perl-Module-Build |
18 | BuildRequires: perl-devel >= 1:5.8.0 | |
19 | BuildRequires: rpm-perlprov >= 4.1-13 | |
20 | %if %{with tests} | |
21 | BuildRequires: perl(SOAP::Lite) >= 0.712 | |
22 | %endif | |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
02800893 | 27 | TCP Transport Support for SOAP::Lite. |
9bdd8414 | 28 | |
29 | %prep | |
30 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
31 | ||
32 | %build | |
33 | %{__perl} Build.PL \ | |
34 | destdir=$RPM_BUILD_ROOT \ | |
35 | installdirs=vendor | |
36 | ./Build | |
37 | ||
38 | %{?with_tests:./Build test} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | ./Build install | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc Changes README | |
51 | %{perl_vendorlib}/SOAP/Transport/*.pm | |
52 | #{perl_vendorlib}/SOAP/Transport/TCP | |
53 | %{_mandir}/man3/* |