perl-YAML-LibYAML-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Name: perl-YAML-LibYAML
  2. Version: 0.78
  3. Release: 1%{?_dist_release}
  4. Summary: Perl YAML Serialization using XS and libyaml
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/YAML-LibYAML/
  8. Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-LibYAML-%{version}.tar.gz
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildRequires: perl(B::Deparse)
  12. BuildRequires: perl(base)
  13. BuildRequires: perl(constant)
  14. BuildRequires: perl(Cwd)
  15. BuildRequires: perl(Exporter)
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. BuildRequires: perl(File::Find)
  18. BuildRequires: perl(File::Path)
  19. BuildRequires: perl(File::Spec)
  20. BuildRequires: perl(Test::Builder)
  21. BuildRequires: perl(Test::Builder::Module)
  22. BuildRequires: perl(Test::More)
  23. # Tests only
  24. BuildRequires: perl(Devel::Peek)
  25. BuildRequires: perl(File::Path)
  26. BuildRequires: perl(Scalar::Util)
  27. BuildRequires: perl(Test::Base)
  28. BuildRequires: perl(Test::Base::Filter)
  29. BuildRequires: perl(Tie::Array)
  30. BuildRequires: perl(Tie::Hash)
  31. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  32. %{?perl_default_filter}
  33. %description
  34. Kirill Siminov's "libyaml" is arguably the best YAML
  35. implementation. The C library is written precisely to the YAML 1.1
  36. specification. It was originally bound to Python and was later
  37. bound to Ruby.
  38. %prep
  39. %setup -q -n YAML-LibYAML-%{version}
  40. %build
  41. %{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="%{optflags}"
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf %{buildroot}
  45. make pure_install DESTDIR=%{buildroot}
  46. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  47. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  48. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  49. %{_fixperms} %{buildroot}/*
  50. %check
  51. make test
  52. %clean
  53. rm -rf %{buildroot}
  54. %files
  55. %doc Changes README
  56. %{perl_archlib}/auto/*
  57. %{perl_archlib}/YAML*
  58. %{_mandir}/man3/*
  59. %changelog
  60. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.78-1
  61. - new upstream release.
  62. - rebuilt with perl-5.26.
  63. * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.54-1
  64. - updated to 0.54
  65. - built with perl 5.16.3
  66. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.38-1
  67. - initial build for Vine Linux
  68. * Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.38-2
  69. - bump to 0.38
  70. * Fri Sep 30 2011 Petr Sabata <contyk@redhat.com> - 0.37-1
  71. - 0.37 bump
  72. - Remove defattr
  73. - Correct BR
  74. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.35-2
  75. - Perl mass rebuild
  76. * Mon Apr 04 2011 Petr Sabata <psabata@redhat.com> - 0.35-1
  77. - 0.35 bump
  78. - Removing obsolete buildroot stuff
  79. * Wed Mar 16 2011 Paul Howarth <paul@city-fan.org> - 0.34-4
  80. - Improve overly-generic package summary
  81. - README is already UTF-8 encoded in version 0.34 so don't try converting it
  82. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  84. * Wed Sep 29 2010 jkeating - 0.34-2
  85. - Rebuilt for gcc bug 634757
  86. * Thu Sep 23 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.34-1
  87. - update
  88. * Thu Jun 3 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33-1
  89. - update
  90. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-6
  91. - Mass rebuild with perl-5.12.0
  92. * Sat Mar 27 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.32-5
  93. - perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
  94. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.32-4
  95. - rebuild against perl 5.10.1
  96. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-3
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  98. * Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-2
  99. - add BR
  100. * Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-1
  101. - Specfile autogenerated by cpanspec 1.78.