perl-YAML-Syck-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Name: perl-YAML-Syck
  2. Version: 1.17
  3. Release: 1%{?_dist_release}
  4. Summary: Fast, lightweight YAML loader and dumper
  5. License: BSD and MIT
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/YAML-Syck/
  8. Source0: http://www.cpan.org/authors/id/A/AV/AVAR/YAML-Syck-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(Devel::Leak)
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(JSON)
  13. BuildRequires: perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: shaolin
  18. %{?perl_default_filter}
  19. %description
  20. This module provides a Perl interface to the libsyck data serialization
  21. library. It exports the Dump and Load functions for converting Perl data
  22. structures to YAML strings, and the other way around.
  23. %prep
  24. %setup -q -n YAML-Syck-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  32. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  33. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  34. %{_fixperms} $RPM_BUILD_ROOT/*
  35. %check
  36. make test
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc Changes COMPATIBILITY COPYING README
  42. %{perl_vendorarch}/auto/*
  43. %{perl_vendorarch}/YAML*
  44. %{perl_vendorarch}/JSON*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.17-1
  48. - initial build for Vine Linux
  49. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  51. * Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 1.17 -3
  52. - Perl mass rebuild
  53. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Tue Dec 07 2010 Steven Pritchard <steve@kspei.com> 1.17-1
  56. - Update to 1.17.
  57. - Update Source0 URL.
  58. - BR JSON (for tests).
  59. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-4
  60. - Mass rebuild with perl-5.12.0
  61. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.07-3
  62. - rebuild against perl 5.10.1
  63. * Tue Oct 6 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-2
  64. - fix license
  65. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.07-1
  66. - auto-update to 1.07 (by cpan-spec-update 0.01)
  67. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Mon Jun 09 2008 Steven Pritchard <steve@kspei.com> 1.05-1
  72. - Update to 1.05.
  73. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.04-2
  74. - rebuild for new perl (again)
  75. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 1.04-1
  76. - Update to 1.04.
  77. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.01-3
  78. - Autorebuild for GCC 4.3
  79. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-2
  80. - rebuild for new perl
  81. * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1.01-1
  82. - Update to 1.01.
  83. * Tue Oct 16 2007 Steven Pritchard <steve@kspei.com> 0.98-1
  84. - Update to 0.98.
  85. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.97-1
  86. - Update to 0.97.
  87. * Sun Aug 12 2007 Steven Pritchard <steve@kspei.com> 0.96-1
  88. - Update to 0.96.
  89. * Fri Aug 03 2007 Steven Pritchard <steve@kspei.com> 0.95-1
  90. - Update to 0.95.
  91. * Fri Jul 13 2007 Steven Pritchard <steve@kspei.com> 0.94-1
  92. - Update to 0.94.
  93. * Wed Jun 27 2007 Steven Pritchard <steve@kspei.com> 0.91-1
  94. - Update to 0.91.
  95. * Sat May 19 2007 Steven Pritchard <steve@kspei.com> 0.85-1
  96. - Update to 0.85.
  97. * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.82-3
  98. - add perl split BR's
  99. * Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.82-2
  100. - bump
  101. * Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.82-1
  102. - Specfile autogenerated by cpanspec 1.69.1.
  103. - Remove explicit build dependency on perl.
  104. - Include JSON module.
  105. - BR Devel::Leak (for tests).