1 |
stephdl |
1.15 |
# $Id: e-smith-ibays.spec,v 1.14 2015/01/04 09:05:47 stephdl Exp $ |
2 |
slords |
1.1 |
|
3 |
|
|
Summary: e-smith server and gateway - ibays module |
4 |
|
|
%define name e-smith-ibays |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.4.0 |
7 |
stephdl |
1.15 |
%define release 13 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
mrjhb3 |
1.2 |
Patch1: e-smith-ibays-2.4.0-ibay_auth.patch |
14 |
mrjhb3 |
1.3 |
Patch2: e-smith-ibays-2.4.0-primary_ibay_symlink.patch |
15 |
wellsi |
1.4 |
Patch3: e-smith-ibays-2.4.0-force-https.patch |
16 |
burnat |
1.5 |
Patch4: e-smith-ibays-2.4.0-https-patch-en-us.patch |
17 |
wellsi |
1.6 |
Patch5: e-smith-ibays-2.4.0-90e-smithAccess40ibays-whitespace.patch |
18 |
|
|
Patch6: e-smith-ibays-2.4.0-removeV3Migrate.patch |
19 |
|
|
Patch7: e-smith-ibays-2.4.0-RequireSSL.patch |
20 |
stephdl |
1.8 |
Patch8: e-smith-ibays-2.4.0_add_php_values_and_SSLRequireSSL.patch |
21 |
stephdl |
1.11 |
Patch9: e-smith-ibays-2.4.0_force_ssl_to_domains.patch |
22 |
stephdl |
1.15 |
#Patch10: e-smith-ibays-2.4.0_addtmpfolder_to_ibays.patch |
23 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
|
|
BuildArchitectures: noarch |
25 |
|
|
Requires: e-smith-base >= 4.13.15-76 |
26 |
|
|
Requires: perl(CGI::FormMagick) |
27 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
|
|
Conflicts: e-smith-apache < 0.1.1 |
29 |
|
|
BuildRequires: perl, perl(Test::Inline) |
30 |
|
|
BuildRequires: e-smith-devtools >= 1.11.0-03 |
31 |
|
|
AutoReqProv: no |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
%description |
35 |
|
|
e-smith server and gateway software - ibays module. |
36 |
|
|
|
37 |
|
|
%changelog |
38 |
stephdl |
1.15 |
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-13.sme |
39 |
stephdl |
1.13 |
- Add an upload_tmp_folder setting by db command [sme: 7011] |
40 |
|
|
- Thanks to Michael McCarn and Jean-philippe Pialasse |
41 |
stephdl |
1.14 |
- init-ibays create the folder tmp within all i-bays root directory |
42 |
|
|
- ibay-modify create/chown/chmod the folder tmp within the i-bays root directory |
43 |
stephdl |
1.13 |
|
44 |
stephdl |
1.12 |
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
45 |
|
|
- Add an upload_tmp_folder setting by db command [sme: 7011] |
46 |
|
|
- Thanks to Michael McCarn and Jean-philippe Pialasse |
47 |
|
|
|
48 |
stephdl |
1.11 |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
49 |
|
|
- Force SSL following ibays settings to the relevant domain [SME: 8332] |
50 |
|
|
|
51 |
stephdl |
1.10 |
* Tue Apr 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
52 |
stephdl |
1.9 |
- Perl::critic syntax modifications [SME: 8239] |
53 |
|
|
- Add more PHP options to ibays only by db commands [SME: 8239] |
54 |
|
|
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
55 |
|
|
|
56 |
stephdl |
1.8 |
* Sat Mar 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-8.sme |
57 |
|
|
- Add more PHP options to ibays only by db commands [SME: 8239] |
58 |
|
|
- Add SSLRequireSSL to ibays when SSL is set to enabled [SME: 8239] |
59 |
|
|
|
60 |
stephdl |
1.7 |
* Sun Mar 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
61 |
|
|
- Force https per ibay should not be the default for existing ibays [SME: 3675] |
62 |
|
|
|
63 |
wellsi |
1.6 |
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
64 |
|
|
- Provide the ability to restrict ibay access to https, by JPP [SME: 882] |
65 |
|
|
- Remove old migrate fragment [SME: 8080] |
66 |
|
|
- Whitespace cleanup, mainly tab removal, of 90e-smithAccess40ibays |
67 |
|
|
|
68 |
burnat |
1.5 |
* Sat Dec 8 2013 Chris Burnat <devlist@burnat.com> 2.4.0-5.sme |
69 |
|
|
- Update en-us translation file by Stephane de Labrusse [SME: 3675] |
70 |
|
|
|
71 |
wellsi |
1.4 |
* Sat Nov 30 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
72 |
|
|
- Provide the ability to force https per ibay by Stephane de Labrusse [SME: 3675] |
73 |
|
|
|
74 |
mrjhb3 |
1.3 |
* Mon Sep 30 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-3.sme |
75 |
|
|
- Patch to remove symlink to Primary ibay from /home/e-smith/files/primary [SME: 3730] |
76 |
|
|
|
77 |
mrjhb3 |
1.2 |
* Mon Sep 30 2013 John H. Bennett III <bennettj@johnbennettservices.com> 2.4.0-2.sme |
78 |
|
|
- Patch to correct issue with not being able to access a password protected ibay [SME: 7794] |
79 |
|
|
|
80 |
slords |
1.1 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
81 |
|
|
- Roll new stream for sme9 |
82 |
|
|
|
83 |
|
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-11.sme |
84 |
|
|
- Fix non-translated locale in ibays panel [SME: 6718] |
85 |
|
|
|
86 |
|
|
* Thu Oct 27 2011 Daniel B. <daniel@firewall-services.com> 2.2.0-10.sme |
87 |
|
|
- Don't try to modify Primary unix/ldap account [SME:6770] |
88 |
|
|
|
89 |
|
|
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
90 |
|
|
- All ibay account commands as system accounts in LDAP [SME: 6326] |
91 |
|
|
|
92 |
|
|
* Thu Nov 4 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-8.sme |
93 |
|
|
- Create ibay accounts as system accounts in LDAP [SME: 6326] |
94 |
|
|
|
95 |
|
|
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
96 |
|
|
- Fix cpu critical patch missing ) [SME: 6330] |
97 |
|
|
|
98 |
|
|
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
99 |
|
|
- Fix cpu critical patch missing ' [SME: 6330] |
100 |
|
|
|
101 |
|
|
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
102 |
|
|
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
103 |
|
|
|
104 |
|
|
* Tue Nov 2 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
105 |
|
|
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6326] |
106 |
|
|
|
107 |
|
|
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
108 |
|
|
- Switch to cpu commands if ldap is master [SME: 6326] |
109 |
|
|
|
110 |
|
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
111 |
|
|
- Fix maxIbayNameLength logic [SME: 4457] |
112 |
|
|
|
113 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
114 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
115 |
|
|
|
116 |
|
|
* Sun Jul 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-12 |
117 |
|
|
- Fix password verify entry text box description [SME: 4460] |
118 |
|
|
|
119 |
|
|
* Thu Jul 24 2008 Shad L. Lords <slords@mail.com> 1.2.0-11 |
120 |
|
|
- Really fix faulty patch for maxIbayNameLength [SME: 4457] |
121 |
|
|
|
122 |
|
|
* Fri May 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-10 |
123 |
|
|
- Fixed faulty patch for maxIbayNameLength [SME: 424] |
124 |
|
|
|
125 |
|
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9 |
126 |
|
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4283] |
127 |
|
|
|
128 |
|
|
* Fri Apr 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-8 |
129 |
|
|
- Move maxIbayNameLength from ibays.pm to config DB [SME: 424] |
130 |
|
|
|
131 |
|
|
* Mon Apr 7 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-7 |
132 |
|
|
- Include index.shtml in DirectoryIndex list.[SME: 4180] |
133 |
|
|
|
134 |
|
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-6 |
135 |
|
|
- Remove <base> tags now in general [SME: 3924] |
136 |
|
|
|
137 |
|
|
* Thu Aug 30 2007 Charlie Brady <charlie_brady@mitel.com> |
138 |
|
|
- Fix warnings generated by panel. [SME: 1309] |
139 |
|
|
|
140 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
141 |
|
|
- Clean up spec so package can be built by koji/plague |
142 |
|
|
|
143 |
|
|
* Fri Dec 08 2006 Shad L. Lords <slords@mail.com> 1.2.0-4 |
144 |
|
|
- Make non-dynamic indexes not look for dynamic content. [SME: 1908] |
145 |
|
|
|
146 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
147 |
|
|
- Update to new release naming. No functional changes. |
148 |
|
|
- Make Packager generic |
149 |
|
|
|
150 |
|
|
* Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-02 |
151 |
|
|
- Fix typo in ibays http.conf template [SME: 1173] |
152 |
|
|
|
153 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
154 |
|
|
- Roll stable stream version. [SME: 1016] |
155 |
|
|
|
156 |
|
|
* Thu Feb 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.3-06 |
157 |
|
|
- Fix php register_globals directive. [SME: 820] |
158 |
|
|
|
159 |
|
|
* Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 1.1.3-05 |
160 |
|
|
- Remove bogus IbayPlugin symlink. [SME: 519] |
161 |
|
|
|
162 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.3-04 |
163 |
|
|
- Bump release number only |
164 |
|
|
|
165 |
|
|
* Sun Oct 16 2005 Gordon Rowell <gordonr@e-smith.com> |
166 |
|
|
- [1.1.3-03] |
167 |
|
|
- Allow per-ibay override for PHP register_globals setting. To enable: |
168 |
|
|
/sbin/e-smith/db accounts setprop <ibay> PHPRegisterGlobals enabled |
169 |
|
|
Thanks John Bennett [SF: 1328236] |
170 |
|
|
|
171 |
|
|
* Fri Oct 14 2005 Charlie Brady <charlieb@e-smith.com> |
172 |
|
|
- [1.1.3-02] |
173 |
|
|
- Fix missing 'use esmith::util' in ibay-modify action. |
174 |
|
|
[SF: 1327138] |
175 |
|
|
|
176 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
177 |
|
|
- [1.1.3-01] |
178 |
|
|
- Remove L10Ns from base packages [SF: 1309520] |
179 |
|
|
|
180 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
181 |
|
|
- [1.1.2-01] |
182 |
|
|
- New dev stream before relocating L10Ns |
183 |
|
|
|
184 |
|
|
* Thu Oct 6 2005 Charlie Brady <charlieb@e-smith.com> |
185 |
|
|
- [1.1.1-18] |
186 |
|
|
- Strip out plugin stuff, for now at least. [SF: 1304496] |
187 |
|
|
|
188 |
|
|
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
189 |
|
|
- [1.1.1-17] |
190 |
|
|
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
191 |
|
|
|
192 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
193 |
|
|
- [1.1.1-16] |
194 |
|
|
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
195 |
|
|
|
196 |
|
|
* Wed Sep 14 2005 Tony Clayton <apc@e-smith.com> |
197 |
|
|
- [1.1.1-15] |
198 |
|
|
- Don't version 'none' plugin [SF: 1292084] |
199 |
|
|
|
200 |
|
|
* Mon Sep 5 2005 Tony Clayton <apc@e-smith.com> |
201 |
|
|
- [1.1.1-14] |
202 |
|
|
- Add dependency on e-smith-formmagick >= 1.3.0-10 |
203 |
|
|
- Fix default plugin display [SF: 1271745,1263740] |
204 |
|
|
- Clean up, add POD to IbayPlugin modules [SF: 1263740] |
205 |
|
|
- Support versioning of plugins, do version checks in ibay panel |
206 |
|
|
|
207 |
|
|
* Wed Aug 24 2005 Charlie Brady <charlieb@e-smith.com> |
208 |
|
|
- [1.1.1-13] |
209 |
|
|
- Default plugin to none in esFM::ibay::create_ibay(). [SF: 1267897] |
210 |
|
|
|
211 |
|
|
* Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com> |
212 |
|
|
- [1.1.1-12] |
213 |
|
|
- Fix missing "use esmith::util" in ibay plugin lib. [SF: 1265684] |
214 |
|
|
- Don't display ibay Plugin choice if "none" is the only choice. [SF: 1263740] |
215 |
|
|
|
216 |
|
|
* Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
217 |
|
|
- [1.1.1-11] |
218 |
|
|
- Need to check $ibay->prop('type') not $ibay->type [SF: 1260237] |
219 |
|
|
|
220 |
|
|
* Tue Aug 9 2005 Shad Lords <slords@mail.com> |
221 |
|
|
- [1.1.1-10] |
222 |
|
|
- Remove 90e-smithAccess10common (belongs in e-smith-apache) |
223 |
|
|
- Move some ibay options to database |
224 |
|
|
|
225 |
|
|
* Thu Aug 4 2005 Gordon Rowell <gordonr@gormand.com.au> |
226 |
|
|
- [1.1.1-09] |
227 |
|
|
- Syntactic fix to perl code from 1.1.1-08 change |
228 |
|
|
|
229 |
|
|
* Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com> |
230 |
|
|
- [1.1.1-08] |
231 |
|
|
- Update all uses of deprecated esmith::config and db_ APIs. |
232 |
|
|
- Rewrite ibay-delete action in shell. |
233 |
|
|
|
234 |
|
|
* Wed Jan 19 2005 Charlie Brady <charlieb@e-smith.com> |
235 |
|
|
- [1.1.1-07] |
236 |
|
|
- Fix untaint RE. [charlieb MN00050161] |
237 |
|
|
- Fix "will not stay shared" warnings in IbayPlugin/none.pm |
238 |
|
|
|
239 |
|
|
* Thu Nov 11 2004 Charlie Brady <charlieb@e-smith.com> |
240 |
|
|
- [1.1.1-06] |
241 |
|
|
- Untaint name before using in system(). [charlieb MN00050161] |
242 |
|
|
|
243 |
|
|
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
244 |
|
|
- [1.1.1-05] |
245 |
|
|
- Updated requires with new perl dependencies. [msoulier MN00040240] |
246 |
|
|
- Clean BuildRequires. [charlieb MN00043055] |
247 |
|
|
|
248 |
|
|
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
249 |
|
|
- [1.1.1-04] |
250 |
|
|
- Fixed two issues with previous change. [msoulier 7475] |
251 |
|
|
|
252 |
|
|
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
253 |
|
|
- [1.1.1-03] |
254 |
|
|
- Updating default repair method to set CGIs as executable if enabled. |
255 |
|
|
[msoulier 7475] |
256 |
|
|
|
257 |
|
|
* Wed Nov 19 2003 Tony Clayton <apc@e-smith.com> |
258 |
|
|
- [1.1.1-02] |
259 |
|
|
- Fix processTemplate call in IbayPlugin::none [tonyc 9924] |
260 |
|
|
- Merge ibay-conf-plugin into ibay-modify action [tonyc 9924] |
261 |
|
|
|
262 |
|
|
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
263 |
|
|
- [1.1.1-01] |
264 |
|
|
- Collecting patches. |
265 |
|
|
|
266 |
|
|
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
267 |
|
|
- [1.1.0-02] |
268 |
|
|
- Adding 6.0 styling to ibay panel. [msoulier 10415] |
269 |
|
|
- Converted createlinks to new api. |
270 |
|
|
- Add IbayPlugin stuff [tonyc 9924] |
271 |
|
|
- Add dependency on perl-CGI-FormMagick >= 0.91-04 [tonyc 9924] |
272 |
|
|
|
273 |
|
|
* Fri Sep 5 2003 Tony Clayton <apc@e-smith.com> |
274 |
|
|
- [1.1.0-01] |
275 |
|
|
- Changing version to development stream number - 1.1.0 |
276 |
|
|
- Rolling to development stream [tonyc 9924] |
277 |
|
|
|
278 |
|
|
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
279 |
|
|
- [1.0.3-05] |
280 |
|
|
- Fixed the content ibay showing up in the ibay list of the primary domain's |
281 |
|
|
virtual host block. [msoulier 9649] |
282 |
|
|
|
283 |
|
|
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
284 |
|
|
- [1.0.3-04] |
285 |
|
|
- Correcting the previous revision, and limiting ibay access as sub-urls to |
286 |
|
|
the primary domain only. [msoulier 9649] |
287 |
|
|
|
288 |
|
|
* Wed Aug 6 2003 Michael Soulier <msoulier@e-smith.com> |
289 |
|
|
- [1.0.3-03] |
290 |
|
|
- Unify ibay handling, since 15PrimaryContent is now obsolete, and changing |
291 |
|
|
the primary domain's content was breaking access to ibays. [msoulier 9649] |
292 |
|
|
|
293 |
|
|
* Wed Jul 2 2003 Charlie Brady <charlieb@e-smith.com> |
294 |
|
|
- [1.0.3-02] |
295 |
|
|
- Fix path of created starter website index file (don't rely on symlink |
296 |
|
|
which "should" point to correct place). [charlieb 9241] |
297 |
|
|
|
298 |
|
|
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
299 |
|
|
- [1.0.3-01] |
300 |
|
|
- Added order to migrate fragments [gordonr 9015] |
301 |
|
|
|
302 |
|
|
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
303 |
|
|
- [1.0.2-04] |
304 |
|
|
- Fixed Conflicts header - should be <, not <= [gordonr 8903] |
305 |
|
|
|
306 |
|
|
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
307 |
|
|
- [1.0.2-03] |
308 |
|
|
- Missing 'use esmith::util' [gordonr 8973] |
309 |
|
|
|
310 |
|
|
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
311 |
|
|
- [1.0.2-02] |
312 |
|
|
- Fix broken symlinks in post-{install,upgrade}. [charlieb 8973] |
313 |
|
|
|
314 |
|
|
* Fri Jun 6 2003 Gordon Rowell <gordonr@e-smith.com> |
315 |
|
|
- [1.0.2-01] |
316 |
|
|
- Shuffled some httpd.conf fragments from e-smith-apache [gordonr 8903] |
317 |
|
|
|
318 |
|
|
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
319 |
|
|
- [1.0.1-01] |
320 |
|
|
- Fix typo in createlinks script. Rolling version of package |
321 |
|
|
to correct build problem. [charlieb 8841] |
322 |
|
|
|
323 |
|
|
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
324 |
|
|
- [1.0.0-02] |
325 |
|
|
- Add some code from init-accounts action which depends on |
326 |
|
|
/home/e-smith/files/ibays directory, which isn't included |
327 |
|
|
in base. New action is init-ibays. [charlieb 8841] |
328 |
|
|
|
329 |
|
|
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
330 |
|
|
- [1.0.0-01] |
331 |
|
|
- Initial release. Split out from e-smith-base. [markk 8610] |
332 |
|
|
|
333 |
|
|
%prep |
334 |
|
|
%setup |
335 |
|
|
|
336 |
mrjhb3 |
1.2 |
%patch1 -p1 |
337 |
mrjhb3 |
1.3 |
%patch2 -p1 |
338 |
wellsi |
1.4 |
%patch3 -p1 |
339 |
burnat |
1.5 |
%patch4 -p1 |
340 |
wellsi |
1.6 |
%patch5 -p1 |
341 |
|
|
%patch6 -p1 |
342 |
|
|
%patch7 -p1 |
343 |
stephdl |
1.8 |
%patch8 -p1 |
344 |
stephdl |
1.11 |
%patch9 -p1 |
345 |
stephdl |
1.15 |
#%patch10 -p1 |
346 |
slords |
1.1 |
%pre |
347 |
|
|
%post |
348 |
|
|
|
349 |
|
|
%build |
350 |
|
|
LEXICONS=$(find root/etc/e-smith/web/functions \ |
351 |
|
|
-type f | grep -v CVS | grep -v pleasewait) |
352 |
|
|
for lexicon in $LEXICONS |
353 |
|
|
do |
354 |
|
|
/sbin/e-smith/validate-lexicon $lexicon |
355 |
|
|
done |
356 |
|
|
|
357 |
|
|
/sbin/e-smith/generate-lexicons |
358 |
|
|
|
359 |
|
|
perl createlinks |
360 |
|
|
|
361 |
|
|
%install |
362 |
|
|
rm -rf $RPM_BUILD_ROOT |
363 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
364 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
365 |
|
|
> %{name}-%{version}-%{release}-filelist |
366 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
367 |
|
|
|
368 |
|
|
%clean |
369 |
|
|
rm -rf $RPM_BUILD_ROOT |
370 |
|
|
|
371 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
372 |
|
|
%defattr(-,root,root) |