Cant export a specific package, but you could look in dba_source to get the code and spool the output out e.g.

set head off
set feedback off
set pages 1000
spool package.sql
select text from dba_source where name ='PACKAGE NAME';
spool off