1 Star 0 Fork 4

woody2918/perl-Tk-Text-SuperText

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Tk-Text-SuperText.spec 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
woody2918 提交于 2024-02-04 11:00 . update version to 0.12
%global _empty_manifest_terminate_build 0
Name: perl-Tk-Text-SuperText
Version: 0.12
Release: 1
Summary: Improved text widget for Perl/Tk
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Tk-Text-SuperText/
Source0: http://www.cpan.org/authors/id/A/AS/ASB/Tk-Text-SuperText-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 0:5.008008
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Pod) >= 1.0
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Tk) >= 804.030
BuildRequires: perl(Tk::Text)
Requires: perl(Tk) >= 804.030
Requires: perl(Tk::Text)
%description
Tk::Text::SuperText implements many new features over the standard Tk::Text
widget while supporting all it's standard features.Its used simply as the
Tk::Text widget. New Features:
%package help
Summary : Improved text widget for Perl/Tk
Provides: perl-Tk-Text-SuperText-doc
%description help
Tk::Text::SuperText implements many new features over the standard Tk::Text
widget while supporting all it's standard features.Its used simply as the
Tk::Text widget. New Features:
%prep
%setup -q -n Tk-Text-SuperText-%{version}
%build
export PERL_MM_OPT=""
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
export PERL_MM_OPT=""
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
pushd %{buildroot}
touch filelist.lst
if [ -d usr/bin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ];then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ];then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib ];then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files -f filelist.lst
%defattr(-,root,root,-)
%doc CHANGES META.json README
%{perl_vendorlib}/*
%files help
%{_mandir}/*
%changelog
* Sun Feb 04 2024 woody2918 <wudi1@uniontech.com> 0.12-1
- Update verison to 0.12
- further improved POD
- fixed typos
* Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.11-1
- Specfile autogenerated by Perl_Bot
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woody2918/perl-Tk-Text-SuperText.git
git@gitee.com:woody2918/perl-Tk-Text-SuperText.git
woody2918
perl-Tk-Text-SuperText
perl-Tk-Text-SuperText
master

搜索帮助