From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 22 Dec 2016 10:11:01 +0300 From: Michael Shigorin To: devel@lists.altlinux.org Message-ID: <20161222071101.GT490@imap.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23.88.hg577987ca2d02 (2014-03-12) Cc: Vitaly Lipatov Subject: [devel] =?koi8-r?b?W2Jvb3RzdHJhcF0g1dPMz9fO2cogZG94eWdlbiDQzyAi?= =?koi8-r?b?0tXey8UiIGRvYw==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 07:11:02 -0000 Archived-At: List-Archive: List-Post: --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Здравствуйте. Поскольку doxygen, с одной стороны, требует много всего для сборки, а с другой -- много чему в сизифе штатно для неё же и требуется, предлагаю по возможности обуславливать эту BR: примерно таким образом для облегчения редкого, но меткого процесса переноса на новые архитектуры: %def_with doc [...] %if_with doc BuildRequires: doxygen %endif (может понадобиться ещё по кусочку в %build/%install/%files, см. приложенный дифф для libyaml) 2 lav: приложил этот самый патч для сборки на e2k, если нет возражений -- прошу принять в сизифный пакет или разрешить мне NMU; вообще у меня их таких тут немало заготовлено, см. тж. http://altlinux.org/bootstrap --  ---- WBR, Michael Shigorin / http://altlinux.org   ------ http://opennet.ru / http://anna-news.info --Qxx1br4bt0+wmkIi Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="libyaml.spec.diff" diff --git a/libyaml.spec b/libyaml.spec index a5b9b50..12755b1 100644 --- a/libyaml.spec +++ b/libyaml.spec @@ -1,7 +1,9 @@ %define abiversion 2 +%def_with doc + Name: libyaml Version: 0.1.7 -Release: alt1 +Release: alt1.1 Summary: A C library for parsing and emitting YAML @@ -15,7 +17,9 @@ Packager: Vitaly Lipatov Source: %name-%version.tar # Automatically added by buildreq on Sat Oct 02 2010 +%if_with doc BuildRequires: doxygen +%endif %description YAML 1.1 parser and emitter written in C. @@ -43,7 +47,9 @@ Header files for the yaml library. %configure --disable-static %make_build +%if_with doc top_srcdir=`pwd` top_builddir=`pwd` doxygen doc/doxygen.cfg +%endif %install %makeinstall_std @@ -53,12 +59,17 @@ top_srcdir=`pwd` top_builddir=`pwd` doxygen doc/doxygen.cfg %_libdir/lib*.so.* %files devel +%if_with doc %doc doc/html +%endif %_libdir/lib*.so %_includedir/*.h %_pkgconfigdir/* %changelog +* Thu Dec 22 2016 Michael Shigorin 0.1.7-alt1.1 +- BOOTSTRAP: added doc knob (doxygen) + * Sat Sep 24 2016 Vitaly Lipatov 0.1.7-alt1 - new version 0.1.7 (with rpmrb script) --Qxx1br4bt0+wmkIi--