]> git.pld-linux.org Git - packages/perl-Object-MultiType.git/blame - perl-Object-MultiType.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Object-MultiType.git] / perl-Object-MultiType.spec
CommitLineData
a91bb39c 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
25d795f9 4
7a0fa96a 5%define pdir Object
6%define pnam MultiType
c7fc7080 7Summary: Object::MultiType - Perl objects as hash, array, scalar, code and glob at the same time
7db6aef6 8Summary(pl.UTF-8): Object::MultiType - obiekty perlowe jako hasze, tablice, skalary, kod i globy jednocześnie
a91bb39c 9Name: perl-Object-MultiType
90acc551 10Version: 0.05
4f19dbdc 11Release: 2
5d4bbaf5 12# same as perl
13License: GPL v1+ or Artistic
a91bb39c 14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
90acc551 16# Source0-md5: 171ed010dab19fb8b94f22a5fca97814
25d795f9 17URL: http://search.cpan.org/dist/Object-MultiType/
a91bb39c 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
c7fc7080 24This module returns an object that works like a Hash, Array, Scalar,
a91bb39c 25Code and Glob object at the same time.
26
dbc89e9f
JB
27The usual way is to call it from your module at new().
28
75d84583
JR
29%description -l pl.UTF-8
30Ten moduł zwraca obiekt działający jako hasz, tablica, skalar, kod i
31glob jednocześnie. Zwykle wywołuje się go przy new().
a91bb39c 32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39
40%{__make}
41%{?with_tests:%{__make} test}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc Changes README
55%{perl_vendorlib}/Object/MultiType.pm
56%{_mandir}/man3/*
This page took 0.101203 seconds and 4 git commands to generate.