]> git.pld-linux.org Git - packages/perl-Data-TemporaryBag.git/blob - perl-Data-TemporaryBag.spec
223455c2b8c54ca7bd25ebaf4835ae0caa0f8ca5
[packages/perl-Data-TemporaryBag.git] / perl-Data-TemporaryBag.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    Data
7 %define pnam    TemporaryBag
8 Summary:        Data::TemporaryBag - handle long size data using temporary file
9 Summary(pl):    Data::TemporaryBag - obs³uga danych o du¿ym rozmiarze przy pomocy pliku tymczasowego
10 Name:           perl-Data-TemporaryBag
11 Version:        0.08
12 Release:        0.2
13 License:        GPL v1+ 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:  b677da9db9abdb1ff996e56ddb28dacc
17 URL:            http://search.cpan.org/dist/Data-TemporaryBag/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Data::TemporaryBag module provides a bag object class handling long
25 size data. The short size data are kept on memory. When the data size
26 becomes over $Threshold size, they are saved into a temporary file
27 internally.
28
29 %description -l pl
30 Modu³ Data::TemporaryBAg dostarcza klasê obiektu torby obs³uguj±c±
31 dane o du¿ym rozmiarze. Dane o ma³ym rozmiarze s± przechowywane w
32 pamiêci. Kiedy rozmiar danych przekracza $Threshold, s± one zapisywane
33 wewnêtrznie do pliku tymczasowego.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes README
58 %{perl_vendorlib}/Data/TemporaryBag.pm
59 %{_mandir}/man3/*
This page took 0.052378 seconds and 2 git commands to generate.