From 5ab4c598af8cc34040f8dc606526e8059e3d0d69 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 7 Feb 2002 19:11:48 +0000 Subject: [PATCH] Added documentation. --- pkg/rpm/perl-IO-Stty.spec | 11 ++++++++++- pkg/rpm/perl-IO-Tty.spec | 9 ++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pkg/rpm/perl-IO-Stty.spec b/pkg/rpm/perl-IO-Stty.spec index 053c32c..743e6b3 100644 --- a/pkg/rpm/perl-IO-Stty.spec +++ b/pkg/rpm/perl-IO-Stty.spec @@ -41,6 +41,9 @@ make %install make install +install -d /usr/share/doc/perl-IO-Stty/examples +cp -fa README /usr/share/doc/perl-IO-Stty/README +cp stty.pl /usr/share/doc/perl-IO-Stty/examples/stty.pl # nothing to clean @@ -49,8 +52,14 @@ make install # will read this all from a files list %files -f filelist %files +%docdir /usr/share/doc/perl-IO-Stty /usr/lib/perl5/site_perl/IO/Stty.pm /usr/lib/perl5/site_perl/IO/stty.pl +/usr/share/doc/perl-IO-Stty/examples/stty.pl +/usr/share/doc/perl-IO-Stty/README + + +%changelog + -%changelog \ No newline at end of file diff --git a/pkg/rpm/perl-IO-Tty.spec b/pkg/rpm/perl-IO-Tty.spec index 636d837..5b458eb 100644 --- a/pkg/rpm/perl-IO-Tty.spec +++ b/pkg/rpm/perl-IO-Tty.spec @@ -49,7 +49,10 @@ cp -fa Tty.pm /usr/lib/perl5/site_perl/IO/Tty.pm cp -fa Pty.pm /usr/lib/perl5/site_perl/IO/Pty.pm install -d /usr/share/man/man3 cp -fa blib/man3/IO::Pty.3pm /usr/share/man/man3/IO::Pty.3pm - +install -d /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 +gzip -9c ChangeLog > /usr/share/doc/perl-IO-Tty/changelog.gz # nothing to clean %clean @@ -61,6 +64,10 @@ cp -fa blib/man3/IO::Pty.3pm /usr/share/man/man3/IO::Pty.3pm %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 /usr/share/man/man3/IO::Pty.3pm +%docdir /usr/share/doc/perl-IO-Tty/examples +/usr/share/doc/perl-IO-Tty/examples/try +/usr/share/doc/perl-IO-Tty/COPYING +/usr/share/doc/perl-IO-Tty/changelog.gz %changelog