|
@ -1,8 +1,8 @@ |
|
|
# A SPEC to crreate a rpm package from IO-Tty. This should work on all |
|
|
# A SPEC to create a rpm package from IO-Tty. This should work on all |
|
|
# distributions using >= perl5. |
|
|
# distributions using perl5.8. |
|
|
|
|
|
|
|
|
# Update this according to version |
|
|
# Update this according to version |
|
|
%define version 0.04 |
|
|
%define version 1.02 |
|
|
%define release 1 |
|
|
%define release 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ Version: %{version} |
|
|
Release: %{release} |
|
|
Release: %{release} |
|
|
Copyright: GPL |
|
|
Copyright: GPL |
|
|
Group: Development/Perl |
|
|
Group: Development/Perl |
|
|
Source: http://www.perl.com/CPAN/authors/id/G/GB/GBARR/IO-Tty-%{version}.tar.gz |
|
|
Source: http://www.perl.com/CPAN/authors/id/R/RG/RGIERSIG/IO-Tty-%{version}.tar.gz |
|
|
URL: http://gbootroot.sourceforge.net |
|
|
URL: http://gbootroot.sourceforge.net |
|
|
Distribution: BootRoot |
|
|
Distribution: BootRoot |
|
|
Vendor: Free Software |
|
|
Vendor: Free Software |
|
@ -26,7 +26,7 @@ AutoReqProv: no |
|
|
|
|
|
|
|
|
%description |
|
|
%description |
|
|
IO::Pty provides I/O handles to the master- and slave-side of a |
|
|
IO::Pty provides I/O handles to the master- and slave-side of a |
|
|
pseudo tty. |
|
|
pseudo tty. Compiled for Perl 5.8. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
%prep |
|
@ -41,17 +41,23 @@ make |
|
|
# This here is a kludge to avoid versioning to allow the creation of a |
|
|
# This here is a kludge to avoid versioning to allow the creation of a |
|
|
# universal package. This is done in Debian. |
|
|
# universal package. This is done in Debian. |
|
|
%install |
|
|
%install |
|
|
|
|
|
|
|
|
|
|
|
install -d /usr/lib/perl5/site_perl/IO/Tty |
|
|
install -d /usr/lib/perl5/site_perl/auto/IO/Tty |
|
|
install -d /usr/lib/perl5/site_perl/auto/IO/Tty |
|
|
|
|
|
|
|
|
cp -fa blib/arch/auto/IO/Tty/Tty.so /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.so |
|
|
cp -fa blib/arch/auto/IO/Tty/Tty.so /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.so |
|
|
cp -fa blib/arch/auto/IO/Tty/Tty.bs /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.bs |
|
|
cp -fa blib/arch/auto/IO/Tty/Tty.bs /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.bs |
|
|
install -d /usr/lib/perl5/site_perl/auto/IO/Tty |
|
|
|
|
|
cp -fa Tty.pm /usr/lib/perl5/site_perl/IO/Tty.pm |
|
|
cp -fa Tty.pm /usr/lib/perl5/site_perl/IO/Tty.pm |
|
|
cp -fa Pty.pm /usr/lib/perl5/site_perl/IO/Pty.pm |
|
|
cp -fa Pty.pm /usr/lib/perl5/site_perl/IO/Pty.pm |
|
|
|
|
|
cp -fa Tty/Constant.pm /usr/lib/perl5/site_perl/IO/Tty/Constant.pm |
|
|
|
|
|
|
|
|
install -d /usr/share/man/man3 |
|
|
install -d /usr/share/man/man3 |
|
|
cp -fa blib/man3/IO::Pty.3pm /usr/share/man/man3/IO::Pty.3pm |
|
|
cp -fa blib/man3/IO::Pty.3pm /usr/share/man/man3/IO::Pty.3pm |
|
|
|
|
|
cp -fa blib/man3/IO::Tty.3pm /usr/share/man/man3/IO::Tty.3pm |
|
|
|
|
|
cp -fa blib/man3/IO::Tty::Constant.3pm /usr/share/man/man3/IO::Tty::Constant.3pm |
|
|
install -d /usr/share/doc/perl-IO-Tty/examples |
|
|
install -d /usr/share/doc/perl-IO-Tty/examples |
|
|
cp -fa try /usr/share/doc/perl-IO-Tty/examples |
|
|
cp -fa try /usr/share/doc/perl-IO-Tty/examples |
|
|
cp -fa COPYING /usr/share/doc/perl-IO-Tty |
|
|
cp -fa README /usr/share/doc/perl-IO-Tty/README |
|
|
gzip -9c ChangeLog > /usr/share/doc/perl-IO-Tty/changelog.gz |
|
|
gzip -9c ChangeLog > /usr/share/doc/perl-IO-Tty/changelog.gz |
|
|
|
|
|
|
|
|
# nothing to clean |
|
|
# nothing to clean |
|
@ -59,15 +65,18 @@ gzip -9c ChangeLog > /usr/share/doc/perl-IO-Tty/changelog.gz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
%files |
|
|
|
|
|
%docdir /usr/share/doc/perl-IO-Tty/examples |
|
|
|
|
|
/usr/share/doc/perl-IO-Tty/examples/try |
|
|
|
|
|
/usr/share/doc/perl-IO-Tty/README |
|
|
|
|
|
/usr/share/doc/perl-IO-Tty/changelog.gz |
|
|
/usr/lib/perl5/site_perl/IO/Pty.pm |
|
|
/usr/lib/perl5/site_perl/IO/Pty.pm |
|
|
/usr/lib/perl5/site_perl/IO/Tty.pm |
|
|
/usr/lib/perl5/site_perl/IO/Tty.pm |
|
|
|
|
|
/usr/lib/perl5/site_perl/IO/Tty/Constant.pm |
|
|
%attr(0644, root, root) /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.bs |
|
|
%attr(0644, root, root) /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.bs |
|
|
%attr(0755, root, root) /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.so |
|
|
%attr(0755, root, root) /usr/lib/perl5/site_perl/auto/IO/Tty/Tty.so |
|
|
/usr/share/man/man3/IO::Pty.3pm |
|
|
/usr/share/man/man3/IO::Pty.3pm |
|
|
%docdir /usr/share/doc/perl-IO-Tty/examples |
|
|
/usr/share/man/man3/IO::Tty.3pm |
|
|
/usr/share/doc/perl-IO-Tty/examples/try |
|
|
/usr/share/man/man3/IO::Tty::Constant.3pm |
|
|
/usr/share/doc/perl-IO-Tty/COPYING |
|
|
|
|
|
/usr/share/doc/perl-IO-Tty/changelog.gz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
%changelog |
|
|