]> git.pld-linux.org Git - packages/perl-Data-TemporaryBag.git/blame - perl-Data-TemporaryBag.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Data-TemporaryBag.git] / perl-Data-TemporaryBag.spec
CommitLineData
3c991140
GS
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
3c991140
GS
5%define pdir Data
6%define pnam TemporaryBag
7b7949fc 7Summary: Data::TemporaryBag - handle long size data using temporary file
68a98b38 8Summary(pl.UTF-8): Data::TemporaryBag - obsługa danych o dużym rozmiarze przy pomocy pliku tymczasowego
3c991140 9Name: perl-Data-TemporaryBag
f0a7eda9 10Version: 0.09
11Release: 1
4b215289 12# same as perl
3c991140
GS
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
f0a7eda9 16# Source0-md5: a0045c0cc1fe92dd54ead9a682a83f08
bd71ce81 17URL: http://search.cpan.org/dist/Data-TemporaryBag/
3c991140
GS
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
3c991140
GS
23%description
24Data::TemporaryBag module provides a bag object class handling long
25size data. The short size data are kept on memory. When the data size
26becomes over $Threshold size, they are saved into a temporary file
27internally.
28
6d5ac292
JR
29%description -l pl.UTF-8
30Moduł Data::TemporaryBAg dostarcza klasę obiektu torby obsługującą
31dane o dużym rozmiarze. Dane o małym rozmiarze są przechowywane w
32pamięci. Kiedy rozmiar danych przekracza $Threshold, są one zapisywane
33wewnętrznie do pliku tymczasowego.
7b7949fc 34
3c991140
GS
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
3c991140
GS
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41
42%{__make}
3c991140
GS
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
bd71ce81 58%{perl_vendorlib}/Data/TemporaryBag.pm
3c991140 59%{_mandir}/man3/*
This page took 0.104853 seconds and 4 git commands to generate.