2007-01-16 00:30:56 +01:00
|
|
|
#
|
2009-07-27 23:09:14 +02:00
|
|
|
# spec file for package perl-IO-Tty (Version 1.08)
|
2007-01-16 00:30:56 +01:00
|
|
|
#
|
2010-09-27 16:06:36 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:30:56 +01:00
|
|
|
#
|
2008-10-23 04:43:11 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:30:56 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2010-09-27 16:06:34 +02:00
|
|
|
|
2007-01-16 00:30:56 +01:00
|
|
|
Name: perl-IO-Tty
|
2010-09-27 16:06:36 +02:00
|
|
|
%define cpan_name IO-Tty
|
|
|
|
Summary: Low-level allocate a pseudo-Tty, import constants
|
2009-08-31 21:41:48 +02:00
|
|
|
Version: 1.08
|
2010-09-27 16:06:36 +02:00
|
|
|
Release: 9
|
|
|
|
License: GPL+ or Artistic
|
2007-01-16 00:30:56 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2010-09-27 16:06:36 +02:00
|
|
|
Url: http://search.cpan.org/dist/IO-Tty/
|
|
|
|
#Source: http://www.cpan.org/authors/id/R/RG/RGIERSIG/IO-Tty-%{version}.tar.gz
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
2010-09-27 16:06:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 15:38:59 +01:00
|
|
|
%{perl_requires}
|
2010-09-27 16:06:36 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2007-01-16 00:30:56 +01:00
|
|
|
|
|
|
|
%description
|
2010-09-27 16:06:36 +02:00
|
|
|
IO::Tty is used internally by IO::Pty to create a pseudo-tty. You wouldn't
|
|
|
|
want to use it directly except to import constants, use IO::Pty. For a
|
|
|
|
list of importable constants, see IO::Tty::Constant.
|
2007-01-16 00:30:56 +01:00
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Graham Barr <gbarr@ti.com>
|
|
|
|
Nick Ing-Simmons <nik@tiuk.ti.com>
|
|
|
|
|
|
|
|
%prep
|
2010-09-27 16:06:36 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-16 00:30:56 +01:00
|
|
|
|
|
|
|
%build
|
2010-09-27 16:06:36 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
%{__make} %{?_smp_mflags}
|
2009-08-31 21:41:48 +02:00
|
|
|
|
|
|
|
%check
|
2010-09-27 16:06:36 +02:00
|
|
|
%{__make} test
|
2007-01-16 00:30:56 +01:00
|
|
|
|
|
|
|
%install
|
2009-08-31 21:41:48 +02:00
|
|
|
%perl_make_install
|
2007-01-16 00:30:56 +01:00
|
|
|
%perl_process_packlist
|
2009-08-31 21:41:48 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:30:56 +01:00
|
|
|
|
|
|
|
%clean
|
2010-09-27 16:06:36 +02:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-16 00:30:56 +01:00
|
|
|
|
2010-09-27 16:06:36 +02:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc ChangeLog README try
|
2007-01-16 00:30:56 +01:00
|
|
|
|
2008-10-23 04:43:11 +02:00
|
|
|
%changelog
|