Summary: | Надо посмотреть, как устроена сборка в deb на BuildService | ||
---|---|---|---|
Product: | [Свободные проекты (Open source projects)] Korinf | Reporter: | Vitaly Lipatov <lav> |
Component: | Общее | Assignee: | Юрий Филь <yurifil> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | baraka, lav |
Version: | не указана | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
URL: | http://build.opensuse.org/ | ||
Whiteboard: | |||
Заявки RT: | Связано с: | ||
Дата напоминания: | |||
Bug Depends on: | |||
Bug Blocks: | 3941 |
Description
Vitaly Lipatov
2008-02-26 23:16:34 MSK
Описание сборки deb здесь: http://en.opensuse.org/Build_Service/Deb_builds изучаю. Еще полезное оттуда: http://lists.opensuse.org/opensuse-buildservice/2007-03/msg00067.html https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/build/debtransform Minimum set of files required to create .deb In order to create a .deb package successfully, you have to create at least these files: packageName.dsc debian.changelog debian.control debian.rules And of course a tarball (tar.gz) that contains the package source code to compile. [edit] packageName.dsc A minimal template for this file is: Format: 1.0 Source: packageName Version: 5.6-3 Binary: packageName Maintainer: FirstName LastName <email@hostname.org> Architecture: any Build-Depends: debhelper (>= 4.1.16), nameOfPackageNeededToBuildIt Files: d57283ebb8157ae919762c58419353c8 133282 packageName_5.6.orig.tar.gz 2fecf324a32123b08cefc0f047bca5ee 63176 packageName_5.6-1.diff.tar.gz In the above template are listed only the mandatory fields, but there are many optional fields. You can find all information about these fields at http://www.debian.org/doc/debian-policy/ch-controlfields.html Как я понял, эти файлы руками делаются. Автоматизация на уровне генерации deb-diff файла из rpm-патчей, конвертирование changelog'ов. |