123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- Name: perl-Net-MAC-Vendor
- Summary: Lookup the vendor for a MAC address
- Version: 1.18
- Release: 1%{?_dist_release}
- License: Artistic or GPL
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/Net-MAC-Vendor/
- Source: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Net-MAC-Vendor-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildArch: noarch
- BuildRequires: perl
- BuildRequires: perl(ExtUtils::MakeMaker)
- %description
- Lookup the vendor for a MAC address.
- %prep
- %setup -q -n Net-MAC-Vendor-%{version}
- %build
- %{__perl} Makefile.PL INSTALLDIRS="vendor"
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf %{buildroot}
- %{__make} pure_install DESTDIR=%{buildroot}
- ### Clean up buildroot
- find %{buildroot} -name .packlist -exec %{__rm} {} \;
- ### Clean up docs
- find examples/ -type f -exec %{__chmod} a-x {} \;
- %clean
- %{__rm} -rf %{buildroot}
- %files
- %defattr(-, root, root, 0755)
- %doc Changes LICENSE MANIFEST META.yml README examples/
- %doc %{_mandir}/man3/Net::MAC::Vendor.3*
- %dir %{perl_vendorlib}/Net/MAC/
- %{perl_vendorlib}/Net/MAC/Vendor.pm
- %changelog
- * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.18-1
- - initial build for Vine Linux
|