Группа :: Архивирование/Создание CD
Пакет: k3b-i18n-full
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define parent_app k3b
%define real_name %parent_app-i18n
%define reqiures_version %parent_app >= 0.12.16
%define stable_patchset 0.12.15
Name: %real_name-full
Version: 0.12.17
Release: alt0.M24.2
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Packager: Alexey Lokhin <warframe at altlinux.ru>
Url: http://www.k3b.org/
Source: %real_name-%version.tar.bz2
Patch0: %real_name-%stable_patchset-ru_fixes.patch
Patch1: %real_name-%stable_patchset-messages-alt.patch
Patch2: %real_name-%stable_patchset-format_dvd_+-_rw.patch
Patch3: %real_name-%stable_patchset-noarch-config.patch
BuildRequires: kdelibs-devel >= 3.1, xml-utils
%description
Multilanguage support for k3b CD-burning tool.
%description -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%package -n %real_name
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
Requires: %real_name-cs
Requires: %real_name-de
Requires: %real_name-et
Requires: %real_name-fr
Requires: %real_name-ru
Requires: %real_name-uk
Requires: %real_name-world
BuildArch: noarch
%description -n %real_name
Multilanguage support for k3b CD-burning tool.
%description -n %real_name -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%package -n %real_name-cs
Summary: Czech language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-cs
Czech language support for k3b CD-burning tool.
%package -n %real_name-de
Summary: German language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-de
German language support for k3b CD-burning tool.
%package -n %real_name-et
Summary: Estonian language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-et
Estonian language support for k3b CD-burning tool.
%package -n %real_name-fr
Summary: French language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-fr
French language support for k3b CD-burning tool.
%package -n %real_name-ru
Summary: Russian language support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Поддержка русского языка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-ru
Russian language support for k3b CD-burning tool.
%description -n %real_name-ru -l ru_RU.KOI8-R
Поддержка русского языка для утилиты записи CD k3b.
%package -n %real_name-uk
Summary: Ukrainian language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-uk
Ukrainian language support for k3b CD-burning tool.
%package -n %real_name-world
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-world
Multilanguage support for k3b CD-burning tool.
%description -n %real_name-world -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%prep
%setup -q -n %real_name-%version
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%patch3 -p1
%__subst 's/\.la\>/.so/g' admin/acinclude.m4.in
MAKE="%__make" /bin/sh admin/cvs.sh cvs
%build
%configure --without-qt --without-arts
make
%install
make install DESTDIR=%buildroot
%find_lang --with-kde %parent_app libk3bdevice --output=%parent_app.world.lang
for language in cs de et fr ru uk; do
grep "/$language/" %parent_app.world.lang > %parent_app.$language.lang
%__subst "s/.*\/$language\/.*//g" %parent_app.world.lang
done
#Brasilian portugese language files
echo "%lang(pt) /usr/share/doc/HTML/pt_BR/k3b/" >> %parent_app.world.lang
%files -n %real_name
%files -n %real_name-cs -f %parent_app.cs.lang
%files -n %real_name-de -f %parent_app.de.lang
%files -n %real_name-et -f %parent_app.et.lang
%files -n %real_name-fr -f %parent_app.fr.lang
%files -n %real_name-ru -f %parent_app.ru.lang
%files -n %real_name-uk -f %parent_app.uk.lang
%files -n %real_name-world -f %parent_app.world.lang
%changelog
…
Полный changelog можно просмотреть здесь
%define real_name %parent_app-i18n
%define reqiures_version %parent_app >= 0.12.16
%define stable_patchset 0.12.15
Name: %real_name-full
Version: 0.12.17
Release: alt0.M24.2
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Packager: Alexey Lokhin <warframe at altlinux.ru>
Url: http://www.k3b.org/
Source: %real_name-%version.tar.bz2
Patch0: %real_name-%stable_patchset-ru_fixes.patch
Patch1: %real_name-%stable_patchset-messages-alt.patch
Patch2: %real_name-%stable_patchset-format_dvd_+-_rw.patch
Patch3: %real_name-%stable_patchset-noarch-config.patch
BuildRequires: kdelibs-devel >= 3.1, xml-utils
%description
Multilanguage support for k3b CD-burning tool.
%description -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%package -n %real_name
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
Requires: %real_name-cs
Requires: %real_name-de
Requires: %real_name-et
Requires: %real_name-fr
Requires: %real_name-ru
Requires: %real_name-uk
Requires: %real_name-world
BuildArch: noarch
%description -n %real_name
Multilanguage support for k3b CD-burning tool.
%description -n %real_name -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%package -n %real_name-cs
Summary: Czech language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-cs
Czech language support for k3b CD-burning tool.
%package -n %real_name-de
Summary: German language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-de
German language support for k3b CD-burning tool.
%package -n %real_name-et
Summary: Estonian language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-et
Estonian language support for k3b CD-burning tool.
%package -n %real_name-fr
Summary: French language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-fr
French language support for k3b CD-burning tool.
%package -n %real_name-ru
Summary: Russian language support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Поддержка русского языка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-ru
Russian language support for k3b CD-burning tool.
%description -n %real_name-ru -l ru_RU.KOI8-R
Поддержка русского языка для утилиты записи CD k3b.
%package -n %real_name-uk
Summary: Ukrainian language support for k3b CD-burning tool
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-uk
Ukrainian language support for k3b CD-burning tool.
%package -n %real_name-world
Summary: Multilanguage support for k3b CD-burning tool
Summary(ru_RU.KOI8-R): Многоязыковая поддержка для утилиты записи CD k3b.
License: GPL
Group: Archiving/Cd burning
Requires: %reqiures_version
BuildArch: noarch
%description -n %real_name-world
Multilanguage support for k3b CD-burning tool.
%description -n %real_name-world -l ru_RU.KOI8-R
Многоязыковая поддержка для утилиты записи CD k3b.
%prep
%setup -q -n %real_name-%version
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
%patch3 -p1
%__subst 's/\.la\>/.so/g' admin/acinclude.m4.in
MAKE="%__make" /bin/sh admin/cvs.sh cvs
%build
%configure --without-qt --without-arts
make
%install
make install DESTDIR=%buildroot
%find_lang --with-kde %parent_app libk3bdevice --output=%parent_app.world.lang
for language in cs de et fr ru uk; do
grep "/$language/" %parent_app.world.lang > %parent_app.$language.lang
%__subst "s/.*\/$language\/.*//g" %parent_app.world.lang
done
#Brasilian portugese language files
echo "%lang(pt) /usr/share/doc/HTML/pt_BR/k3b/" >> %parent_app.world.lang
%files -n %real_name
%files -n %real_name-cs -f %parent_app.cs.lang
%files -n %real_name-de -f %parent_app.de.lang
%files -n %real_name-et -f %parent_app.et.lang
%files -n %real_name-fr -f %parent_app.fr.lang
%files -n %real_name-ru -f %parent_app.ru.lang
%files -n %real_name-uk -f %parent_app.uk.lang
%files -n %real_name-world -f %parent_app.world.lang
%changelog
…
Полный changelog можно просмотреть здесь