# $Id: smeserver-bugzilla.spec,v 1.1 2022/05/23 19:06:46 jpp Exp $ # Authority: snetram # Name: Jonathan Martens Summary: Set up bugzilla for SME Server. %define name smeserver-bugzilla %define version 1.0 %define release 4 Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GNU GPL version 2 URL: http://www.contribs.org Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-bugzilla-1.0-adminpass.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 Requires: e-smith-release >= 8.0 Requires: bugzilla >= 3.2.10 Requires: bugzilla-contrib Requires: bugzilla-doc #Requires: perl-CGI >= 3.21 #Requires: perl(Digest::SHA) #Requires: perl-TimeDate #Requires: perl(DateTime) >= 0.28 #Requires: perl(DateTime::TimeZone) >= 0.71 Requires: perl(DBI) >= 1.41 Requires: perl(DBD::mysql) >= 4.00 #Requires: perl-Template-Toolkit >= 2.22 #Requires: perl(Email::Send) >= 2.00 #Requires: perl(Email::MIME) >= 1.861 #Requires: perl(Email::MIME::Encodings) >= 1.313 #Requires: perl(Email::MIME::Modifier) >= 1.442 #Requires: perl(URI) Requires: e-smith-base AutoReqProv: no %description rpm to setup bugzilla %changelog * Mon May 30 2022 Brian Read 1.0-4.sme - Fix transaction failure with --ignoredirs in genfilelist [SME: 11977] * Sun Oct 13 2013 Jean-Philippe Pialasse 1.0-3.sme - fixing admin pass too long [SME: 7902] * Sat Oct 12 2013 Jean-Philippe Pialasse 1.0-2.sme - fixing localconfig path to etc * Sat Oct 12 2013 Jean-Philippe Pialasse 0.1-6.sme - fixing requirement * Sat Mar 6 2010 Jonathan Martens - Fix date in previous changelog entry - Fix SPEC header to generate proper version and release data * Fri Mar 5 2010 Jonathan Martens - Create strong password * Mon Dec 7 2009 Jonathan Martens - Apply a more restricted set of privileges to the bugzilla database user * Mon Dec 7 2009 Jonathan Martens - Update minimal requirements to match at least bugzilla 3.4.2 - Reserve the /bugzilla URL namespace in the configuration database - Simplify webserver configuration fragment and rely on .htaccess files generated by checksetup.pl - Generate localconfig and populate it with the database settings - Create default input configuration file (/etc/bugzilla.conf) for checksetup.pl so it can be executed unattended - Add a custom template so the initial welcome page will remind the admin to change the password for the admin account - Enable InnoDB as this is required for Bugzilla * Tue Aug 14 2007 Greg Swallow - 0.1-1 - initial release %prep %setup %patch0 -p1 #%patch1 -p1 #%patch2 -p1 #%patch3 -p1 #%patch4 -p1 #%patch5 -p1 #%patch6 -p1 #%patch7 -p1 #%patch8 -p1 %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ --ignoredir "/usr/share/bugzilla" \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)