Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37766389
en ru br
Репозитории ALT
5.1: 2.16.1.1.0-alt2
4.1: 2.16.1.1.0-alt2
4.0: 2.16.1.1.0-alt2
3.0: 2.16.1.1.0-alt2
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: bugzilla-ru

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%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
Release: alt2
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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin