]> git.pld-linux.org Git - packages/perl-Tie-Persistent.git/blame - perl-Tie-Persistent.spec
use generic url
[packages/perl-Tie-Persistent.git] / perl-Tie-Persistent.spec
CommitLineData
652c87b5 1#
2# Conditional build:
ea219e2b 3%bcond_without tests # do not perform "make test"
cbd5fc0d 4
6c765a63 5%define pdir Tie
6%define pnam Persistent
cbd5fc0d 7%include /usr/lib/rpm/macros.perl
652c87b5 8Summary: Tie::Persistent - persistent data structures via tie made easy
c31815da 9Summary(pl.UTF-8): Tie::Persistent - trwałe struktury danych oparte na Tie
652c87b5 10Name: perl-Tie-Persistent
11Version: 1.00
1551d2a1 12Release: 6
379f5b85 13# same as perl
14License: GPL v1+ or Artistic
652c87b5 15Group: Development/Languages/Perl
feb18ea8 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
54863246 17# Source0-md5: 4f21d393e7af0cb6eebad6b3b72a2797
cbd5fc0d 18URL: http://search.cpan.org/dist/Tie-Persistent/
63a07db2 19BuildRequires: perl-devel >= 1:5.8.0
f7cb9d9b 20BuildRequires: rpm-perlprov >= 4.1-13
652c87b5 21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
d877b11a
JB
25The Tie::Persistent package makes working with persistent data real
26easy by using the tie interface.
27
28It works by storing data contained in a variable into a file (not
29unlike a database). The primary advantage is speed, as the whole
30datastructure is kept in memory (which is also a limitation), and, of
31course, that you can use arbitrary data structures inside the variable
32(unlike DB_File).
33
b8bd8ff2
JR
34%description -l pl.UTF-8
35Pakiet Tie::Persistent czyni pracę z trwałymi danymi naprawdę łatwą
36dzięki użyciu interfejsu tie.
d877b11a 37
b8bd8ff2
JR
38Działa on poprzez zapisywanie danych zawartych w zmiennej do pliku
39(podobnie jak w bazie danych). Główną zaletą jest szybkość, jako że
40cała struktura danych jest trzymana w pamięci (która jest także
41ograniczeniem) i oczywiście to, że można używać w zmiennej dowolnych
42struktur danych (w przeciwieństwie do DB_File).
652c87b5 43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
f7cb9d9b 48%{__perl} Makefile.PL \
33f123ad 49 INSTALLDIRS=vendor
652c87b5 50%{__make}
51
ea219e2b 52%{?with_tests:%{__make} test}
652c87b5 53
54%install
55rm -rf $RPM_BUILD_ROOT
56
ea219e2b 57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
652c87b5 59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
f7cb9d9b 65%{perl_vendorlib}/%{pdir}/*.pm
652c87b5 66%{_mandir}/man3/*
This page took 0.089275 seconds and 4 git commands to generate.