perl-Net-MAC-vl.spec 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Name: perl-Net-MAC
  2. Summary: Perl extension for representing and manipulating MAC addresses
  3. Version: 2.103622
  4. Release: 2%{?_dist_release}
  5. License: GPLv2+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Net-MAC/
  8. Source: http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/Net-MAC-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. %description
  14. Perl extension for representing and manipulating MAC addresses.
  15. %prep
  16. %setup -q -n Net-MAC-%{version}
  17. %build
  18. %{__perl} Makefile.PL INSTALLDIRS="vendor"
  19. %{__make} %{?_smp_mflags}
  20. %install
  21. %{__rm} -rf %{buildroot}
  22. %{__make} pure_install DESTDIR=%{buildroot}
  23. ### Clean up buildroot
  24. find %{buildroot} -name .packlist -exec %{__rm} {} \;
  25. %clean
  26. %{__rm} -rf %{buildroot}
  27. %files
  28. %defattr(-, root, root, 0755)
  29. %doc Changes LICENSE MANIFEST META.* README
  30. %doc %{_mandir}/man3/Net::MAC.3pm*
  31. %dir %{perl_vendorlib}/Net/
  32. %{perl_vendorlib}/Net/MAC.pm
  33. %changelog
  34. * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.103622-2
  35. - rebuilt with perl 5.16.3
  36. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.103622-1
  37. - initial build for Vine Linux