Mailinglist Archive: opensuse-buildservice (206 mails)

< Previous Next >
Re: [opensuse-buildservice] How to build deb packages
  • From: Richard Bos <rbos@xxxxxxxxxxxx>
  • Date: Tue, 31 Mar 2009 23:30:18 +0200
  • Message-id: <200903312330.19006.rbos@xxxxxxxxxxxx>
Op dinsdag 31 maart 2009 22:54:26 schreef Piotr Pokora:
Hi!

same to you :)

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.

That's the problem, there are no upstream tarballs hence I need to come with
the code.

%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.

What will this do?

--
TIA,

Richard

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

< Previous Next >
Follow Ups