perl-Data-Dump-vl.spec 1.9 KB

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