]> git.pld-linux.org Git - packages/perl-DBIx-FetchLoop.git/blob - perl-DBIx-FetchLoop.spec
- Epoch 1 (because of 0.41 -> 0.6)
[packages/perl-DBIx-FetchLoop.git] / perl-DBIx-FetchLoop.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    DBIx
3 %define pnam    FetchLoop
4 Summary:        DBIx::FetchLoop - Fetch with change detection and aggregates
5 Summary(pl):    DBIx::FetchLoop - odczyt danych z wykrywaniem zmian i gromadzeniem
6 Name:           perl-DBIx-FetchLoop
7 Version:        0.6
8 Release:        1
9 Epoch:          1
10 License:        ?
11 Group:          Development/Languages/Perl
12 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5:  8d09c861458cd34febbac3b3ebb1dbd3
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 DBIx::FetchLoop is a supplemental approach for data retrieval with
21 DBI. Result rows are queued with hash references to previous, current
22 and next rows. Utility functions allow for simplified comparison of a
23 field between previous and current or current and next rows.
24 Additional functions allow you automatically create new fields for
25 aggregating or concatenating based on fields in the resulting dataset.
26
27 %description -l pl
28 Modu³ DBIx::FetchLoop to dodatkowe u³atwienie do odczytywania danych z
29 u¿yciem DBI. Wiersze wyniku s± kolejkowane z referencjami do
30 poprzedniego, bie¿±cego i nastêpnego wiersza. Funkcje narzêdziowe
31 pozwalaj± na uproszczone porównywanie pól pomiêdzy poprzednim a
32 bie¿±cym lub bie¿±cym a nastêpnym wierszem. Dodatkowe funkcje
33 pozwalaj± automatycznie tworzyæ nowe pola do gromadzenia lub ³±czenia
34 bazuj±cego na polach w wynikowym zbiorze danych.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %{perl_vendorlib}/%{pdir}/*.pm
56 %{_mandir}/man3/*
This page took 0.214009 seconds and 3 git commands to generate.