3 %bcond_without tests # unit tests
7 Summary: B::Utils - helper functions for op tree manipulation
8 Summary(pl.UTF-8): B::Utils - funkcje pomocnicze do operacji na drzewie op
12 License: GPL or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 340d6461afcec016ce6d0a0ba27290ba
16 URL: https://metacpan.org/dist/B-Utils
17 BuildRequires: perl-ExtUtils-Depends >= 0.302
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 These functions make it easier to manipulate the op tree.
26 %description -l pl.UTF-8
27 Te funkcje ułatwiają operacje na drzewie op.
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %{perl_vendorarch}/B/Utils.pm
51 %dir %{perl_vendorarch}/B/Utils
52 %dir %{perl_vendorarch}/B/Utils/Install
53 %{perl_vendorarch}/B/Utils/Install/BUtils.h
54 %{perl_vendorarch}/B/Utils/Install/Files.pm
55 %{perl_vendorarch}/B/Utils/Install/typemap
56 %{perl_vendorarch}/B/Utils/OP.pm
57 %dir %{perl_vendorarch}/auto/B
58 %dir %{perl_vendorarch}/auto/B/Utils
59 %attr(755,root,root) %{perl_vendorarch}/auto/B/Utils/Utils.so
60 %{_mandir}/man3/B::Utils*.3pm*