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