]> git.pld-linux.org Git - packages/perl-Hash-MultiValue.git/blob - perl-Hash-MultiValue.spec
411c2f9e3ccbb6e742c90f2d32774b9ba9b3b63d
[packages/perl-Hash-MultiValue.git] / perl-Hash-MultiValue.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Hash
6 %define         pnam    MultiValue
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Hash::MultiValue - Store multiple values per key
9 #Summary(pl.UTF-8):     
10 Name:           perl-Hash-MultiValue
11 Version:        0.10
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/Hash/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  386b9ed884f3af6c20dca6d5fbefbb91
18 # generic URL, check or change before uncommenting
19 #URL:           http://search.cpan.org/dist/Hash-MultiValue/
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 %if %{with tests}
23 %endif
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Hash::MultiValue is an object (and a plain hash reference) that may
29 contain multiple values per key, inspired by MultiDict of WebOb.
30
31
32
33 # %description -l pl.UTF-8
34 # TODO
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} pure_install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/Hash/*.pm
59 %{_mandir}/man3/*
This page took 0.042546 seconds and 2 git commands to generate.