2024-01-06 09:11:02 +01:00
|
|
|
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
|
|
|
Name: perl-IO-Tty
|
2024-01-06 09:11:03 +01:00
|
|
|
Version: 1.18
|
|
|
|
Release: 1mamba
|
2024-01-06 09:11:02 +01:00
|
|
|
Summary: IO::Tty and IO::Pty provide an interface to pseudo tty's
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IO-Tty-%{version}.tar.gz
|
2024-01-06 09:11:02 +01:00
|
|
|
URL: https://www.cpan.org
|
2024-01-06 09:11:02 +01:00
|
|
|
License: GPL
|
2024-01-06 09:11:02 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:11:03 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:11:02 +01:00
|
|
|
BuildRequires: perl-devel >= %PERL_VERSION
|
|
|
|
Requires: perl >= %PERL_VERSION
|
|
|
|
|
|
|
|
%description
|
|
|
|
IO::Tty and IO::Pty provide an interface to pseudo tty's.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n IO-Tty-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
2024-01-06 09:11:02 +01:00
|
|
|
%ifnarch x86_64 arm
|
2024-01-06 09:11:02 +01:00
|
|
|
make test
|
2024-01-06 09:11:02 +01:00
|
|
|
%endif
|
2024-01-06 09:11:02 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm -f $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:11:03 +01:00
|
|
|
* Tue Nov 28 2023 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:11:03 +01:00
|
|
|
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 1.17-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13_01-2mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Wed Aug 12 2015 Automatic Build System <autodist@mambasoft.it> 1.13_01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Fri May 09 2014 Automatic Build System <autodist@mambasoft.it> 1.11_01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:11:02 +01:00
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Thu Apr 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1mamba
|
|
|
|
- update to 1.10
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Sep 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-1mamba
|
|
|
|
- update to 1.07
|
|
|
|
|
|
|
|
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.02-2qilnx
|
|
|
|
- changed perl version check to non strict (>=)
|
|
|
|
|
|
|
|
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.02-1qilnx
|
|
|
|
- First build
|