mmckinst pushed to perl-CDB_File (el5). "Initial import (#656084)."

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Jul 4 14:51:02 UTC 2015


From 798e121599e89f6c90bb09d977b6686794d830cf Mon Sep 17 00:00:00 2001
From: mmckinst <mmckinst at fedroa14.markmck.com>
Date: Wed, 19 Jan 2011 18:23:58 -0500
Subject: Initial import (#656084).


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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-CDB_File.git/commit/?h=el5&id=798e121599e89f6c90bb09d977b6686794d830cf


More information about the perl-devel mailing list