diff --git a/Tk-Text-SuperText-0.11.tar.gz b/Tk-Text-SuperText-0.11.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6c877ccefb7779088c1ab66310ad062b9ee7fe37 Binary files /dev/null and b/Tk-Text-SuperText-0.11.tar.gz differ diff --git a/perl-Tk-Text-SuperText.spec b/perl-Tk-Text-SuperText.spec new file mode 100644 index 0000000000000000000000000000000000000000..c22bce6413d4b3ae529d4f433bf355de9440c7d6 --- /dev/null +++ b/perl-Tk-Text-SuperText.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Tk-Text-SuperText +Version: 0.11 +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 May 23 2021 Perl_Bot 0.11-1 +- Specfile autogenerated by Perl_Bot