]> git.pld-linux.org Git - packages/perl-Class-DBI-Plugin-RetrieveAll.git/commitdiff
- initial revision
authormigo <migo@pld-linux.org>
Tue, 13 Apr 2004 12:11:06 +0000 (12:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-DBI-Plugin-RetrieveAll.spec -> 1.1

perl-Class-DBI-Plugin-RetrieveAll.spec [new file with mode: 0644]

diff --git a/perl-Class-DBI-Plugin-RetrieveAll.spec b/perl-Class-DBI-Plugin-RetrieveAll.spec
new file mode 100644 (file)
index 0000000..8a7262e
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Class
+%define        pnam    DBI-Plugin-RetrieveAll
+Summary:       Determine type information for columns
+Summary(pl):   Okre¶lanie informacji o typie dla kolumn
+Name:          perl-Class-DBI-Plugin-RetrieveAll
+Version:       1
+Release:       1
+# Same as Perl
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 90683c19c505813a4640f549d33bd5e4
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Class-DBI
+BuildRequires: perl-DBD-SQLite
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows Class::DBI-based classes to query their columns for
+data type information in a database-independent manner.
+
+%description -l pl
+Ten modu³ pozwala klasom opartym na Class::DBI na odpytywanie kolumn
+o informacje o typie w sposób niezale¿ny od bazy danych.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__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)
+%doc Changes
+%{perl_vendorlib}/Class/DBI/Plugin/*
+%{_mandir}/man3/*
This page took 0.064984 seconds and 4 git commands to generate.