dpkg-name.1 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .\" This is an -*- nroff -*- source file.
  2. .\" dpkg-name and this manpage are Copyright 1995,1996 by Erick Branderhorst.
  3. .\"
  4. .\" This is free software; see the GNU General Public Licence version 2
  5. .\" or later for copying conditions. There is NO warranty.
  6. .TH dpkg-name 1 "January 1996" "Debian Project" "Debian GNU/Linux"
  7. .SH NAME
  8. dpkg\-name \- rename Debian packages to full package names
  9. .SH SYNOPSIS
  10. .B dpkg\-name [\-h|\-\-help] [\-V|\-\-version] [\-L|\-\-license] [--] [files]
  11. .SH DESCRIPTION
  12. .PP
  13. This manual page documents the
  14. .B dpkg\-name
  15. sh script which provides an easy way to rename
  16. .B Debian
  17. packages into their full package names. A full package name consists
  18. of <package>-<version>[-<revision>].deb as specified in the control
  19. file of the package.
  20. .SH EXAMPLES
  21. .TP
  22. .B dpkg-name toedeledokie
  23. The file `toedeledokie' will be renamed to emacs-19.29-4.deb or
  24. something similar (depending on whatever information is in the control
  25. part of `toedeledokie').
  26. .TP
  27. .B find /root/debian/ \-name '*.deb' | xargs dpkg\-name
  28. All files with the extension `deb' in the directory /root/debian and
  29. its subdirectory's will be renamed by dpkg\-name if required.
  30. .SS OPTIONS
  31. .TP
  32. .B "\-h, \-\-help"
  33. Print a usage message and exit successfully.
  34. .TP
  35. .B "\-v, \-\-version"
  36. Print version information and exit successfully.
  37. .TP
  38. .B "\-l, \-\-license"
  39. Print copyright information and (a reference to GNU) license
  40. information and exit successfully.
  41. .SH BUGS?
  42. Successfully tested on
  43. .B Debian GNU/Linux
  44. systems only. Some packages don't follow the name structure
  45. <package>-<version>[-<revision>].deb. Packages renamed by dpkg-name
  46. will follow this structure. Generally this will have no impact on how
  47. packages are installed by dselect/dpkg.
  48. .SH SEE ALSO
  49. .BR deb (5),
  50. .BR deb-control (5),
  51. .BR dpkg (5),
  52. .BR dpkg (8),
  53. .BR dpkg-deb (8).
  54. .SH COPYRIGHT
  55. Copyright 1995,1996 Erick Branderhorst.
  56. .B dpkg-name
  57. is free software; see the GNU General Public Licence version 2 or
  58. later for copying conditions. There is
  59. .B no
  60. warranty.