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