diff --git a/.cvsignore b/.cvsignore index e69de29..a166a49 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +IO-Tty-1.02.tar.gz diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec new file mode 100644 index 0000000..54d2df1 --- /dev/null +++ b/perl-IO-Tty.spec @@ -0,0 +1,62 @@ +%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} + +Name: perl-IO-Tty +Version: 1.02 +Release: 0.fdr.2.rh80 +Epoch: 0 +Summary: Perl interface to pseudo tty's + +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/IO-Tty/ +Source0: http://www.cpan.org/authors/id/R/RG/RGIERSIG/IO-Tty-1.02.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: perl + +%description +IO::Tty and IO::Pty provide an interface to pseudo tty's. + + +%prep +%setup -q -n IO-Tty-%{version} + + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor +make OPTIMIZE="$RPM_OPT_FLAGS" + + +%install +rm -rf $RPM_BUILD_ROOT +make install \ + PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ + INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog README +%{perl_vendorarch}/auto/IO +%{perl_vendorarch}/IO +%{_mandir}/man3/*.3* + + +%changelog +* Sun Feb 1 2004 Ville Skyttä - 0:1.02-0.fdr.2 +- Reduce directory ownership bloat. + +* Fri Nov 21 2003 Ville Skyttä - 0:1.02-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..c09abf3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +875a8bc6e0643f4fc892dbe113e43286 IO-Tty-1.02.tar.gz