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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. %define pkgname Class-Data-Inheritable
  2. # Basic Information
  3. Name: perl-%{pkgname}
  4. Version: 0.08
  5. Release: 3%{?_dist_release}
  6. Summary: Inheritable, overridable class data
  7. Summary(ja): クラスデータを継承可能、オーバーライド可能にする
  8. License: Artistic or GPL
  9. Group: Development/Libraries
  10. URL: http://search.cpan.org/~tmtm/Class-Data-Inheritable/
  11. Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/%{pkgname}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. # Dependency
  15. BuildRequires: perl(ExtUtils::MakeMaker)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: yasumichi
  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. #%%description -l ja
  26. #ここに日本語で詳細を記述してください。
  27. %prep
  28. %setup -q -n Class-Data-Inheritable-0.08
  29. %build
  30. perl Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  35. %{__rm} -rf $RPM_BUILD_ROOT
  36. make pure_install DESTDIR=%{buildroot}
  37. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  38. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
  39. %{_fixperms} $RPM_BUILD_ROOT
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-,root,root)
  44. %doc Changes README
  45. %{perl_vendorlib}/Class
  46. %{_mandir}/*/*
  47. %changelog
  48. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-3
  49. - rebuilt with perl-5.26.
  50. * Thu Nov 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.08-2
  51. - rebuilt with perl 5.16.3
  52. - installed module to vendor_perl
  53. - added URL tag
  54. * Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.08-1
  55. - initial build for Vine Linux