1 |
slords |
1.1 |
Summary: Set up bugzilla for SME Server. |
2 |
|
|
Name: smeserver-bugzilla |
3 |
|
|
Version: 0.1 |
4 |
|
|
Release: 3%{?dist} |
5 |
|
|
License: GNU GPL version 2 |
6 |
|
|
URL: http://www.contribs.org |
7 |
|
|
Group: SMEserver/addon |
8 |
|
|
Source: %{name}-%{version}.tar.gz |
9 |
|
|
Patch0: smeserver-bugzilla-0.1-createlinks.patch |
10 |
|
|
Patch1: smeserver-bugzilla-0.1-database.patch |
11 |
|
|
Patch2: smeserver-bugzilla-0.1-httpd.conf.patch |
12 |
|
|
Patch3: smeserver-bugzilla-0.1-bugzilla.conf.patch |
13 |
|
|
Patch4: smeserver-bugzilla-0.1-localconfig.patch |
14 |
|
|
Patch5: smeserver-bugzilla-0.1-actionscript.patch |
15 |
|
|
Patch6: smeserver-bugzilla-0.1-passwordwarning.patch |
16 |
|
|
Patch7: smeserver-bugzilla-0.1-bugzilla-setup.patch |
17 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
|
|
Requires: e-smith-release >= 7.0 |
21 |
|
|
Requires: bugzilla >= 3.0 |
22 |
|
|
#Requires: perl(CGI) >= 3.21 |
23 |
|
|
Requires: perl-CGI >= 3.21 |
24 |
|
|
Requires: perl(Digest::SHA) |
25 |
|
|
#Requires: perl(TimeDate) >= 2.21 |
26 |
|
|
Requires: perl-TimeDate |
27 |
|
|
Requires: perl(DateTime) >= 0.28 |
28 |
|
|
#Requires: perl(Date::Format) >= 2.21 |
29 |
|
|
Requires: perl(DateTime::TimeZone) >= 0.71 |
30 |
|
|
#Requires: perl(PathTools) |
31 |
|
|
#Requires: perl-PathTools |
32 |
|
|
Requires: perl(DBI) >= 1.41 |
33 |
|
|
Requires: perl(DBD::mysql) >= 4.00 |
34 |
|
|
#Requires: perl(Template::Toolkit) >= 2.22 |
35 |
|
|
Requires: perl-Template-Toolkit >= 2.22 |
36 |
|
|
Requires: perl(Email::Send) >= 2.00 |
37 |
|
|
Requires: perl(Email::MIME) >= 1.861 |
38 |
|
|
Requires: perl(Email::MIME::Encodings) >= 1.313 |
39 |
|
|
Requires: perl(Email::MIME::Modifier) >= 1.442 |
40 |
|
|
Requires: perl(URI) |
41 |
|
|
|
42 |
|
|
Requires: e-smith-base |
43 |
|
|
AutoReqProv: no |
44 |
|
|
|
45 |
|
|
%description |
46 |
|
|
rpm to setup bugzilla |
47 |
|
|
|
48 |
|
|
%changelog |
49 |
|
|
* Mon Dec 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> |
50 |
|
|
- Apply a more restricted set of privileges to the bugzilla database user |
51 |
|
|
|
52 |
|
|
* Mon Dec 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> |
53 |
|
|
- Update minimal requirements to match at least bugzilla 3.4.2 |
54 |
|
|
- Reserve the /bugzilla URL namespace in the configuration database |
55 |
|
|
- Simplify webserver configuration fragment and rely on .htaccess files |
56 |
|
|
generated by checksetup.pl |
57 |
|
|
- Generate localconfig and populate it with the database settings |
58 |
|
|
- Create default input configuration file (/etc/bugzilla.conf) for |
59 |
|
|
checksetup.pl so it can be executed unattended |
60 |
|
|
- Add a custom template so the initial welcome page will remind the admin to |
61 |
|
|
change the password for the admin account |
62 |
|
|
- Enable InnoDB as this is required for Bugzilla |
63 |
|
|
|
64 |
|
|
* Tue Aug 14 2007 Greg Swallow <greg@runlevle7.ca> - 0.1-1 |
65 |
|
|
- initial release |
66 |
|
|
|
67 |
|
|
%prep |
68 |
|
|
%setup |
69 |
|
|
%patch0 -p1 |
70 |
|
|
%patch1 -p1 |
71 |
|
|
%patch2 -p1 |
72 |
|
|
%patch3 -p1 |
73 |
|
|
%patch4 -p1 |
74 |
|
|
%patch5 -p1 |
75 |
|
|
%patch6 -p1 |
76 |
|
|
%patch7 -p1 |
77 |
|
|
|
78 |
|
|
%build |
79 |
|
|
perl createlinks |
80 |
|
|
|
81 |
|
|
%install |
82 |
|
|
rm -rf $RPM_BUILD_ROOT |
83 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
84 |
|
|
rm -f %{name}-%{version}-filelist |
85 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
86 |
|
|
> %{name}-%{version}-filelist |
87 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
88 |
|
|
|
89 |
|
|
%clean |
90 |
|
|
rm -rf $RPM_BUILD_ROOT |
91 |
|
|
|
92 |
|
|
%files -f %{name}-%{version}-filelist |
93 |
|
|
%defattr(-,root,root) |