]> git.pld-linux.org Git - packages/perl-DBD-AnyData.git/commitdiff
- new, STBR perl-DBD-AnyData-0_05-1
authorradek <radek@pld-linux.org>
Fri, 9 Aug 2002 00:35:56 +0000 (00:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-DBD-AnyData.spec -> 1.1

perl-DBD-AnyData.spec [new file with mode: 0644]

diff --git a/perl-DBD-AnyData.spec b/perl-DBD-AnyData.spec
new file mode 100644 (file)
index 0000000..e06ed0a
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+# _without_test - perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DBD
+%define        pnam    AnyData
+Summary:       DBD::AnyData -- DBI access to XML, CSV and other formats
+Summary(pl):   DBD::AnyData -- dostêp DBI do XML, CSV i innych formatów
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.05
+Release:       1
+License:       ?
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_with_tests:1}%{!?_with_tests:0}
+BuildRequires: perl-AnyData
+BuildRequires: perl-XML-Parser
+BuildRequires: perl-XML-Twig
+BuildRequires: perl-HTML-Parser
+BuildRequires: perl-HTML-TableExtract
+BuildRequires: perl-CGI
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The DBD::AnyData module provides a DBI/SQL interface to data in many
+formats and from many sources.
+
+Currently supported formats include general format flatfiles (CSV,
+Fixed Length, Tab or Pipe "delimited", etc.), specific formats (passwd
+files, web logs, etc.), a variety of other kinds of formats (XML, Mp3,
+HTML tables), and, for some operations, any DBI accessible database.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{?_with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.046688 seconds and 4 git commands to generate.