Репозитории ALT
Группа :: Система/Основа
Пакет: menu-messages
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: menu-messages
Version: 0.2
Release: alt3
Group: System/Base
Summary: Localization files for Menu system
License: GPL
BuildArch: noarch
Conflicts: menu < 2.1.6
Source0: menu-messages-20030917.tar.bz2
Source1: menu-ru-20051006.po
Source2: menu-uk-20050802.po
Source3: menu-be-20050802.po
# temporary need
Source100: menu-file2pot
Source101: menu-messages-add.pot
Source102: menu-messages-WM.po
Source103: menu-get_menu_files
# Automatically added by buildreq on Mon Oct 29 2001
BuildRequires: gettext-tools
%description
This package includes that translations of the main menu used by the
different desktops and window managers of the distribution;
as well as translations used by specifically added features.
%prep
%setup -q -n %name
install -m 0644 %SOURCE1 ru.po
install -m 0644 %SOURCE2 uk.po
install -m 0644 %SOURCE3 be.po
%install
rm -rf %buildroot
mkdir -p %buildroot/%_datadir/locale
# fix norwegian bokmц╔l in kde
[ ! -r nb.po -a -r no.po ] && cp no.po nb.po
# menu-messages files
for i in ./*.po
do
langdir="%buildroot/%_datadir/locale/`basename ${i} .po`/LC_MESSAGES/"
mkdir -p ${langdir}
msgfmt -o ${langdir}/menu-messages.mo ${i}
done
%find_lang menu-messages
%post
%update_menus
%files -f menu-messages.lang
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.2
Release: alt3
Group: System/Base
Summary: Localization files for Menu system
License: GPL
BuildArch: noarch
Conflicts: menu < 2.1.6
Source0: menu-messages-20030917.tar.bz2
Source1: menu-ru-20051006.po
Source2: menu-uk-20050802.po
Source3: menu-be-20050802.po
# temporary need
Source100: menu-file2pot
Source101: menu-messages-add.pot
Source102: menu-messages-WM.po
Source103: menu-get_menu_files
# Automatically added by buildreq on Mon Oct 29 2001
BuildRequires: gettext-tools
%description
This package includes that translations of the main menu used by the
different desktops and window managers of the distribution;
as well as translations used by specifically added features.
%prep
%setup -q -n %name
install -m 0644 %SOURCE1 ru.po
install -m 0644 %SOURCE2 uk.po
install -m 0644 %SOURCE3 be.po
%install
rm -rf %buildroot
mkdir -p %buildroot/%_datadir/locale
# fix norwegian bokmц╔l in kde
[ ! -r nb.po -a -r no.po ] && cp no.po nb.po
# menu-messages files
for i in ./*.po
do
langdir="%buildroot/%_datadir/locale/`basename ${i} .po`/LC_MESSAGES/"
mkdir -p ${langdir}
msgfmt -o ${langdir}/menu-messages.mo ${i}
done
%find_lang menu-messages
%post
%update_menus
%files -f menu-messages.lang
%changelog
…
Полный changelog можно просмотреть здесь