]> git.pld-linux.org Git - packages/perl-B-Utils.git/blob - perl-B-Utils.spec
74fb54e3d2822337bd614bf1ab2b1e658d049ea7
[packages/perl-B-Utils.git] / perl-B-Utils.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    B
7 %define         pnam    Utils
8 Summary:        B::Utils - helper functions for op tree manipulation
9 Summary(pl.UTF-8):      B::Utils - funkcje pomocnicze do operacji na drzewie op
10 Name:           perl-B-Utils
11 Version:        0.17
12 Release:        4
13 License:        GPL or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/B/JJORE/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  6dba6b4eb19143d94da6d0894602ce30
17 BuildRequires:  perl-ExtUtils-Depends >= 0.302
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 These functions make it easier to manipulate the op tree.
24
25 %description -l pl.UTF-8
26 Te funkcje ułatwiają operacje na drzewie op.
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} 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 %{perl_vendorarch}/B/Utils.pm
50 %dir %{perl_vendorarch}/B/Utils
51 %dir %{perl_vendorarch}/B/Utils/Install
52 %{perl_vendorarch}/B/Utils/Install/BUtils.h
53 %{perl_vendorarch}/B/Utils/Install/Files.pm
54 %{perl_vendorarch}/B/Utils/Install/typemap
55 %{perl_vendorarch}/B/Utils/OP.pm
56 %dir %{perl_vendorarch}/auto/B
57 %dir %{perl_vendorarch}/auto/B/Utils
58 %attr(755,root,root) %{perl_vendorarch}/auto/B/Utils/Utils.so
59 %{_mandir}/man3/B::Utils*.3pm*
This page took 0.06236 seconds and 2 git commands to generate.