Группа :: Сети/WWW
Пакет: bugzilla-ru
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define bugzilla_dir /var/www/html/bugzilla
%define bugzilla_ver 2.16.1
%define extra_ver 1.0
%define lang ru
Name: bugzilla-%lang
Version: %bugzilla_ver.%extra_ver
#for Sisyphus:
#Release: alt2
#for Backports M2.4:
Release: alt1.M24.1
Summary: Bugzilla-%lang is a Russian localization
License: MPL
Group: Networking/WWW
Source: bugzilla-%bugzilla_ver-%lang-%extra_ver.tar.bz2
Patch0: bugzilla-ru-add-lang-switch.patch
Patch1: bugzilla-ru-simple-query.patch
Patch2: bugzilla-ru-enter-bug-chg.patch
Patch3: bugzilla-ru-usesearchcomponentsenterbug-feat.patch.gz
URL: http://www.bugzilla.org/
Requires: bugzilla > 2.16.8-alt1
Conflicts: bugzilla <= 2.16.8-alt1
BuildArch: noarch
%description
Bugzilla-ru is a Russian localization of Bugzilla bug tracking system.
%prep
%setup -q -c
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p1
%build
%install
%__install -d -m755 %buildroot/%bugzilla_dir
%__cp -aRf * %buildroot/%bugzilla_dir/
%post
if [ $1 -eq 1 ]; then
%__subst '/\$localizations{"%lang"}="Russian";/p' %bugzilla_dir/localization.list
fi
%postun
if [ $1 -eq 0 ]; then
if [ -f %bugzilla_dir/localization.list ]; then
%__subst '/\$localizations{"%lang"}="Russian";/d' %bugzilla_dir/localization.list
fi
fi
%files
%defattr(-, root, root)
%doc README-ru README-ru.en
%bugzilla_dir/help/*
%bugzilla_dir/template/*
%changelog
…
Полный changelog можно просмотреть здесь
%define bugzilla_ver 2.16.1
%define extra_ver 1.0
%define lang ru
Name: bugzilla-%lang
Version: %bugzilla_ver.%extra_ver
#for Sisyphus:
#Release: alt2
#for Backports M2.4:
Release: alt1.M24.1
Summary: Bugzilla-%lang is a Russian localization
License: MPL
Group: Networking/WWW
Source: bugzilla-%bugzilla_ver-%lang-%extra_ver.tar.bz2
Patch0: bugzilla-ru-add-lang-switch.patch
Patch1: bugzilla-ru-simple-query.patch
Patch2: bugzilla-ru-enter-bug-chg.patch
Patch3: bugzilla-ru-usesearchcomponentsenterbug-feat.patch.gz
URL: http://www.bugzilla.org/
Requires: bugzilla > 2.16.8-alt1
Conflicts: bugzilla <= 2.16.8-alt1
BuildArch: noarch
%description
Bugzilla-ru is a Russian localization of Bugzilla bug tracking system.
%prep
%setup -q -c
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p1
%build
%install
%__install -d -m755 %buildroot/%bugzilla_dir
%__cp -aRf * %buildroot/%bugzilla_dir/
%post
if [ $1 -eq 1 ]; then
%__subst '/\$localizations{"%lang"}="Russian";/p' %bugzilla_dir/localization.list
fi
%postun
if [ $1 -eq 0 ]; then
if [ -f %bugzilla_dir/localization.list ]; then
%__subst '/\$localizations{"%lang"}="Russian";/d' %bugzilla_dir/localization.list
fi
fi
%files
%defattr(-, root, root)
%doc README-ru README-ru.en
%bugzilla_dir/help/*
%bugzilla_dir/template/*
%changelog
…
Полный changelog можно просмотреть здесь