Browse Source

Added documentation.

master
freesource 23 years ago
parent
commit
5ab4c598af
  1. 9
      pkg/rpm/perl-IO-Stty.spec
  2. 9
      pkg/rpm/perl-IO-Tty.spec

9
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

9
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

Loading…
Cancel
Save