commit 043e5e60ea8183887962eb7a9a707c98b6b643f6
Author: Jan Holcapek
Date: Fri Nov 22 10:54:50 2013 +0100
Initial import (#1028521).
.gitignore |1 +
perl-DBD-ODBC.spec | 53
2 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f39fcc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBD-ODBC-1.45.tar.gz
diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec
new file mode 100644
index 000..2d1e7cc
--- /dev/null
+++ b/perl-DBD-ODBC.spec
@@ -0,0 +1,53 @@
+Name: perl-DBD-ODBC
+Version:1.45
+Release:1%{?dist}
+Summary:ODBC Driver for DBI
+License:GPL+ or Artistic
+Group: Development/Libraries
+URL:http://search.cpan.org/dist/DBD-ODBC/
+Source0:
http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Config)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(DBI)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: unixODBC-devel
+Requires: perl(DBI)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+Requires: unixODBC
+
+
+%description
+This module is needed to access ODBC databases from within Perl. The
+module uses the unixODBC manager to connect to the database.
+
+%prep
+%setup -q -n DBD-ODBC-%{version}
+
+%build
+PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes FAQ README TO_DO
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/DBD*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Nov 22 2013 Jan Holcapek 1.45-1
+- Initial import (#1028521).
+
+* Fri Nov 08 2013 Jan Holcapek 1.45-1
+- Specfile autogenerated by cpanspec 1.78.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel