%global pkg_name IO-Termios %global pkg_version 0.05 %global rpm_pkg_version 0.05 %global rpm_pkg_release 1.n0i.1 Summary: "IO::Termios" - supply termios(3) methods to "IO::Handle" objects Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/IO/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(IO::Pty)} %{!?_without_test:BuildRequires: perl(IO::Tty)} %{!?_without_test:BuildRequires: perl(Test::LongString)} %{!?_without_test:BuildRequires: perl(Test::More)} %description This class extends the generic "IO::Handle" object class by providing methods which access the system's terminal control termios(3) operations. These methods are primarily of interest when dealing with TTY devices, including serial ports. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_files} # skip README, as it's the man page %doc Changes LICENSE %changelog * Tue Oct 10 2017 Marius Feraru - 0.05-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 0.05