75 lines
1.9 KiB
RPMSpec
75 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package perl-Socket6 (Version 0.18)
|
|
#
|
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-Socket6
|
|
URL: http://search.cpan.org/author/UMEMOTO/Socket6-0.11/
|
|
License: Artistic License
|
|
Group: Development/Libraries/Perl
|
|
#Requires:
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
Summary: IPv6 Sockets (Perl Module)
|
|
Version: 0.18
|
|
Release: 1
|
|
Source: http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The IPv6 related part of the C socket.h defines and structure
|
|
manipulators.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Hajimu Umemoto <ume@mahoroba.org>
|
|
|
|
%prep
|
|
%setup -n Socket6-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
make test
|
|
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{perl_vendorarch}/auto/Socket6
|
|
%{perl_vendorarch}/Socket6.pm
|
|
#%doc %{_mandir}/man3/Socket6.3pm.gz
|
|
%doc MANIFEST README ChangeLog
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog -n perl-Socket6
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Fri Jul 29 2005 - mls@suse.de
|
|
- Update to Socket6-0.18
|
|
* Mon Aug 16 2004 - garloff@suse.de
|
|
- Update to Socket6-0.17:
|
|
* Build fixes Solaris and Win32.
|
|
* Minor bugfixes (compiler warnings, etc.).
|
|
* Mon Feb 16 2004 - garloff@suse.de
|
|
- Update to Socket6-0.14.
|
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
|
- require the perl version we build with
|
|
* Tue Jul 15 2003 - garloff@suse.de
|
|
- Initial creation of package.
|