perl-YAML-LibYAML-vl.spec 3.7 KB

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