<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>5164</bug_id>
          
          <creation_ts>2004-09-07 12:58:46 +0400</creation_ts>
          <short_desc>find-lang --with-man неверно работает.</short_desc>
          <delta_ts>2005-07-13 15:46:46 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>18629</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2004-09-07 12:58:46 +0400</bug_when>
    <thetext>1. find-lang --with-man не обрабатывает английские маны в %_man*dir, поэтому в
%files приходится их явно указывать. То есть логика работы find-lang --with-man
отлична от логики работы find-lang --with-всепрочее.

2. Не обрабатывает симлинки.
Для сборки jackit-0.98.1-alt1.1 мне пришлось написать такое:

%find_lang --with-man --output=jackd.lang \
--custom-link-script=&quot;\
s:%buildroot::
s:\(.*/share/man/\)\([a-z][^/_@]\+\)\(.*jackstart\..\)\(\.[^/]*\)\?$:%lang(\2)
\1\2\3* %attr(-,root,root):
s:^\([^%].*\)::
s:%lang(en) ::
s:^%lang(man.*) .*::&quot; jackd jackstart

Не изящно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19519</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-10-31 14:57:23 +0300</bug_when>
    <thetext>Thanks, fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>