]>
Commit | Line | Data |
---|---|---|
5280365c | 1 | # |
2 | # Conditional build: | |
e65b147f AG |
3 | %bcond_without tests # do not perform "make test" |
4 | # | |
5280365c | 5 | %include /usr/lib/rpm/macros.perl |
9804efac | 6 | %define pdir B |
7 | %define pnam Utils | |
7ebd50b8 | 8 | Summary: B::Utils - helper functions for op tree manipulation |
aaf8390f | 9 | Summary(pl.UTF-8): B::Utils - funkcje pomocnicze do operacji na drzewie op |
5280365c | 10 | Name: perl-B-Utils |
ab2b5a3c | 11 | Version: 0.17 |
5c143d28 | 12 | Release: 3 |
3e27795c | 13 | License: GPL or Artistic |
5280365c | 14 | Group: Development/Languages/Perl |
aaf8390f | 15 | Source0: http://www.cpan.org/modules/by-module/B/JJORE/%{pdir}-%{pnam}-%{version}.tar.gz |
ab2b5a3c | 16 | # Source0-md5: 6dba6b4eb19143d94da6d0894602ce30 |
aaf8390f | 17 | BuildRequires: perl-ExtUtils-Depends >= 0.302 |
8d7fd30b | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
af501005 | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
5280365c | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | These functions make it easier to manipulate the op tree. | |
24 | ||
cb0191fa | 25 | %description -l pl.UTF-8 |
aaf8390f | 26 | Te funkcje ułatwiają operacje na drzewie op. |
5280365c | 27 | |
28 | %prep | |
29 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
30 | ||
31 | %build | |
af501005 | 32 | %{__perl} Makefile.PL \ |
faad07e1 | 33 | INSTALLDIRS=vendor |
5280365c | 34 | %{__make} |
35 | ||
e65b147f | 36 | %{?with_tests:%{__make} test} |
5280365c | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
a88691b3 | 41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT | |
5280365c | 43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
aaf8390f | 49 | %{perl_vendorarch}/B/Utils.pm |
2f40dcd6 | 50 | %dir %{perl_vendorarch}/B/Utils |
51 | %dir %{perl_vendorarch}/B/Utils/Install | |
2f40dcd6 | 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 | |
aaf8390f JB |
56 | %dir %{perl_vendorarch}/auto/B |
57 | %dir %{perl_vendorarch}/auto/B/Utils | |
2f40dcd6 | 58 | %{perl_vendorarch}/auto/B/Utils/Utils.bs |
59 | %attr(755,root,root) %{perl_vendorarch}/auto/B/Utils/Utils.so | |
aaf8390f | 60 | %{_mandir}/man3/B::Utils*.3pm* |