[opensuse-packaging] sample spec file;question.
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 Also I would like to understand %gconf_schemas_prereq What does this macro do? Where is it documented? 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
Hello,
Paul Elliott schrieb:
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
workrave[0] comes _close_ to this description.
Also I would like to understand %gconf_schemas_prereq What does this macro do? Where is it documented?
Maybe that link[1] helps a bit. [0]http://download.opensuse.org/distribution/10.2/repo/src-oss/suse/src/workrav... [1]http://en.opensuse.org/SUSE_Build_Tutorial/GConf_scritplets Regards, Marko --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Paul Elliott (pelliott@io.com) [20070823 23:59]:
Also I would like to understand %gconf_schemas_prereq What does this macro do? Where is it documented?
From /etc/rpm/macros.gconf2:
%gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils So all it does is insert a PreReq line in the spec file. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philipp Thomas wrote:
* Paul Elliott (pelliott@io.com) [20070823 23:59]:
Also I would like to understand %gconf_schemas_prereq What does this macro do? Where is it documented?
From /etc/rpm/macros.gconf2:
%gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils
So all it does is insert a PreReq line in the spec file.
You can also use 'rpm --eval %gconf_schemas_prereq' to achieve the same result. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Čt, 2007-08-30 at 18:42 +0200, Philipp Thomas wrote:
* Paul Elliott (pelliott@io.com) [20070823 23:59]:
Also I would like to understand %gconf_schemas_prereq What does this macro do? Where is it documented?
From /etc/rpm/macros.gconf2:
%gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils
So all it does is insert a PreReq line in the spec file.
And the purpuse: Future versions of gconf schemas_preun and so on could be different and could have different requirements. If you use this macro, then you are on safe side - macro will change as well and you will get correct RPM again without touching your spec file. For the same reason %fillup_prereq or %py_requires exist. -- 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-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Marko Schugardt
-
Paul Elliott
-
Pavol Rusnak
-
Philipp Thomas
-
Stanislav Brabec