You asked for a specification of packages in a programming language.
I just pointed you to the specification of packages in Java.
Yes, I know Java implements packages this way. And Perl implements them other way. And C yet another way.
And PHP has at least three packaging implementations which have nothing to do with namespacing and a bunch of proposals in addition to it. That's the whole point - "package" doesn't describe any specific concept, unless you talk about specific language or specific functionality - like rpm or jar, which are packages too.
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com