2024-01-06 09:56:37 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-YAML-LibYAML
|
2024-01-06 09:56:37 +01:00
|
|
|
Version: 0.63_001
|
|
|
|
Release: 1mamba
|
2024-01-06 09:56:37 +01:00
|
|
|
Summary: An XS Wrapper Module of libyaml
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.cpan.org
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-%{version}.tar.gz
|
|
|
|
#Patch0: %{name}-<pck-version>-<patch-description>.patch
|
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
An XS Wrapper Module of libyaml.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n YAML-LibYAML-%{version}
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
%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 -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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:56:37 +01:00
|
|
|
* Sat Oct 28 2017 Automatic Build System <autodist@mambasoft.it> 0.63_001-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.62_002-2mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Mon Aug 29 2016 Automatic Build System <autodist@mambasoft.it> 0.62_002-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Sun Feb 15 2015 Automatic Build System <autodist@mambasoft.it> 0.59-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Fri Jan 16 2015 Automatic Build System <autodist@mambasoft.it> 0.56-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Fri Dec 12 2014 Automatic Build System <autodist@mambasoft.it> 0.54-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 0.52-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Thu Jul 31 2014 Automatic Build System <autodist@mambasoft.it> 0.44-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:56:37 +01:00
|
|
|
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.41-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 0.39-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 0.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 0.35-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.34-1mamba
|
|
|
|
- package created by autospec
|