# # spec file for package perl-Net-ext # # Copyright (c) 2015 SUSE LINUX 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/ # Name: perl-Net-ext Provides: Net Version: 1.011 Release: 0 Summary: Network extension modules for Perl License: GPL-2.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/~spidb/Net-ext-1.011 Source: Net-ext-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %description Provides modules: Net::Gen, Net::Inet, Net::TCP, Net::UDP, Net::UNIX, Net::TCP::Server, and Net::UNIX::Server. %prep %setup -n Net-ext-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL make %{?_smp_mflags} %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %files %defattr(-,root,root) %doc ChangeLog README %dir %{perl_vendorarch}/Net %dir %{perl_vendorarch}/auto/Net %dir %{perl_vendorarch}/auto/Net/Gen %dir %{perl_vendorarch}/auto/Net/Inet %dir %{perl_vendorarch}/auto/Net/UDP %dir %{perl_vendorarch}/auto/Net/UNIX %{perl_vendorarch}/Net/* %{perl_vendorarch}/auto/Net/Gen/Gen.so %{perl_vendorarch}/auto/Net/Gen/autosplit.ix %{perl_vendorarch}/auto/Net/Gen/*.al %{perl_vendorarch}/auto/Net/Inet/autosplit.ix %{perl_vendorarch}/auto/Net/Inet/*.al %{perl_vendorarch}/auto/Net/UDP/autosplit.ix %{perl_vendorarch}/auto/Net/UDP/*.al %{perl_vendorarch}/auto/Net/UNIX/autosplit.ix %{perl_vendorarch}/auto/Net/UNIX/*.al %doc %{_mandir}/man?/Net::*.gz %changelog