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