Carsten and Paul, Op dinsdag 31 maart 2009 11:13:11 schreef Carsten Hoeger:
On Mon, Mar 30, Paul Elliott wrote:
I'm quite sure, that you still have to submit Debian Package information (debian/control, debian/rules, debian/changelog, ...) separately.
That is indeed what the "Build Service/Deb builds" http://en.opensuse.org/Build_Service/Deb_builds documentation seems to say.
deb> Minimum set of files required to create .deb In order to create a deb> .deb package successfully, you have to create at least these files: deb> packageName.dsc deb> debian.changelog deb> debian.control deb> debian.rules
deb> And of course a tarball (tar.bz2) that contains the package source deb> code to compile.
But it is not true. To see this look at the peless project: https://build.opensuse.org/package/show?package=peless&project=home%3Apel liott11
It IS true. It's just that the debian package metadata is contained in the *.diff and *.dsc file(s). It's NOT contained in the *.spec file(s). That's what I wanted to make clear.
You got me going :) I can now run 'osc build xUbuntu_8.04 i586 <pkg>' :) To accomplish this, I needed the following files: debian.control debian.rules inkomstenbelasting-2008.tar.bz2 inkomstenbelasting.changes inkomstenbelasting.dsc The files are almost the same as Paul stated, but it is not debian.changelog, but packageName.changes in debian format. The build service will than take care that the changelog is included in as well the debian packages as well as the rpms. The files sectio in dsc file may remain empty as it is populated by the debtransformer, like: Format: 1.0 ....... Files: It is not needed to specify the Debtransform-Tar as the pristine source tarbal is figured out by the tools :) A debian.control file is required otherwise the following and confusing error is reported: dpkg-source: warning: extracting unsigned source package (/usr/src/packages/SOURCES/inkomstenbelasting.dsc) dpkg-source: error: Files field contains invalid filename `inkomstenbelasting-2008.tar.gz' The next step is now to include the commands that I have in the rpm spec file into the debian pkg build. The commands are the following ones: %prep %setup -q %build %install %__install -d -m 755 %{buildroot}%{_bindir} %__install -d -m 755 %{buildroot}%{_datadir}/belastingdienst.nl # %__install -d -m 755 %{buildroot}%{_datadir}/applications # sed s/@JAAR@/%{year}/ ib.desktop > %{buildroot}%{_datadir}/applications/inkomstenbelasting.desktop %__install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor for D in 16x16 22x22 32x32 48x48 64x64 128x128; do %__install -d -m 755 %{buildroot}%{_datadir}/icons/hicolor/$D/apps %__install -m 644 icons/$D/inkomstenbelasting.png %{buildroot}%{_datadir}/icons/hicolor/$D/apps done Is there any debian pkg guru out there, who can tell how the above command sequence should look like in a debian.rules file? TIA! -- Regards, Richard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org