11 Star 0 Fork 7

src-openEuler/perl-DB_File

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-DB_File.spec 2.21 KB
一键复制 编辑 原始数据 按行查看 历史
markeryang 提交于 2024-01-03 09:28 . upgrade version to 1.859
Name: perl-DB_File
Version: 1.859
Release: 1
Summary: Perl5 access to Berkeley DB version 1.x
License: GPL+ or Artistic
URL: https://metacpan.org/release/DB_File
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
BuildRequires: coreutils findutils gcc libdb-devel perl-devel perl-generators perl-interpreter perl(Config) perl(ExtUtils::Constant) perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) perl(Carp) perl(Exporter) perl(Fcntl) perl(File::Spec) perl(Tie::Hash) perl(warnings) perl(XSLoader)
BuildRequires: perl(Symbol) perl(Test::More) perl(threads) perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(Fcntl) perl(XSLoader)
%{?perl_default_filter}
%description
DB_File is a module which allows Perl programs to make use of the facilities
provided by Berkeley DB version 1.x (if you have a newer version of DB, you
will be limited to functionality provided by interface of version 1.x). The
interface defined here mirrors the Berkeley DB interface closely.
%package help
Summary: Doc files for %{name}
Buildarch: noarch
%description help
The %{name}-help package contains doc files for %{name}.
%prep
%setup -q -n DB_File-%{version}
find -type f -exec chmod -x {} +
perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' dbinfo
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find '%{buildroot}' -type f -name '*.bs' -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes dbinfo README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/DB_File*
%files help
%{_mandir}/*/*
%changelog
* Wed Jan 3 2024 yanglongkang <yanglongkang@h-partners.com> - 1.859-1
- upgrade version to 1.859
silence clang compiler warnings
* Thu Jul 13 2023 yanglongkang <yanglongkang@h-partners.com> - 1.858-1
- upgrade version to 1.858
* Wed Jan 27 2021 liudabo <liudabo1@huawei.com> - 1.855-1
- upgrade version to 1.855
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 1.853-1
- update version to 1.853
* Sat Sep 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.842-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-DB_File.git
git@gitee.com:src-openeuler/perl-DB_File.git
src-openeuler
perl-DB_File
perl-DB_File
master

搜索帮助