forked from pool/perl-Net-IP
		
	OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-IP?expand=0&rev=10
		
			
				
	
	
		
			77 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
| #
 | |
| # spec file for package perl-Net-IP (Version 1.25)
 | |
| #
 | |
| # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | |
| #
 | |
| # All modifications and additions to the file contributed by third parties
 | |
| # remain the property of their copyright owners, unless otherwise agreed
 | |
| # upon. The license for this file, and modifications and additions to the
 | |
| # file, is the same license as for the pristine package itself (unless the
 | |
| # license for the pristine package is not an Open Source License, in which
 | |
| # case the license is the MIT License). An "Open Source License" is a
 | |
| # license that conforms to the Open Source Definition (Version 1.9)
 | |
| # published by the Open Source Initiative.
 | |
| 
 | |
| # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | |
| #
 | |
| 
 | |
| # norootforbuild
 | |
| 
 | |
| 
 | |
| Name:           perl-Net-IP
 | |
| Url:            http://cpan.org/modules/by-module/Net/
 | |
| License:        Artistic
 | |
| Group:          Development/Libraries/Perl
 | |
| Provides:       perl_Net-IP
 | |
| Obsoletes:      perl_Net-IP
 | |
| Requires:       perl = %{perl_version}
 | |
| AutoReqProv:    on
 | |
| Summary:        allow easy manipulation of IPv4 and IPv6 addresses
 | |
| Version:        1.25
 | |
| Release:        60
 | |
| Source:         Net-IP-%{version}.tar.bz2
 | |
| Patch:          %{name}-%{version}-zero_address.diff
 | |
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | |
| BuildRequires:  perl
 | |
| 
 | |
| %description
 | |
| This is the Net::IP module, designed to allow easy manipulation of IPv4
 | |
| and IPv6 addresses.
 | |
| 
 | |
| 
 | |
| 
 | |
| Authors:
 | |
| --------
 | |
|     Manuel Valente
 | |
| 
 | |
| %prep
 | |
| %setup -n Net-IP-%{version} -q
 | |
| %patch
 | |
| 
 | |
| %build
 | |
| perl Makefile.PL
 | |
| make %{?_smp_mflags}
 | |
| 
 | |
| %check
 | |
| make test
 | |
| 
 | |
| %install
 | |
| make DESTDIR=$RPM_BUILD_ROOT install_vendor
 | |
| %perl_process_packlist
 | |
| 
 | |
| %clean
 | |
| rm -rf $RPM_BUILD_ROOT
 | |
| 
 | |
| %files
 | |
| %defattr(-,root,root)
 | |
| %doc Changes MANIFEST README
 | |
| /usr/bin/*
 | |
| %{_mandir}/man3/*
 | |
| %dir %perl_vendorlib/Net
 | |
| %perl_vendorlib/Net/IP.pm
 | |
| %dir %perl_vendorarch/auto/Net
 | |
| %perl_vendorarch/auto/Net/IP
 | |
| /var/adm/perl-modules/%{name}
 | |
| 
 | |
| %changelog
 |