Mailinglist Archive: opensuse-packaging (138 mails)
< Previous | Next > |
[opensuse-packaging] semi-automatic generation of BuildRequires by pkg-config
- From: Stanislav Brabec <sbrabec@xxxxxxx>
- Date: Thu, 22 Mar 2007 16:55:23 +0100
- Message-id: <1174578923.17781.75.camel@xxxxxxxxxxxxxx>
Hallo.
Here is my attempt to help with creating BuildRequires
semi-automatically. It now works for pkg-config checks.
It is an initial version, which does not have any automation support.
It may move major part of BuildRequires into auto-generated part.
It works nice on my tests.
Warning: It does not check for disabled features.
INSTALL:
Install script-pkg-config somewhere outside your $PATH.
Set PKG_WRAP_DIR in pkg-buildrequires-wrap to your directory, where
pkg-config resides.
HOWTO:
cd to unpacked sources
pkg-buildrequires-wrap ./configure --enable-foo ...
It will create pkg-buildrequires-wrap.log
cd anywhere
pkg-create-buildrequires unpacked_sources_directory_where_you_run_pkg-buildrequires-wrap
It will analyze pkg-buildrequires-wrap.log and create pkg-buildrequires.log
pkg-create-buildrequires foo.spec
It will pick pkg-buildrequires-wrap.log and update foo.spec
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
Here is my attempt to help with creating BuildRequires
semi-automatically. It now works for pkg-config checks.
It is an initial version, which does not have any automation support.
It may move major part of BuildRequires into auto-generated part.
It works nice on my tests.
Warning: It does not check for disabled features.
INSTALL:
Install script-pkg-config somewhere outside your $PATH.
Set PKG_WRAP_DIR in pkg-buildrequires-wrap to your directory, where
pkg-config resides.
HOWTO:
cd to unpacked sources
pkg-buildrequires-wrap ./configure --enable-foo ...
It will create pkg-buildrequires-wrap.log
cd anywhere
pkg-create-buildrequires unpacked_sources_directory_where_you_run_pkg-buildrequires-wrap
It will analyze pkg-buildrequires-wrap.log and create pkg-buildrequires.log
pkg-create-buildrequires foo.spec
It will pick pkg-buildrequires-wrap.log and update foo.spec
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
< Previous | Next > |