]> git.pld-linux.org Git - packages/perl-B-COW.git/blame - perl-B-COW.spec
- updated to 0.007
[packages/perl-B-COW.git] / perl-B-COW.spec
CommitLineData
90ec0b06
JB
1#
2# Conditional build:
e6832c77 3%bcond_without tests # unit tests
90ec0b06
JB
4#
5%define pdir B
6%define pnam COW
7Summary: B::COW - additional B helpers to check COW status
8Summary(pl.UTF-8): B::COW - dodatkowe funkcje pomocnicze B do sprawdzania stanu COW
9Name: perl-B-COW
e6832c77
JB
10Version: 0.007
11Release: 1
90ec0b06
JB
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/B/%{pdir}-%{pnam}-%{version}.tar.gz
e6832c77 16# Source0-md5: 7afc46f19e6f906e2ba5769b21fca5ff
90ec0b06
JB
17URL: https://metacpan.org/release/B-COW
18%if %{with tests}
e6832c77 19BuildRequires: perl-Test-Simple >= 0.88
90ec0b06
JB
20%endif
21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRequires: rpmbuild(macros) >= 1.745
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27B::COW provides some naive additional B helpers to check the COW
28(Copy On Write) status of one SvPV. COWed SvPV is sharing its string
29(the PV) with other SvPVs. It's a (kind of) Read Only C string, that
30would be Copied On Write (COW).
31
32%description -l pl.UTF-8
33B::COW udostępnia kilka prostych, dodatkowych funkcji pomocniczych B
34do sprawdzania stanu COW (Copy On Write). Kopiowany przy zapisie SvPV
35współdzieli swój łańcuch znaków (PV) z innymi SvPV. Jest to rodzaj
36łańucha znaków C tylko do odczytu, który zostałby skopiowany przy
37zapisie (Copied On Write).
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
61%{perl_vendorarch}/B/COW.pm
62%dir %{perl_vendorarch}/auto/B/COW
63%attr(755,root,root) %{perl_vendorarch}/auto/B/COW/COW.so
64%{_mandir}/man3/B::COW.3pm*
This page took 0.066754 seconds and 4 git commands to generate.