perl-Class-Inspector-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %define pkgname Class-Inspector
  2. # Basic Information
  3. Summary: Get information about a class and its structure
  4. Summary(ja): クラスおよびその構造について情報を得る
  5. Name: perl-%{pkgname}
  6. Version: 1.36
  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/Class::Inspector
  14. Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{pkgname}-%{version}.tar.gz
  15. BuildArch: noarch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. # Dependency
  18. BuildRequires: perl(ExtUtils::MakeMaker)
  19. Requires: perl >= 2:5.34.0
  20. %{?perl_default_filter}
  21. %description
  22. Class::Inspector allows you to get information about a loaded class. Most or
  23. all of this information can be found in other ways, but they aren't always
  24. very friendly, and usually involve a relatively high level of Perl wizardry,
  25. or strange and unusual looking code. Class::Inspector attempts to provide an
  26. easier, more friendly interface to this information.
  27. %prep
  28. %setup -q -n %{pkgname}-%{version}
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  31. make %{?_smp_mflags}
  32. %install
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %{__make} pure_install DESTDIR=${RPM_BUILD_ROOT}
  35. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  36. %{_fixperms} $RPM_BUILD_ROOT/*
  37. %check
  38. make test
  39. %clean
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %files
  42. %defattr(-,root,root)
  43. %license LICENSE
  44. %doc Changes README
  45. %{perl_vendorlib}/Class
  46. %{_mandir}/*/*
  47. %changelog
  48. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
  49. - new upstream release.
  50. - built with perl-5.34.0.
  51. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.34-1
  52. - new upstream release.
  53. - rebuilt with perl-5.26.
  54. * Sat Nov 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.28-1
  55. - updated to 1.28
  56. - built with perl 5.16.3
  57. - installed modules to vendor_perl directory
  58. - added URL
  59. * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.25-1
  60. - initial build for Vine Linux