perl-Class-Gomor-vl.spec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Name: perl-Class-Gomor
  2. Summary: Perl module that implements another class and object builder
  3. Version: 1.03
  4. Release: 1%{?_dist_release}
  5. License: Artistic or GPL+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Class-Gomor/
  8. Source: http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl
  12. BuildRequires: perl(Data::Dumper)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Class-Gomor is a Perl module that implements another class and object builder.
  19. %prep
  20. %setup -q -n Class-Gomor-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS="vendor"
  23. %{__make} %{?_smp_mflags}
  24. %install
  25. %{__rm} -rf %{buildroot}
  26. %{__make} pure_install DESTDIR=%{buildroot}
  27. ### Clean up buildroot
  28. find %{buildroot} -name .packlist -exec %{__rm} {} \;
  29. ### Clean up docs
  30. find examples/ -type f -exec %{__chmod} a-x {} \;
  31. %clean
  32. %{__rm} -rf %{buildroot}
  33. %files
  34. %defattr(-, root, root, 0755)
  35. %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/
  36. %doc %{_mandir}/man3/*.3pm*
  37. %dir %{perl_vendorlib}/Class/
  38. %{perl_vendorlib}/Class/Gomor/
  39. %{perl_vendorlib}/Class/Gomor.pm
  40. %changelog
  41. * Sun Feb 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1
  42. - updated to 1.03
  43. - built with perl 5.16.3
  44. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.02-1
  45. - initial build for Vine Linux