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