perl-Data-Dump-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define pkgname Data-Dump
  2. # Basic Information
  3. Summary: Pretty printing of data structures
  4. Summary(ja): データ構造をきれいに出力するためのモジュール
  5. Name: perl-%{pkgname}
  6. Version: 1.25
  7. Release: 1%{?_dist_release}
  8. Group: programming
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. License: Artistic or GPL
  13. URL: https://metacpan.org/pod/Data::Dump
  14. Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{pkgname}-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildArch: noarch
  17. BuildRequires: perl(ExtUtils::MakeMaker)
  18. BuildRequires: perl(Test)
  19. Requires: perl
  20. %description
  21. This module provide a few functions that traverse their argument and
  22. produces a string as its result. The string contains Perl code that, when
  23. evaled, produces a deep copy of the original arguments.
  24. %prep
  25. %setup -q -n Data-Dump-%{version}
  26. %build
  27. perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  32. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  33. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  34. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w $RPM_BUILD_ROOT/*
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %check
  39. make test
  40. %files
  41. %defattr(-,root,root)
  42. %doc Changes README
  43. %{perl_vendorlib}/Data/*
  44. %{_mandir}/*/*
  45. %changelog
  46. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.25-1
  47. - new upstream release.
  48. - built with perl-5.34.0.
  49. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.23-1
  50. - new upstream release.
  51. - rebuilt with perl-5.26.
  52. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.22-1
  53. - updated to 1.22
  54. - used %%{perl_vendorlib} instead of %%{perl_sitelib}
  55. - built with perl 5.16.3
  56. * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.20-1
  57. - initial build for Vine Linux