forked from pool/perl-IO-Multiplex
59 lines
1.4 KiB
RPMSpec
59 lines
1.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-IO-Multiplex (Version 1.08)
|
||
|
#
|
||
|
# Copyright (c) 2006 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://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-IO-Multiplex
|
||
|
URL: http://cpan.org/modules/by-module/IO/
|
||
|
License: Artistic License
|
||
|
Group: Development/Libraries/Perl
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Summary: Manage IO on many file handles
|
||
|
Version: 1.08
|
||
|
Release: 1
|
||
|
Source: IO-Multiplex-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
"IO::Multiplex" reduces the effort of managing multiple file handles.
|
||
|
It is a fancy front end to the "select" system call.
|
||
|
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n IO-Multiplex-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc %{_mandir}/man3/*
|
||
|
%doc README MANIFEST Changes TODO contrib
|
||
|
%dir %{perl_vendorlib}/IO
|
||
|
%dir %{perl_vendorarch}/auto/IO
|
||
|
%{perl_vendorarch}/auto/IO/Multiplex
|
||
|
%{perl_vendorlib}/IO/Multiplex.pm
|
||
|
/var/adm/perl-modules/perl-IO-Multiplex
|
||
|
|
||
|
%changelog -n perl-IO-Multiplex
|
||
|
* Wed Oct 04 2006 - anicka@suse.cz
|
||
|
- package created [#207466]
|