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