[packages/perl-YAML-PP] initial, 0.39.0
adwol
adwol at pld-linux.org
Sat Mar 1 07:05:27 CET 2025
commit 1ad543cda06e64c32fb32c7bf5cafb8c3c8cf8df
Author: Adam Osuchowski <>
Date: Sat Mar 1 05:38:19 2025 +0100
initial, 0.39.0
perl-YAML-PP.spec | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 113 insertions(+)
---
diff --git a/perl-YAML-PP.spec b/perl-YAML-PP.spec
new file mode 100644
index 0000000..d62d91b
--- /dev/null
+++ b/perl-YAML-PP.spec
@@ -0,0 +1,113 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir YAML
+%define pnam PP
+Summary: YAML::PP - YAML 1.2 processor
+Name: perl-YAML-PP
+Version: 0.39.0
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/YAML/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: 9c0dbd23a4770d13525f1c4f59e5080a
+URL: http://search.cpan.org/dist/YAML-PP/
+BuildRequires: perl-devel >= 1:5.8.1
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+YAML::PP is a modular YAML processor.
+
+It aims to support YAML 1.2 and YAML 1.1. See https://yaml.org/.
+Some (rare) syntax elements are not yet supported
+
+WARNING: Most of the inner API is not stable yet.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-v%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README.md
+%dir %{perl_vendorlib}/YAML/PP
+%dir %{perl_vendorlib}/YAML/PP/Schema
+%dir %{perl_vendorlib}/YAML/PP/Schema/Tie
+%dir %{perl_vendorlib}/YAML/PP/Type
+%dir %{perl_vendorlib}/YAML/PP/Writer
+%attr(755,root,root) %{_bindir}/yamlpp-events
+%attr(755,root,root) %{_bindir}/yamlpp-highlight
+%attr(755,root,root) %{_bindir}/yamlpp-load
+%attr(755,root,root) %{_bindir}/yamlpp-load-dump
+%attr(755,root,root) %{_bindir}/yamlpp-parse-emit
+%{perl_vendorlib}/YAML/PP.pm
+%{perl_vendorlib}/YAML/PP/Common.pm
+%{perl_vendorlib}/YAML/PP/Constructor.pm
+%{perl_vendorlib}/YAML/PP/Dumper.pm
+%{perl_vendorlib}/YAML/PP/Emitter.pm
+%{perl_vendorlib}/YAML/PP/Exception.pm
+%{perl_vendorlib}/YAML/PP/Grammar.pm
+%{perl_vendorlib}/YAML/PP/Highlight.pm
+%{perl_vendorlib}/YAML/PP/Lexer.pm
+%{perl_vendorlib}/YAML/PP/Loader.pm
+%{perl_vendorlib}/YAML/PP/Parser.pm
+%{perl_vendorlib}/YAML/PP/Perl.pm
+%{perl_vendorlib}/YAML/PP/Reader.pm
+%{perl_vendorlib}/YAML/PP/Render.pm
+%{perl_vendorlib}/YAML/PP/Representer.pm
+%{perl_vendorlib}/YAML/PP/Schema.pm
+%{perl_vendorlib}/YAML/PP/Schema/Binary.pm
+%{perl_vendorlib}/YAML/PP/Schema/Catchall.pm
+%{perl_vendorlib}/YAML/PP/Schema/Core.pm
+%{perl_vendorlib}/YAML/PP/Schema/Failsafe.pm
+%{perl_vendorlib}/YAML/PP/Schema/Include.pm
+%{perl_vendorlib}/YAML/PP/Schema/JSON.pm
+%{perl_vendorlib}/YAML/PP/Schema/Merge.pm
+%{perl_vendorlib}/YAML/PP/Schema/Perl.pm
+%{perl_vendorlib}/YAML/PP/Schema/Tie/IxHash.pm
+%{perl_vendorlib}/YAML/PP/Schema/YAML1_1.pm
+%{perl_vendorlib}/YAML/PP/Type/MergeKey.pm
+%{perl_vendorlib}/YAML/PP/Writer.pm
+%{perl_vendorlib}/YAML/PP/Writer/File.pm
+%{_mandir}/man3/YAML::PP.3pm*
+%{_mandir}/man3/YAML::PP::Common.3pm*
+%{_mandir}/man3/YAML::PP::Constructor.3pm*
+%{_mandir}/man3/YAML::PP::Emitter.3pm*
+%{_mandir}/man3/YAML::PP::Grammar.3pm*
+%{_mandir}/man3/YAML::PP::Highlight.3pm*
+%{_mandir}/man3/YAML::PP::Perl.3pm*
+%{_mandir}/man3/YAML::PP::Schema.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Binary.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Catchall.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Core.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Failsafe.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Include.3pm*
+%{_mandir}/man3/YAML::PP::Schema::JSON.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Merge.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Perl.3pm*
+%{_mandir}/man3/YAML::PP::Schema::Tie::IxHash.3pm*
+%{_mandir}/man3/YAML::PP::Schema::YAML1_1.3pm*
+%{_mandir}/man3/YAML::PP::Type::MergeKey.3pm*
+%{_mandir}/man3/YAML::PP::Writer.3pm*
+%{_mandir}/man3/YAML::PP::Writer::File.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-YAML-PP.git/commitdiff/1ad543cda06e64c32fb32c7bf5cafb8c3c8cf8df
More information about the pld-cvs-commit
mailing list