]>
Commit | Line | Data |
---|---|---|
7d5875ea JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
a9e1ce46 | 4 | |
cdd1c9a5 | 5 | %define pdir SOAP |
6 | %define pnam payload | |
a9e1ce46 | 7 | %include /usr/lib/rpm/macros.perl |
7d5875ea | 8 | Summary: SOAP::payload - send various forms of information as SOAP envelopes |
4ff3930f | 9 | Summary(pl.UTF-8): SOAP::payload - wysyłanie różnych form informacji jako opakowań SOAP |
7d5875ea JB |
10 | Name: perl-SOAP-payload |
11 | Version: 1.02 | |
cf1f7310 | 12 | Release: 2 |
7d5875ea JB |
13 | License: BSD-like |
14 | Group: Development/Languages/Perl | |
15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
16 | # Source0-md5: f55388ab1c1b630733259db463fffc5f | |
a9e1ce46 | 17 | URL: http://search.cpan.org/dist/SOAP-payload/ |
7d5875ea JB |
18 | BuildRequires: perl-devel >= 1:5.8.0 |
19 | BuildRequires: rpm-perlprov >= 4.1-13 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This module can be used in conjunction with other modules such as DBI, | |
25 | to send data elements as part of a SOAP transaction envelope. | |
26 | ||
c5a9a4ea JR |
27 | %description -l pl.UTF-8 |
28 | Tego modułu można używać wraz z innymi modułami takimi jak DBI do | |
29 | wysyłania danych jako części opakowania transakcji SOAP. | |
7d5875ea JB |
30 | |
31 | %prep | |
32 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
33 | ||
34 | %build | |
35 | %{__perl} Makefile.PL \ | |
36 | INSTALLDIRS=vendor | |
37 | ||
38 | %{__make} | |
39 | ||
40 | %{?with_tests:%{__make} test} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc Changes README | |
54 | %{perl_vendorlib}/SOAP/payload.pm | |
55 | %{_mandir}/man3/* |