Mailinglist Archive: opensuse-buildservice (206 mails)

< Previous Next >
Re: [opensuse-buildservice] How to build deb packages
  • From: Piotr Pokora <piotrek.pokora@xxxxxxxxx>
  • Date: Tue, 31 Mar 2009 22:54:26 +0200
  • Message-id: <49D28302.4020801@xxxxxxxxx>
Richard Bos writes:

Hi!

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

Use tar.gz upstream tarballs. You shouldn't have problems with Debian
Lenny and Ubuntu 8.10.

%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

Create debian.PACKAGENAME.install file if those are provided by upstream.

Piotras
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups