]> git.pld-linux.org Git - packages/perl-B-Utils.git/blob - perl-B-Utils.spec
29a60e5268a57b43d01b43b6d7d9a6f74853b43a
[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 obróbki drzewa op
10 Name:           perl-B-Utils
11 Version:        0.08
12 Release:        1
13 License:        GPL or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  081c80bbee7c0b3313cf2656f58b953d
17 BuildRequires:  perl(ExtUtils::Depends) >= 0.302
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 Conflicts:      perl-Module-Info
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 These functions make it easier to manipulate the op tree.
26
27 %description -l pl.UTF-8
28 Te funkcje ułatwiają obrabianie drzewa op.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %{?with_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %dir %{perl_vendorarch}/B/Utils
52 %dir %{perl_vendorarch}/B/Utils/Install
53 %dir %{perl_vendorarch}/auto/B/Utils/
54 %{perl_vendorarch}/B/Utils.pm
55 %{perl_vendorarch}/B/Utils/Install/BUtils.h
56 %{perl_vendorarch}/B/Utils/Install/Files.pm
57 %{perl_vendorarch}/B/Utils/Install/typemap
58 %{perl_vendorarch}/B/Utils/OP.pm
59 %{perl_vendorarch}/auto/B/Utils/Utils.bs
60 %attr(755,root,root) %{perl_vendorarch}/auto/B/Utils/Utils.so
61 %{_mandir}/man3/*
This page took 0.020943 seconds and 2 git commands to generate.