Rev | Line | |
---|
[5836] | 1 | Name: perl-Net-MAC-Vendor |
---|
| 2 | Summary: Lookup the vendor for a MAC address |
---|
| 3 | Version: 1.18 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: Artistic or GPL |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Net-MAC-Vendor/ |
---|
| 8 | |
---|
| 9 | Source: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Net-MAC-Vendor-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl |
---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Lookup the vendor for a MAC address. |
---|
| 18 | |
---|
| 19 | %prep |
---|
| 20 | %setup -q -n Net-MAC-Vendor-%{version} |
---|
| 21 | |
---|
| 22 | %build |
---|
| 23 | %{__perl} Makefile.PL INSTALLDIRS="vendor" |
---|
| 24 | %{__make} %{?_smp_mflags} |
---|
| 25 | |
---|
| 26 | %install |
---|
| 27 | %{__rm} -rf %{buildroot} |
---|
| 28 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
| 29 | |
---|
| 30 | ### Clean up buildroot |
---|
| 31 | find %{buildroot} -name .packlist -exec %{__rm} {} \; |
---|
| 32 | |
---|
| 33 | ### Clean up docs |
---|
| 34 | find examples/ -type f -exec %{__chmod} a-x {} \; |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | %{__rm} -rf %{buildroot} |
---|
| 38 | |
---|
| 39 | %files |
---|
| 40 | %defattr(-, root, root, 0755) |
---|
| 41 | %doc Changes LICENSE MANIFEST META.yml README examples/ |
---|
| 42 | %doc %{_mandir}/man3/Net::MAC::Vendor.3* |
---|
| 43 | %dir %{perl_vendorlib}/Net/MAC/ |
---|
| 44 | %{perl_vendorlib}/Net/MAC/Vendor.pm |
---|
| 45 | |
---|
| 46 | %changelog |
---|
| 47 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.18-1 |
---|
| 48 | - initial build for Vine Linux |
---|
Note: See
TracBrowser
for help on using the repository browser.