[opensuse-buildservice] sample spec file?
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? Thank You. -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On 2007-08-21 15:06:45 -0500, 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?
Have a look at the GNOME:* projects (GNOME:STABLE, GNOME:UNSTABLE...). I think that's the best place to find spec files which match your criteria. Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Hüwe píše v Út 21. 08. 2007 v 22:23 +0200:
Hi,
On 2007-08-21 15:06:45 -0500, 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?
Have a look at the GNOME:* projects (GNOME:STABLE, GNOME:UNSTABLE...). I think that's the best place to find spec files which match your criteria.
Remembert NOT to call %suse_update_desktop_file (or use X-SuSE-translate=false) for packages, which are not part of SuSE translation project. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Aug 22, 2007 at 01:28:11PM +0200, Stanislav Brabec wrote:
Remembert NOT to call %suse_update_desktop_file (or use X-SuSE-translate=false) for packages, which are not part of SuSE translation project.
Why is this? What about desktop-file-install? Should it be used? -- Paul Elliott 1(512)837-1096 pelliott@io.com PMB 181, 11900 Metric Blvd Suite J http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
On Wed, Aug 22, 2007 at 01:28:11PM +0200, Stanislav Brabec wrote:
Remembert NOT to call %suse_update_desktop_file (or use X-SuSE-translate=false) for packages, which are not part of SuSE translation project.
%suse_update_desktop_file by default comments out all translations from
Paul Elliott wrote: the desktop file and places translations from desktop-translations package. For SuSE official packages, internal tools collect these strings, put them to Novell Forge LCN project to be reviewed and then back to desktop-translations package. So translations are not lost (if change was before string freeze). For third party packages, strings never get to desktop-translations package and they are lost. So if you want to use %suse_update_desktop_file fort thitd party package, use "X-SuSE-translate=false" tag. But you can live without it as well.
What about desktop-file-install? Should it be used?
Most probably not. While packaging, installing desktop file to $DESTDIR prefixed target path should be already done. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Jan Engelhardt
-
Marcus Hüwe
-
Paul Elliott
-
Stanislav Brabec