From abf85a5ddec2e5edc205b8ecf496dad7db574a21 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:56:49 +0100 Subject: [PATCH] automatic version update by autodist [release 1.27-1mamba;Fri May 24 2013] --- README.md | 4 ++ perl-YAML-Syck.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 perl-YAML-Syck.spec diff --git a/README.md b/README.md index 48fba0c..84d960e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-YAML-Syck +This module provides a Perl interface to the libsyck data serialization library. It exports the Dump and Load functions for converting Perl data structures to YAML strings, and the other way around. + +NOTE: If you are working with other language's YAML/Syck bindings (such as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before calling the Load/Dump functions. The default setting is for preserving backward-compatibility with YAML.pm. + diff --git a/perl-YAML-Syck.spec b/perl-YAML-Syck.spec new file mode 100644 index 0000000..4e2bd30 --- /dev/null +++ b/perl-YAML-Syck.spec @@ -0,0 +1,94 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-YAML-Syck +Version: 1.27 +Release: 1mamba +Summary: YAML::Syck - Fast, lightweight YAML loader and dumper +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/YAML/YAML-Syck-%{version}.tar.gz +License: Artistic +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module provides a Perl interface to the libsyck data serialization library. It exports the Dump and Load functions for converting Perl data structures to YAML strings, and the other way around. + +NOTE: If you are working with other language's YAML/Syck bindings (such as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before calling the Load/Dump functions. The default setting is for preserving backward-compatibility with YAML.pm. + +%prep +%setup -q -n YAML-Syck-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%ifnarch arm +%make test +%endif + +%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 +* Fri May 24 2013 Automatic Build System 1.27-1mamba +- automatic version update by autodist + +* Tue Mar 12 2013 Automatic Build System 1.25-1mamba +- automatic version update by autodist + +* Thu Feb 28 2013 Automatic Build System 1.23-1mamba +- automatic version update by autodist + +* Tue Jan 08 2013 Automatic Build System 1.22-1mamba +- automatic version update by autodist + +* Sun Nov 11 2012 Silvan Calarco 1.21-2mamba +- perl 5.16 mass rebuild + +* Thu Oct 11 2012 Automatic Build System 1.21-1mamba +- automatic version update by autodist + +* Tue Aug 07 2012 Automatic Build System 1.20-1mamba +- automatic version update by autodist + +* Sun Nov 06 2011 Automatic Build System 1.18-1mamba +- automatic version update by autodist + +* Thu Mar 17 2011 Automatic Build System 1.17-1mamba +- automatic update by autodist + +* Fri May 01 2009 Automatic Build System 1.07-1mamba +- automatic update by autodist + +* Thu Nov 06 2008 Silvan Calarco 1.05-2mamba +- automatic rebuild by autodist + +* Sat Oct 25 2008 gil 1.05-1mamba +- update to 1.05 + +* Mon Nov 12 2007 Aleph0 0.99-1mamba +- package created by autospec