spec.py: a frontend to EPM

onre

SYS 64738
Feb 8, 2019
140
88
28
Toijala, Finland

This Python script can make packaging a bit easier by doing everything that EPM expects to be done. All you need to provide is the package header file and a working installation of the software you're packaging. Here's an example:

Code:
(gcc4)  esp@calcifer ~/epm/gdb-6.8 $ cat header
%product GDB 6.8
%copyright The GNU Project
%vendor SGUG
%license /usr/people/esp/epm/gdb-6.8/LICENSE
%readme /usr/people/esp/epm/gdb-6.8/README
%description The GNU debugger
%version 6.8-01 2019020701
(gcc4)  esp@calcifer ~/epm/gdb-6.8 $ python3 ~/spec.py/spec.py -h header -t -p gdb -e /opt/local/gdb
/usr/people/esp/epm/gdb-6.8/gdb-6.8-01-irix-6.5-mips.tardist
(gcc4)  esp@calcifer ~/epm/gdb-6.8 $ ls -l *tardist
-rw-r--r--    1 esp      user      28021760 Feb 12 04:25 gdb-6.8-01-irix-6.5-mips.tardist
A better name for the thing would be nice. Suggest.
 

onre

SYS 64738
Feb 8, 2019
140
88
28
Toijala, Finland
I've thought of either making this run gendist directly or reverse-engineering the format a bit to figure out how to make tardists directly.
 

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu