1 |
# $Id: e-smith-domains.spec,v 1.3 2015/07/11 17:19:25 stephdl Exp $ |
2 |
|
3 |
Summary: e-smith server and gateway - domains module |
4 |
%define name e-smith-domains |
5 |
Name: %{name} |
6 |
%define version 2.4.0 |
7 |
%define release 4 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
15 |
Patch0: e-smith-domains-2.4.0_add_domain_name_on_remove_page.patch |
16 |
Patch1: e-smith-domains-2.4.0.bz8842.retrieve_name_and_description_in_locale.patch |
17 |
Patch2: smeserver-locale-2.4.0-locale-2015-07-12.patch |
18 |
Requires: e-smith-base >= 4.13.15-76 |
19 |
Requires: perl(HTML::Tabulate) >= 0.23 |
20 |
Requires: e-smith-formmagick >= 1.4.0-12 |
21 |
BuildRequires: perl(Test::Inline) >= 0.12 |
22 |
BuildRequires: perl |
23 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
24 |
AutoReqProv: no |
25 |
|
26 |
|
27 |
%description |
28 |
e-smith server and gateway software - domains module. |
29 |
|
30 |
%changelog |
31 |
* Sun Jul 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme |
32 |
- Added locale smeserver-locale-2.4.0-locale-2015-07-12.patch |
33 |
- [SME: 8842] |
34 |
|
35 |
* Mon Jul 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
36 |
- display variable name in the server-manager |
37 |
- $domainName, $domainDesc $domain [SME: 8842] |
38 |
|
39 |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-2.sme |
40 |
- Display a warning with the domain name before to remove it [SME: 8333] |
41 |
|
42 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
43 |
- Roll new stream for sme9 |
44 |
|
45 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
46 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
47 |
|
48 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
49 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4287] |
50 |
|
51 |
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
52 |
- Cleanup CREATE/ADD tag mixup [SME: 4045] |
53 |
|
54 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.4.0-9 |
55 |
- Remove <base> tags now in general [SME: 3926] |
56 |
|
57 |
* Fri Oct 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-8 |
58 |
- Fix removal of Corporate DNS setting (take III). [SME: 3415] |
59 |
|
60 |
* Sat Oct 20 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-7 |
61 |
- Add missing braces in last patch. [SME: 3415] |
62 |
|
63 |
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-6 |
64 |
- Allow Corporate DNS settings to be removed via panel. [SME: 3415] |
65 |
|
66 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
67 |
- Clean up spec so package can be built by koji/plague |
68 |
|
69 |
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.4.0-5 |
70 |
- Remove references to virtual from panels [SME: 1517] |
71 |
|
72 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
73 |
- Update to new release naming. No functional changes. |
74 |
- Make Packager generic |
75 |
|
76 |
* Thu Nov 09 2006 Gavin Weight <gweight@gmail.com> 1.4.0-03 |
77 |
- Missing period at the end of the description. [SME: 1852] |
78 |
|
79 |
* Sat Aug 19 2006 Gavin Weight <gweight@gmail.com> 1.4.0-02 |
80 |
- Added Text explaination for Corporate DNS Settings. [SME: 1852] |
81 |
|
82 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01 |
83 |
- Roll stable stream version. [SME: 1016] |
84 |
|
85 |
* Sat Feb 18 2006 Gavin Weight <gweight@gmail.com> 1.3.3-6 |
86 |
- Table and columns headers not translated. [SME: 809] |
87 |
|
88 |
* Mon Jan 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-05 |
89 |
- Remove empty pre and post scriptlets. In some cases they cause |
90 |
package upgrade failures. [SME: 544] |
91 |
|
92 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-04 |
93 |
- Bump release number only |
94 |
|
95 |
* Sun Nov 27 2005 Charlie Brady <charlieb@e-smith.com> |
96 |
- [1.3.3-03] |
97 |
- Regenerate tinydns data file during domain-{create,delete,modify}. |
98 |
[SF: 1366653] |
99 |
|
100 |
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
101 |
- [1.3.3-02] |
102 |
- Use a single validator for domain names and complain if the |
103 |
validation fails. Previously hyphens passed the panel validator |
104 |
but failed on add (or delete). |
105 |
- TODO: Strengthen the regexp [SF: 1352880] |
106 |
|
107 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
108 |
- [1.3.3-01] |
109 |
- Remove L10Ns from base packages [SF: 1309520] |
110 |
|
111 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
112 |
- [1.3.2-01] |
113 |
- New dev stream before relocating L10Ns |
114 |
|
115 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
116 |
- [1.3.1-05] |
117 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
118 |
|
119 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
120 |
- [1.3.1-04] |
121 |
- French L10N fixups (and reformat) - Thanks Didier Rambeau [SF: 1293787] |
122 |
|
123 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
124 |
- [1.3.1-03] |
125 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
126 |
|
127 |
* Thu Aug 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
128 |
- [1.3.1-02] |
129 |
- Rewrite with CGI::FormMagick and HTML::Tabulate |
130 |
- Added corporate DNS settings with page to change them |
131 |
- Update to HTML::Tabulate 0.23 so that the remove link goes |
132 |
away when we don't want it - Thanks to Gavin Carr for the |
133 |
immediate patch turnaround. |
134 |
- Only add "Corporate DNS Servers" to picklist if configured |
135 |
- Migrate all domains in domains db, defaulting system domain to |
136 |
'localhost', and others to 'internet' |
137 |
- Remove table border, and change stripe colour to match other buttons |
138 |
- Add calls to signal-event for create/modify/delete |
139 |
- TODO: Insert name of domain to be deleted on remove page |
140 |
- Signal the dns-update event when DNS configuration is changed |
141 |
- Migrate the Nameserver property to the Nameservers |
142 |
|
143 |
* Thu Aug 25 2005 Charlie Brady <charlieb@e-smith.com> |
144 |
- [1.3.1-01] |
145 |
- Roll new development stream prior to adding support for delegation to |
146 |
Corporate Nameservers. |
147 |
|
148 |
* Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com> |
149 |
- [1.3.0-07] |
150 |
- Remove dangling tinydns-conf symlinks.[SF: 1240099] |
151 |
|
152 |
* Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com> |
153 |
- [1.3.0-06] |
154 |
- Replace obsolete conf-mod_ssl symlink with fodder for |
155 |
generic_expand_template. |
156 |
|
157 |
* Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com> |
158 |
- [1.3.0-05] |
159 |
- Set non-empty path so domain panel can restart apache. |
160 |
[charlieb MN00050181] |
161 |
|
162 |
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
163 |
- [1.3.0-04] |
164 |
- Updated requires with new perl dependencies. [msoulier MN00040240] |
165 |
|
166 |
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
167 |
- [1.3.0-03] |
168 |
- Added big, red reboot warning. [msoulier MN00041156] |
169 |
|
170 |
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
171 |
- [1.3.0-02] |
172 |
- Whitespace fix. |
173 |
|
174 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
175 |
- [1.3.0-01] |
176 |
- rolling to dev - 1.3.0 |
177 |
|
178 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
179 |
- [1.2.0-01] |
180 |
- rolling to stable - 1.2.0 |
181 |
|
182 |
* Mon Oct 20 2003 Michael Soulier <msoulier@e-smith.com> |
183 |
- [1.1.0-03] |
184 |
- Fixed the red success message. [msoulier 9265] |
185 |
|
186 |
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
187 |
- [1.1.0-02] |
188 |
- Removed reserved 'secure.domain' name as it is no longer a special |
189 |
case [markk 8989] |
190 |
|
191 |
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
192 |
- [1.1.0-01] |
193 |
- Rolling to development stream - 1.1.0 |
194 |
|
195 |
* Sun Sep 14 2003 Charlie Brady <charlieb@e-smith.com> |
196 |
- [1.0.0-08] |
197 |
- Remove xinetd-reload from domain-{create,delete,modify} events. |
198 |
[charlieb 9804] |
199 |
|
200 |
* Mon Aug 25 2003 Charlie Brady <charlieb@e-smith.com> |
201 |
- [1.0.0-07] |
202 |
- Reconfig tinydns when adding/removing a domain. [charlieb 9642] |
203 |
|
204 |
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
205 |
- [1.0.0-06] |
206 |
- Spanish nav bar [gordonr 9153] |
207 |
|
208 |
* Tue Jun 17 2003 Gordon Rowell <gordonr@e-smith.com> |
209 |
- [1.0.0-05] |
210 |
- c&p error in change 1.0.0-02 [gordonr 8954] |
211 |
|
212 |
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
213 |
- [1.0.0-04] |
214 |
- Added order tags to migrate fragments [gordonr 9015] |
215 |
|
216 |
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
217 |
- [1.0.0-03] |
218 |
- Fix wrong DB name in warning message. [charlieb 8954] |
219 |
|
220 |
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
221 |
- [1.0.0-02] |
222 |
- Force domain names to lower case - DNS is case insensitive. [charlieb 8954] |
223 |
|
224 |
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
225 |
- [1.0.0-01] |
226 |
- Initial release. This module used to be part of e-smith-base. [markk 8610] |
227 |
|
228 |
%prep |
229 |
%setup |
230 |
%patch0 -p1 |
231 |
%patch1 -p1 |
232 |
%patch2 -p1 |
233 |
|
234 |
%build |
235 |
LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ |
236 |
-type f | grep -v CVS | grep -v pleasewait) |
237 |
for lexicon in $LEXICONS |
238 |
do |
239 |
/sbin/e-smith/validate-lexicon $lexicon |
240 |
done |
241 |
|
242 |
/sbin/e-smith/generate-lexicons |
243 |
|
244 |
perl createlinks |
245 |
|
246 |
%install |
247 |
rm -rf $RPM_BUILD_ROOT |
248 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
249 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
250 |
> %{name}-%{version}-%{release}-filelist |
251 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
252 |
|
253 |
%clean |
254 |
rm -rf $RPM_BUILD_ROOT |
255 |
|
256 |
%files -f %{name}-%{version}-%{release}-filelist |
257 |
%defattr(-,root,root) |