]> git.pld-linux.org Git - packages/perl-DBD-AnyData.git/blame_incremental - perl-DBD-AnyData.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBD-AnyData.git] / perl-DBD-AnyData.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # don't perform "make test"
4#
5%define pdir DBD
6%define pnam AnyData
7Summary: DBD::AnyData - DBI access to XML, CSV and other formats
8Summary(pl.UTF-8): DBD::AnyData - dostęp DBI do XML-a, CSV i innych formatów
9Name: perl-DBD-AnyData
10Version: 0.09
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 32e8c7300c6917247e70afc85b947308
17URL: http://search.cpan.org/dist/DBD-AnyData/
18%if %{with tests}
19BuildRequires: perl-AnyData
20BuildRequires: perl-CGI
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
27%endif
28BuildRequires: perl-devel >= 1:5.8.0
29BuildRequires: rpm-perlprov >= 4.1-13
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
39files, web logs, etc.), a variety of other kinds of formats (XML, MP3,
40HTML tables), and, for some operations, any DBI accessible database.
41
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.
50
51%prep
52%setup -q -n %{pdir}-%{pnam}-%{version}
53
54%build
55%{__perl} Makefile.PL \
56 INSTALLDIRS=vendor
57%{__make}
58
59%{?with_tests:%{__make} test}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%{perl_vendorlib}/%{pdir}/*.pm
73%{_mandir}/man3/*
This page took 0.066698 seconds and 4 git commands to generate.