perl-Class-Data-Inheritable-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %define pkgname Class-Data-Inheritable
  2. # Basic Information
  3. Summary: Inheritable, overridable class data
  4. Summary(ja): クラスデータを継承可能、オーバーライド可能にする
  5. Name: perl-%{pkgname}
  6. Version: 0.09
  7. Release: 1%{?_dist_release}
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: yasumichi
  11. License: Artistic or GPL
  12. URL: https://metacpan.org/pod/Class::Data::Inheritable
  13. Source0: https://cpan.metacpan.org/authors/id/R/RS/RSHERER/%{pkgname}-%{version}.tar.gz
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. %{?perl_default_filter}
  17. # Dependency
  18. BuildRequires: perl(ExtUtils::MakeMaker)
  19. Requires: perl >= 2:5.34.0
  20. %description
  21. Class::Data::Inheritable is for creating accessor/mutators to class data.
  22. That is, if you want to store something about your class as a whole (instead
  23. of about a single object). This data is then inherited by your subclasses
  24. and can be overriden.
  25. %prep
  26. %setup -q -n Class-Data-Inheritable-%{version}
  27. %build
  28. perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
  29. make %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. make pure_install DESTDIR=%{buildroot}
  33. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
  34. %{_fixperms} $RPM_BUILD_ROOT
  35. %clean
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %files
  38. %defattr(-,root,root)
  39. %doc Changes README
  40. %{perl_vendorlib}/Class
  41. %{_mandir}/*/*
  42. %changelog
  43. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.09-1
  44. - new upstream release.
  45. - built with perl-5.34.0.
  46. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-3
  47. - rebuilt with perl-5.26.
  48. * Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.08-2
  49. - rebuilt with perl 5.16.3
  50. - installed module to vendor_perl
  51. - added URL tag
  52. * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.08-1
  53. - initial build for Vine Linux