Sisyphus repositório
Última atualização: 16 outubro 2019 | SRPMs: 17499 | Visitas: 15281979
en ru br
ALT Linux repositórios
5.0: 3.2.1-alt1
4.1: 2.16.8-alt3
4.0: 2.16.8-alt3
3.0: 2.16.8-alt3

Group :: Rede/WWW
RPM: bugzilla

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define unpackaged_files_terminate_build 1

Name: bugzilla
Version: 3.2.1
Release: alt1
Summary: A bug tracking system developed by
License: %mpl
Group: Networking/WWW
Packager: Mikhail Gusarov <dottedmag at>

%define bugzilla_ru_version 1.0

%define bugzilla_ftp
%define bugzilla_ru_ftp

%define bugzilla_scripts_dir %_datadir/bugzilla
%define bugzilla_web_dir %webserver_webappsdir/bugzilla
%define bugzilla_doc_dir %_defaultdocdir/%name-%version
%define bugzilla_doc_doc_dir %_defaultdocdir/%name-doc-%version

Source0: %bugzilla_ftp/%name-%version.tar.gz
Source1: %name-ru.tar.gz
Source2: apache2-vhost.sample

Conflicts: bugzilla-ru <=
Obsoletes: bugzilla-ru

%define _perl_lib_path %bugzilla_web_dir

BuildRequires(pre): rpm-build-licenses rpm-macros-webserver-common
BuildRequires: rpm-build-perl
# Automatically added by buildreq on Thu Jan 29 2009 (-bi)
BuildRequires: perl-Authen-Radius perl-CPAN perl-DBD-Pg perl-DBM perl-Email-MIME-Attachment-Stripper perl-Email-Reply perl-Email-Send perl-Storable perl-Template perl-XML-Twig perl-ldap

# WebPolicy

Requires: webserver-common


# Explicitly enabling patch-handling
Requires: perl-PatchReader
Requires: patchutils


# More HTML in Product/Group Descriptions
Requires: perl-HTML-Scrubber


# XML-RPC interface
Requires: perl-SOAP-Lite


Requires: perl-DBD-mysql


# Graphical reports and charts are disabled due to security holes in modules and
# high load imposed on server.
%def_without graphs

%if_with graphs
Requires: perl-GD, perl-Template-GD, perl-GD-Graph, perl-GD-Text, perl-Chart


# apache2-mod_perl is buggy (14.04.2008), so disabling
# integrity checking.
# Please check whether mod_perl works for you and enable back if needed.
%add_findreq_skiplist /usr/share/bugzilla/

# avoid unnecessary dependency on apache2-mod_perl

%add_findreq_skiplist /usr/lib/perl5/vendor_perl/ /usr/lib/perl5/vendor_perl/Bugzilla/Install/ /var/www/webapps/bugzilla/buglist.cgi

# manually add requires from previously skipped files

Requires: perl(File/ perl(File/ perl(File/ perl( perl(File/ perl(Date/ perl(Locale/

# We do not have perl-DBD-oracle in ALT Linux

%add_findreq_skiplist /usr/lib/perl5/vendor_perl/Bugzilla/DB/

Bugzilla is the bug tracking system developed by

%package -n perl-Bugzilla
Summary: Perl modules for Bugzilla bug tracking system
Group: Development/Perl
Conflicts: bugzilla-perl <= 2.16.8-alt3
Obsoletes: bugzilla-perl <= 2.16.8-alt3

%description -n perl-Bugzilla
Bugzilla is the bug tracking system developed by

This package contains Perl modules for Bugzilla.

%package -n %name-doc
Summary: A docs for Bugzilla
Group: Books/Other

%description -n %name-doc
%name-doc - Documentation for Bugzilla.

%setup -T -D -a 1

# fix INC path
sed -i -e "s, at bugzilla_web_dir at ,%bugzilla_web_dir,g" Bugzilla/

# Tools
mkdir -p %buildroot%bugzilla_scripts_dir
cp *.pl %buildroot%bugzilla_scripts_dir


# Perl modules
mkdir -p %buildroot%perl_vendor_privlib
cp -a Bugzilla %buildroot%perl_vendor_privlib

find %buildroot -type f -name .cvsignore -delete


# Web part
mkdir -p %buildroot%bugzilla_web_dir
install *.cgi *.xul bugzilla.dtd robots.txt %buildroot%bugzilla_web_dir
cp -a images js skins template %buildroot%bugzilla_web_dir
cp -a bugzilla-ru/help bugzilla-ru/template %buildroot%bugzilla_web_dir
cp -a %SOURCE3 %buildroot%bugzilla_web_dir


# Documentation
mkdir -p %buildroot%bugzilla_doc_dir
install QUICKSTART README* UPGRADING* %buildroot%bugzilla_doc_dir
install bugzilla-ru/README* %buildroot%bugzilla_doc_dir
cp -a %SOURCE2 %buildroot%bugzilla_doc_dir

mkdir -p %buildroot%bugzilla_doc_doc_dir
cp -a docs/* t %buildroot%bugzilla_doc_doc_dir


%files -n perl-Bugzilla

%files -n %name-doc


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009