[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to build source package?



I've been using the "New Maintainer's Guide" and have created
and built (and installed/uninstalled) a binary package. That's
all working swimmingly -- I'm even asking the user before I use
MAKENDEV in postinst. ;)

But, I can't figure out how to create a source package
(something that would correspond to a .src.rpm file).

According to the the NMG, "dpkg-buildpackage" will build both
source and binary packages, but I don't see anything that looks
like a source package.  I also tried dpkg-source -b, and it
says it's doing stuff but it creates no source package that I
can find anywhere.

I imagine I'm just being thick, but can somebody point me to
documentation on what a source package looks like and how to
generate one?

Is a "source package" not a single file?

Here's what dpkg-source -b does:

$ dpkg-source -b rocketats-1.23
dpkg-source: building rocketats using existing rocketats_1.23.orig.tar.gz
dpkg-source: building rocketats in rocketats_1.23-1.diff.gz
dpkg-source: building rocketats in rocketats_1.23-1.dsc

And the results are:

total 460
-rw-r--r--    1 grante   500        196900 May  8 12:50 rocketats_1.23.orig.tar.gz
-rw-r--r--    1 grante   500        196900 May  8 12:50 comtrol-1.23.tar.gz
-rw-r--r--    1 grante   500             0 May 31 11:03 rocketats_1.23-1.dsc.asc
-rw-r--r--    1 grante   500         26392 May 31 11:28 rocketats_1.23-1_i386.deb
-rw-r--r--    1 grante   root          743 May 31 11:28 rocketats_1.23-1_i386.changes
drwxr-xr-x    4 grante   500          4096 May 31 11:28 rocketats-1.23
-rw-r--r--    1 grante   500           332 May 31 11:28 rocketats_1.23-1.dsc
-rw-r--r--    1 grante   500         16435 May 31 11:28 rocketats_1.23-1.diff.gz

Thanks,

-- 
Grant Edwards                   grante
                                  at  
                               visi.com


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: