cpanspec, fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Tty?expand=0&rev=8
This commit is contained in:
parent
9bb9fe7213
commit
c1f19f688b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 17 15:37:54 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 30 16:28:12 CEST 2009 - lars@linux-schulserver.de
|
Sun Aug 30 16:28:12 CEST 2009 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-IO-Tty (Version 1.08)
|
# spec file for package perl-IO-Tty (Version 1.08)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,22 +17,27 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-IO-Tty
|
Name: perl-IO-Tty
|
||||||
Summary: Provides an Interface to Pseudo Tty's
|
%define cpan_name IO-Tty
|
||||||
|
Summary: Low-level allocate a pseudo-Tty, import constants
|
||||||
Version: 1.08
|
Version: 1.08
|
||||||
Release: 2
|
Release: 1
|
||||||
Url: http://search.cpan.org/search?module=IO::Tty
|
License: GPL+ or Artistic
|
||||||
License: GPL v2 or later
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: perl = %{perl_version}
|
Url: http://search.cpan.org/dist/IO-Tty/
|
||||||
Source: IO-Tty-%{version}.tar.bz2
|
#Source: http://www.cpan.org/authors/id/R/RG/RGIERSIG/IO-Tty-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
IO::Tty is a Perl module that provides an interface to pseudo tty's.
|
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.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
@ -40,14 +45,14 @@ Authors:
|
|||||||
Nick Ing-Simmons <nik@tiuk.ti.com>
|
Nick Ing-Simmons <nik@tiuk.ti.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n IO-Tty-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
make %{?jobs:-j%jobs}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@ -55,10 +60,10 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %name.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog MANIFEST README
|
%doc ChangeLog README try
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user