1 |
# $Id: smeserver-bugzilla.spec,v 1.4 2013/10/13 17:03:31 unnilennium Exp $ |
# $Id: smeserver-bugzilla.spec,v 1.2 2022/05/30 10:20:29 brianr Exp $ |
2 |
# Authority: snetram |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
# Name: Jonathan Martens |
4 |
|
|
5 |
Summary: Set up bugzilla for SME Server. |
Summary: Set up bugzilla for SME Server. |
6 |
%define name smeserver-bugzilla |
%define name smeserver-bugzilla |
7 |
%define version 1.0 |
%define version 1.0 |
8 |
%define release 3 |
%define release 5 |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
URL: http://www.contribs.org |
URL: http://www.contribs.org |
14 |
Group: SMEserver/addon |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
|
|
17 |
Patch0: smeserver-bugzilla-1.0-adminpass.patch |
Patch0: smeserver-bugzilla-1.0-adminpass.patch |
18 |
|
Patch1: smeserver-bugzilla-1.0-Switch-to-mariadb-105.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
#Requires: perl(DateTime::TimeZone) >= 0.71 |
#Requires: perl(DateTime::TimeZone) >= 0.71 |
32 |
Requires: perl(DBI) >= 1.41 |
Requires: perl(DBI) >= 1.41 |
33 |
Requires: perl(DBD::mysql) >= 4.00 |
Requires: perl(DBD::mysql) >= 4.00 |
34 |
|
|
35 |
|
Requires: smeserver-mysql >= 2.7.0-5 |
36 |
|
Requires: smeserver-mariadb105 |
37 |
|
|
38 |
#Requires: perl-Template-Toolkit >= 2.22 |
#Requires: perl-Template-Toolkit >= 2.22 |
39 |
#Requires: perl(Email::Send) >= 2.00 |
#Requires: perl(Email::Send) >= 2.00 |
40 |
#Requires: perl(Email::MIME) >= 1.861 |
#Requires: perl(Email::MIME) >= 1.861 |
49 |
rpm to setup bugzilla |
rpm to setup bugzilla |
50 |
|
|
51 |
%changelog |
%changelog |
52 |
|
* Mon May 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.0-5.sme |
53 |
|
- Switch-to-mariadb-105 for SME10 and add -update event [SME: 11977] |
54 |
|
|
55 |
|
* Mon May 30 2022 Brian Read <brianr@bjsystems.co.uk> 1.0-4.sme |
56 |
|
- Fix transaction failure with --ignoredirs in genfilelist [SME: 11977] |
57 |
|
|
58 |
* Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-3.sme |
* Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-3.sme |
59 |
- fixing admin pass too long [SME: 7902] |
- fixing admin pass too long [SME: 7902] |
60 |
|
|
92 |
%prep |
%prep |
93 |
%setup |
%setup |
94 |
%patch0 -p1 |
%patch0 -p1 |
95 |
#%patch1 -p1 |
%patch1 -p1 |
96 |
|
|
97 |
#%patch2 -p1 |
#%patch2 -p1 |
98 |
#%patch3 -p1 |
#%patch3 -p1 |
99 |
#%patch4 -p1 |
#%patch4 -p1 |
110 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
111 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
112 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
113 |
> %{name}-%{version}-filelist |
--ignoredir "/usr/share/bugzilla" \ |
114 |
|
> %{name}-%{version}-filelist |
115 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
116 |
|
|
117 |
%clean |
%clean |