perl-YAML-LibYAML-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: perl-YAML-LibYAML
  2. Version: 0.38
  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. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.38-1
  59. - initial build for Vine Linux
  60. * Fri Jan 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.38-2
  61. - bump to 0.38
  62. * Fri Sep 30 2011 Petr Sabata <contyk@redhat.com> - 0.37-1
  63. - 0.37 bump
  64. - Remove defattr
  65. - Correct BR
  66. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.35-2
  67. - Perl mass rebuild
  68. * Mon Apr 04 2011 Petr Sabata <psabata@redhat.com> - 0.35-1
  69. - 0.35 bump
  70. - Removing obsolete buildroot stuff
  71. * Wed Mar 16 2011 Paul Howarth <paul@city-fan.org> - 0.34-4
  72. - Improve overly-generic package summary
  73. - README is already UTF-8 encoded in version 0.34 so don't try converting it
  74. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-3
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  76. * Wed Sep 29 2010 jkeating - 0.34-2
  77. - Rebuilt for gcc bug 634757
  78. * Fri Sep 23 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.34-1
  79. - update
  80. * Thu Jun 3 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33-1
  81. - update
  82. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-6
  83. - Mass rebuild with perl-5.12.0
  84. * Sat Mar 27 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.32-5
  85. - perl_default_filter, PERL_INSTALL_ROOT => DESTDIR
  86. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.32-4
  87. - rebuild against perl 5.10.1
  88. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-3
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  90. * Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-2
  91. - add BR
  92. * Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.32-1
  93. - Specfile autogenerated by cpanspec 1.78.