126 Star 0 Fork 4

src-openEuler/perl-Config-IniFiles

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Config-IniFiles.spec 2.40 KB
一键复制 编辑 原始数据 按行查看 历史
%define mod_name Config-IniFiles
Name: perl-%{mod_name}
Version: 3.000003
Release: 3
Summary: A module for reading .ini-style configuration files
# LICENSE: GPL+ or Artistic
# lib/Config/IniFiles.pm: GPL+ or Artistic
## Not distributed in a binary package
# t/30parameters-with-empty-values.t: MIT
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{mod_name}-%{version}.tar.gz
BuildRequires: coreutils findutils make perl-interpreter perl-generators perl(Module::Build) >= 0.36
# Module::Build::Compat not used, we run Build.PL
BuildRequires: perl(strict)
# Test::Run::CmdLine::Iface not used
BuildRequires: perl(warnings) sed
# Run-time:
BuildRequires: perl(Carp) perl(Fcntl) perl(File::Basename) perl(File::Temp) perl(IO::Scalar) >= 2.109 perl(List::Util) >= 1.33 perl(Symbol) perl(vars)
# Tests:
BuildRequires: perl(base) perl(English) perl(Exporter) perl(File::Spec) perl(IO::File) perl(IO::Handle) perl(IPC::Open3) perl(lib) perl(parent) perl(Scalar::Util) perl(Test::More)
BuildArch: noarch
# Not autodetected. Found in lib/Config/IniFiles.pm:2761
Requires: perl(IO::Scalar) >= 2.109
# Also not autodetected
Requires: perl(List::Util) >= 1.33
# Filter under-specified requires
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(List::MoreUtils\\)$
%description
Config::IniFiles is a module intended to make life easier for
those who rely on flat configuration files.
%prep
%autosetup -n %{mod_name}-%{version} -p1
# Normalize end-of-lines
sed -i -e 's/\r$//' Changes OLD-Changes.txt
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*
%check
./Build test
%files
%license LICENSE
%doc Changes OLD-Changes.txt README
%{perl_vendorlib}/Config/
%{_mandir}/man3/*.3pm*
%changelog
* Tue Jan 14 2025 Funda Wang <fundawang@yeah.net> - 3.000003-3
- drop useless perl(:MODULE_COMPAT) requirement
* Tue Oct 25 2022 huyubiao <huyubiao@huawei.com> - 3.000003-2
- define mod_name to opitomize the specfile
* Thu Jul 30 2020 wenzhanli<wenzhanli2@huawei.com> - 3.000003-1
- Type:NAE
- ID:NA
- SUG:NA
- DESC:update version 3.000003
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.98-4
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Config-IniFiles.git
git@gitee.com:src-openeuler/perl-Config-IniFiles.git
src-openeuler
perl-Config-IniFiles
perl-Config-IniFiles
openEuler-25.03

搜索帮助