]> git.pld-linux.org Git - packages/perl-DBD-AnyData.git/blame - perl-DBD-AnyData.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBD-AnyData.git] / perl-DBD-AnyData.spec
CommitLineData
b2fcbef6 1#
2# Conditional build:
994973f9 3%bcond_without tests # don't perform "make test"
e02fd73c 4#
a89db382 5%define pdir DBD
6%define pnam AnyData
e02fd73c 7Summary: DBD::AnyData - DBI access to XML, CSV and other formats
6d39ac61 8Summary(pl.UTF-8): DBD::AnyData - dostęp DBI do XML-a, CSV i innych formatów
e02fd73c 9Name: perl-DBD-AnyData
a6d97e92 10Version: 0.09
11Release: 1
994973f9 12# same as perl
6dd3ac0f 13License: GPL v1+ or Artistic
b2fcbef6 14Group: Development/Languages/Perl
566cdc39 15Source0: http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
a6d97e92 16# Source0-md5: 32e8c7300c6917247e70afc85b947308
566cdc39 17URL: http://search.cpan.org/dist/DBD-AnyData/
994973f9 18%if %{with tests}
b2fcbef6 19BuildRequires: perl-AnyData
b2fcbef6 20BuildRequires: perl-CGI
994973f9
JB
21BuildRequires: 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
b2fcbef6 27%endif
9bedb097 28BuildRequires: perl-devel >= 1:5.8.0
6c6c0811 29BuildRequires: rpm-perlprov >= 4.1-13
b2fcbef6 30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34The DBD::AnyData module provides a DBI/SQL interface to data in many
35formats and from many sources.
36
37Currently supported formats include general format flatfiles (CSV,
38Fixed Length, Tab or Pipe "delimited", etc.), specific formats (passwd
d0fa663e 39files, web logs, etc.), a variety of other kinds of formats (XML, MP3,
b2fcbef6 40HTML tables), and, for some operations, any DBI accessible database.
41
9f85aa09
JR
42%description -l pl.UTF-8
43Moduł DBD::AnyData udostępnia interfejs DBI/SQL do danych w wielu
44formatach, pobieranych z wielu źródeł. Aktualnie obsługiwane formaty
45zawierają ogólne sformatowane pliki (CSV, z polami o stałej długości,
46oddzielonymi tabami lub znakiem |, itp.), określone formaty (pliki
47passwd, logi serwera WWW itp.), wiele innych rodzajów formatów (XML,
48mp3, tabele HTML) oraz, dla niektórych operacji, dowolne bazy danych
49dostępne przez DBI.
b2fcbef6 50
51%prep
52%setup -q -n %{pdir}-%{pnam}-%{version}
53
54%build
6c6c0811 55%{__perl} Makefile.PL \
0a740f1d 56 INSTALLDIRS=vendor
b2fcbef6 57%{__make}
e02fd73c 58
994973f9 59%{?with_tests:%{__make} test}
b2fcbef6 60
61%install
62rm -rf $RPM_BUILD_ROOT
63
994973f9
JB
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
b2fcbef6 66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
6c6c0811 72%{perl_vendorlib}/%{pdir}/*.pm
b2fcbef6 73%{_mandir}/man3/*
This page took 0.084514 seconds and 4 git commands to generate.