2024-01-06 08:47:29 +01:00
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name : perl-Curses
2024-01-06 08:47:29 +01:00
Version : 1.44
2024-01-06 08:47:29 +01:00
Release : 2mamba
2024-01-06 08:47:29 +01:00
Summary : Curses - Terminal screen handling and optimization
Group : System/Libraries/Perl
Vendor : openmamba
Distribution : openmamba
2024-01-06 08:47:29 +01:00
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
2024-01-06 08:47:29 +01:00
URL : https://www.cpan.org/
Source : https://cpan.metacpan.org/modules/by-module/Curses/Curses-%{version} .tar.gz
2024-01-06 08:47:29 +01:00
License : GPL
Requires : perl >= %perl_major_ver
BuildRequires : perl-devel >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
BuildRequires : libncurses-devel
2024-01-06 08:47:29 +01:00
BuildRequires : libperl
2024-01-06 08:47:29 +01:00
BuildRequires : perl-devel
## AUTOBUILDREQ-END
2024-01-06 08:47:29 +01:00
BuildRequires : perl >= 2:5.36.0
2024-01-06 08:47:29 +01:00
%description
Curses is the interface between Perl and your system's curses(3) library.
2024-01-06 08:47:29 +01:00
For descriptions on the usage of a given function, variable, or constant, consult your system's documentation, as such information invariably varies (:-) between different curses(3) libraries and operating systems. This document describes the interface itself, and assumes that you already know how your system' s curses(3) library works.
2024-01-06 08:47:29 +01:00
%prep
%setup -q -n Curses-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make %{?_smp_mflags}
%make test
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall _perl
packlist=`find %{buildroot} -name .packlist`
[ -z " $ p a c k l i s t " ] && exit 1 || cat $packlist | \
sed " s , % b u i l d r o o t , , g ; s , . * / m a n / . * , & . g z , g " | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,' `
for dir in `find %{buildroot} -type d | grep $strid`; do
echo " % d i r $ { d i r # % b u i l d r o o t } " >> .packlist
done
2024-01-06 08:47:29 +01:00
find %{buildroot} -name *.so -exec chmod u+w {} \;
2024-01-06 08:47:29 +01:00
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
rm -f .packlist
%files -f .packlist
%defattr (-,root,root)
%changelog
2024-01-06 08:47:29 +01:00
* Sat Apr 15 2023 Sdk Build System <sdk@mambasoft.it> 1.44-2mamba
- rebuilt with perl 5.36.0
2024-01-06 08:47:29 +01:00
* Wed Mar 08 2023 Automatic Build System <autodist@mambasoft.it> 1.44-1mamba
- automatic version update by autodist
2024-01-06 08:47:29 +01:00
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 1.43-1mamba
- automatic version update by autodist
2024-01-06 08:47:29 +01:00
* Sun Aug 21 2022 Automatic Build System <autodist@mambasoft.it> 1.41-1mamba
- automatic version update by autodist
2024-01-06 08:47:29 +01:00
* Fri Aug 12 2022 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
- automatic version update by autodist
2024-01-06 08:47:29 +01:00
* Mon Jul 26 2021 Automatic Build System <autodist@mambasoft.it> 1.38-1mamba
- automatic version update by autodist
2024-01-06 08:47:29 +01:00
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
- automatic update by autodist
2024-01-06 08:47:29 +01:00
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-1mamba
- update to 1.36
2024-01-06 08:47:29 +01:00
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.32-2mamba
- rebuilt with perl 5.24
2024-01-06 08:47:29 +01:00
* Tue Sep 09 2014 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
- automatic update by autodist
2024-01-06 08:47:29 +01:00
* Tue May 27 2014 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
- automatic update by autodist
2024-01-06 08:47:29 +01:00
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 1.29-1mamba
- automatic update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28-2mamba
- perl 5.16 mass rebuild
* Wed Jan 27 2010 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.27-1mamba
- automatic update by autodist
* Sat Jan 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.26-1mamba
- automatic update by autodist
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23-2mamba
- automatic rebuild by autodist
* Wed Jul 02 2008 gil <puntogil@libero.it> 1.23-1mamba
- package created by autospec