3 %bcond_without tests # don't perform "make test"
7 Summary: DBD::AnyData - DBI access to XML, CSV and other formats
8 Summary(pl.UTF-8): DBD::AnyData - dostęp DBI do XML-a, CSV i innych formatów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 32e8c7300c6917247e70afc85b947308
17 URL: http://search.cpan.org/dist/DBD-AnyData/
19 BuildRequires: perl-AnyData
20 BuildRequires: perl-CGI
21 BuildRequires: perl-DBD-CSV
22 # HTML and XML tests currently disabled
23 #BuildRequires: perl-HTML-Parser
24 #BuildRequires: perl-HTML-TableExtract
25 #BuildRequires: perl-XML-Parser
26 #BuildRequires: perl-XML-Twig
28 BuildRequires: perl-devel >= 1:5.8.0
29 BuildRequires: rpm-perlprov >= 4.1-13
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 The DBD::AnyData module provides a DBI/SQL interface to data in many
35 formats and from many sources.
37 Currently supported formats include general format flatfiles (CSV,
38 Fixed Length, Tab or Pipe "delimited", etc.), specific formats (passwd
39 files, web logs, etc.), a variety of other kinds of formats (XML, MP3,
40 HTML tables), and, for some operations, any DBI accessible database.
42 %description -l pl.UTF-8
43 Moduł DBD::AnyData udostępnia interfejs DBI/SQL do danych w wielu
44 formatach, pobieranych z wielu źródeł. Aktualnie obsługiwane formaty
45 zawierają ogólne sformatowane pliki (CSV, z polami o stałej długości,
46 oddzielonymi tabami lub znakiem |, itp.), określone formaty (pliki
47 passwd, logi serwera WWW itp.), wiele innych rodzajów formatów (XML,
48 mp3, tabele HTML) oraz, dla niektórych operacji, dowolne bazy danych
52 %setup -q -n %{pdir}-%{pnam}-%{version}
55 %{__perl} Makefile.PL \
59 %{?with_tests:%{__make} test}
62 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %{perl_vendorlib}/%{pdir}/*.pm