2024-01-06 09:56:57 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-YAML-Tiny
|
2024-01-06 09:56:58 +01:00
|
|
|
Version: 1.74
|
2024-01-06 09:56:57 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 09:56:57 +01:00
|
|
|
Summary: YAML::Tiny - Read/Write YAML files with as little code as possible
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:56:57 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/YAML/YAML-Tiny-%{version}.tar.gz
|
2024-01-06 09:56:57 +01:00
|
|
|
License: Artistic, GPL
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
YAML::Tiny - Read/Write YAML files with as little code as possible
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q -n YAML-Tiny-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%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 $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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:56:58 +01:00
|
|
|
* Thu Mar 23 2023 Automatic Build System <autodist@mambasoft.it> 1.74-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:56:57 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.73-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:56:57 +01:00
|
|
|
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.51-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Tue May 01 2012 Automatic Build System <autodist@mambasoft.it> 1.51-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 05 2011 Automatic Build System <autodist@mambasoft.it> 1.50-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 1.48-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 31 2011 Automatic Build System <autodist@mambasoft.it> 1.47-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 16 2010 Automatic Build System <autodist@mambasoft.it> 1.46-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 11 2010 Automatic Build System <autodist@mambasoft.it> 1.45_02-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 1.44-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 1.43-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 1.42-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 16 2010 Automatic Build System <autodist@mambasoft.it> 1.41-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 01 2009 Automatic Build System <autodist@mambasoft.it> 1.40-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 22 2009 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-1mamba
|
|
|
|
- package created by autospec
|