2010/3/16 Łukasz Maśko <[email protected]>:
> Próbuję właśnie zrobić speca dla nowego amaroka 2.3.0 na podstawie speca dla
> wersji 2.2.2.90 (-r DEVEL). Paczka mi się buduje i działa po instalacji, ale
> zostają mi niespakietowane pliki lokale. Rzecz w tym, że są to pliki np. dla
> programu amarokpkg, a nie samego amaroka. Właściwie nigdy nie miałem
> potrzeby paczkowania czegoś takiego i po prostu nie wiem, jak sobie z tym
> poradzić. Czy ktoś mógłby mi pomóc? Speca w obecnej wersji wrzuciłem do cvs-
> a (-r DEVEL), a lista niespakietowanyh plików spełnia poniższe wzorce:
>
> /usr/share/locale/*/LC_MESSAGES/amarok_scriptengine_qscript.mo
> /usr/share/locale/*/LC_MESSAGES/amarokcollectionscanner_qt.mo
> /usr/share/locale/*/LC_MESSAGES/amarokpkg.mo

$ /usr/lib/rpm/find-lang.sh
Usage: find-lang.sh TOP_DIR PACKAGE_NAME [prefix]

where TOP_DIR is
the top of the tree containing the files to be processed--should be
$RPM_BUILD_ROOT usually. TOP_DIR gets sed'd out of the output list.
PACKAGE_NAME is the %{name} of the package. This should also be
the basename of the .mo files.  the output is written to
PACKAGE_NAME.lang unless $3 is given in which case output is written
to $3.
Additional options:
  --with-gnome          find GNOME help files
  --with-kde            find KDE help files
  --with-omf            find OMF files
  --all-name            match all package/domain names
  --without-mo          skip *.mo locale files
  -o NAME                       output will be saved to NAME
  -a NAME                       output will be appended to NAME

Interesuje się opcja --all-name
czyli zamiast:
%find_lang %{name} amarokpkg --with-kde
dajesz
%find_lang %{name} --with-kde --all-name

-- 
Artur Frysiak
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym