[perl-DBD-Firebird] Initial import of perl-DBD-Firebird

Robert Scheck robert at fedoraproject.org
Mon Apr 22 18:42:48 UTC 2013


commit 594dbb733ec984616818eda64f7a9707989a6561
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Mon Apr 22 20:42:39 2013 +0200

    Initial import of perl-DBD-Firebird

 .gitignore             |    1 +
 perl-DBD-Firebird.spec |   53 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 55 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..57bd961 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DBD-Firebird-?.*.tar.gz
diff --git a/perl-DBD-Firebird.spec b/perl-DBD-Firebird.spec
new file mode 100644
index 0000000..fa31fd1
--- /dev/null
+++ b/perl-DBD-Firebird.spec
@@ -0,0 +1,53 @@
+# Filter the Perl extension module
+%{?perl_default_filter}
+
+%define pkgname DBD-Firebird
+
+Summary:        A Firebird interface for perl
+Name:           perl-DBD-Firebird
+Version:        1.11
+Release:        2%{?dist}
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/%{pkgname}/
+Source:         http://search.cpan.org/CPAN/authors/id/M/MA/MARIUZ/%{pkgname}-%{version}.tar.gz
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl >= 5.10.1, perl(DBI) >= 1.41, perl(ExtUtils::MakeMaker)
+BuildRequires:  firebird-devel >= 2.5.1, perl(Test::Exception), perl(Test::More) >= 0.4
+BuildRequires:  perl(base), perl(Carp), perl(constant), perl(Data::Dumper), perl(DBI::DBD)
+BuildRequires:  perl(Encode), perl(Exporter), perl(File::Temp), perl(Getopt::Long), perl(lib)
+
+%description
+DBD::Firebird is a Perl module that works with the DBI module to provide
+access to Firebird databases.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+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' -empty -exec rm -f {} ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+%check
+# Full test coverage requires a live Firebird database (see the README file)
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/DBD/
+%{perl_vendorarch}/auto/DBD/
+%{_mandir}/man3/*.3*
+
+%changelog
+* Fri Apr 19 2013 Robert Scheck <robert at fedoraproject.org> 1.11-2
+- Changes to match with Fedora Packaging Guidelines (#951874)
+
+* Sun Apr 14 2013 Robert Scheck <robert at fedoraproject.org> 1.11-1
+- Upgrade to 1.11
+- Initial spec file for Fedora and Red Hat Enterprise Linux
diff --git a/sources b/sources
index e69de29..7c0b539 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+50b157b0f524ebbcc8952adbf7bc6347  DBD-Firebird-1.11.tar.gz


More information about the scm-commits mailing list