Mailinglist Archive: opensuse-buildservice (366 mails)

< Previous Next >
Re: [opensuse-buildservice] sample spec file?
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Tue, 21 Aug 2007 22:15:20 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0708212213590.20435@xxxxxxxxxxxxxxxxxxxxxxxxx>

On Aug 21 2007 15:06, Paul Elliott wrote:
>I am looking for an excelently written sample spec file for opensuse
>with the following characteristics:
>
>1) uses gtkmm and gnomemm.
>2) has a .desktop file.
>3) uses auto* tools.
>4) otherwise fairly simple
>
>Any good examples in the buildservice projects?

Well...

BuildRequires: gtkmm, gnomemm

%build
./autogen.sh
%configure
make %{?jobs:-j%jobs};

%install
b="%buildroot";
rm -Rf "$b";
mkdir "$b";
make install %{?jobs:-j%jobs} DESTDIR="$b";


is my boilerplate for (3) and (4). Not sure what you meant by (1)


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

< Previous Next >
References