[perl-CDB_File/f13/master] Initial import (#656084).

mmckinst mmckinst at fedoraproject.org
Wed Jan 19 23:38:01 UTC 2011


commit 11c4178317067791e736711426e295008bcf4d87
Author: mmckinst <mmckinst at fedroa14.markmck.com>
Date:   Wed Jan 19 18:37:48 2011 -0500

    Initial import (#656084).

 .gitignore         |    1 +
 perl-CDB_File.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1eeddea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CDB_File-0.96.tar.gz
diff --git a/perl-CDB_File.spec b/perl-CDB_File.spec
new file mode 100644
index 0000000..8da3c06
--- /dev/null
+++ b/perl-CDB_File.spec
@@ -0,0 +1,58 @@
+%{?perl_default_filter}
+
+Name:           perl-CDB_File
+Version:        0.96
+Release:        2%{?dist}
+Summary:        Perl extension for access to cdb databases
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CDB_File/
+Source0:        http://www.cpan.org/authors/id/M/MS/MSERGEANT/CDB_File-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Test)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+CDB_File is a module which provides a Perl interface to Dan Berstein's
+cdb package. cdb is a fast, reliable, lightweight package for creating and 
+reading constant databases.
+
+%prep
+%setup -q -n CDB_File-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc ACKNOWLEDGE CHANGES COPYRIGHT README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/CDB_File*
+%{perl_vendorarch}/bun-x.pl
+%{_mandir}/man3/*
+
+%changelog
+* Sat Nov 27 2010 Mark McKinstry <mmckinst at nexcess.net> 0.96-2
+- add perl(Exporter) and perl(Test) as build requirements
+* Mon Nov 22 2010 Mark McKinstry <mmckinst at nexcess.net> 0.96-1
+- Initial packaging using cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..46b9469 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+898ed12e7548930f178dba5ec4a193d3  CDB_File-0.96.tar.gz


More information about the scm-commits mailing list