perl-IO-Tty/perl-IO-Tty.spec

72 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-IO-Tty (Version 1.08)
#
# Copyright (c) 2009 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-IO-Tty
Url: http://search.cpan.org/search?module=IO::Tty
License: GPL v2 or later
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Provides an Interface to Pseudo Tty's
Version: 1.08
Release: 1
Source: IO-Tty-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
IO::Tty is a Perl module that provides an interface to pseudo tty's.
Authors:
--------
Graham Barr <gbarr@ti.com>
Nick Ing-Simmons <nik@tiuk.ti.com>
%prep
%setup -n IO-Tty-%{version}
%build
perl Makefile.PL
make
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog MANIFEST README
%dir %{perl_vendorarch}/IO
%{perl_vendorarch}/IO/Pty.pm
%{perl_vendorarch}/IO/Tty.pm
%dir %{perl_vendorarch}/IO/Tty
%{perl_vendorarch}/IO/Tty/Constant.pm
%dir %{perl_vendorarch}/auto/IO
%{perl_vendorarch}/auto/IO/Tty
%{_mandir}/man3/*
/var/adm/perl-modules/perl-IO-Tty
%changelog