1 |
# $Id: smeserver-shared-folders.spec,v 1.23 2010/05/23 19:14:10 slords Exp $ |
2 |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
4 |
|
5 |
Summary: sme server shared folders module |
6 |
%define name smeserver-shared-folders |
7 |
Name: %{name} |
8 |
%define version 0.1 |
9 |
%define release 22 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
|
16 |
Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch |
17 |
Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch |
18 |
Patch2: smeserver-shared-folders-0.1-locale-2009-05-05.patch |
19 |
Patch3: smeserver-shared-folders-0.1-optimize_permissions.patch |
20 |
Patch4: smeserver-shared-folders-0.1-extended_access.patch |
21 |
Patch5: smeserver-shared-folders-0.1-keep_versions_in_panel.patch |
22 |
Patch6: smeserver-shared-folders-0.1-locale_extended_access.patch |
23 |
Patch7: smeserver-shared-folders-0.1-locale_add_description.patch |
24 |
Patch8: smeserver-shared-folders-0.1-remove_desc.patch |
25 |
Patch9: smeserver-shared-folders-0.1-http_skip_wrong_values.patch |
26 |
Patch10: smeserver-shared-folders-0.1-locale-2009-05-20.patch |
27 |
Patch11: smeserver-shared-folders-0.1-locale-2009-05-21.patch |
28 |
Patch12: smeserver-shared-folders-0.1-smb_template_begin.patch |
29 |
Patch13: smeserver-shared-folders-0.1-locale_en_2009-05-21.patch |
30 |
Patch14: smeserver-shared-folders-0.1-locale-2009-05-25.patch |
31 |
Patch15: smeserver-shared-folders-0.1-external_ssl_as_local.patch |
32 |
Patch16: smeserver-shared-folders-0.1-locale-2009-06-15.patch |
33 |
Patch17: smeserver-shared-folders-0.1-locale-2009-07-22.patch |
34 |
Patch18: smeserver-shared-folders-0.1-locale-2009-08-24.patch |
35 |
Patch19: smeserver-shared-folders-0.1-locale-2009-09-28.patch |
36 |
Patch20: smeserver-shared-folders-0.1-locale-2009-10-20.patch |
37 |
Patch21: smeserver-shared-folders-0.1-locale-2009-10-21.patch |
38 |
Patch22: smeserver-shared-folders-0.1-locale-2009-10-27.patch |
39 |
Patch23: smeserver-shared-folders-0.1-locale-2009-11-17.patch |
40 |
Patch24: smeserver-shared-folders-0.1-locale-2010-03-02.patch |
41 |
Patch25: smeserver-shared-folders-0.1-manual_permissions.patch |
42 |
Patch26: smeserver-shared-folders-0.1-dynamic_exec_cgi.patch |
43 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
46 |
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
|
49 |
|
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArchitectures: noarch |
52 |
Requires: e-smith-base >= 4.13.15-76 |
53 |
Requires: perl(CGI::FormMagick) |
54 |
Requires: e-smith-formmagick >= 1.4.0-12 |
55 |
|
56 |
Requires: acl |
57 |
BuildRequires: perl |
58 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
59 |
|
60 |
|
61 |
%description |
62 |
This module allows you to create network shares |
63 |
with more flexibility than ibays as it supports ACLs |
64 |
|
65 |
%changelog |
66 |
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
67 |
- correct typos in en-us locale [SME: 6103] |
68 |
- apply locale 2010-07-06 patch |
69 |
|
70 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
71 |
- apply locale 2010-05-23 patch |
72 |
|
73 |
* Thu Mar 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-20.sme |
74 |
- apply locale 2010-03-26 patch (fix navigation-conf) |
75 |
|
76 |
* Thu Mar 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-19.sme |
77 |
- apply locale 2010-03-25 patch |
78 |
|
79 |
* Mon Mar 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-18.sme |
80 |
- really apply manual_permissions patch |
81 |
|
82 |
* Mon Mar 08 2010 Daniel B. <daniel@firewall-services.com> 0.1-17.sme |
83 |
- Add an option to allow manual permissions (ManualPermissions) |
84 |
- remove unused .orig file |
85 |
- Exec CGI in cgi-bin directories |
86 |
|
87 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1-16.sme |
88 |
- apply locale 2010-03-02 patch |
89 |
|
90 |
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
91 |
- apply locale 2009-11-17 patch |
92 |
|
93 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
94 |
- apply locale 2009-10-27 patch |
95 |
|
96 |
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
97 |
- apply locale 2009-10-21 patch |
98 |
|
99 |
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
100 |
- apply locale 2009-10-20 patch |
101 |
|
102 |
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
103 |
- apply locale 2009-09-28 patch |
104 |
|
105 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
106 |
- apply locale 2009-08-24 patch |
107 |
|
108 |
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
109 |
- Apply locale 2009-07-22 patch |
110 |
|
111 |
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
112 |
- Apply locale 2009-06-15 patch |
113 |
|
114 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
115 |
- Include hosts/networks defined in $externalSSLAccess for local access |
116 |
(httpAccess) |
117 |
|
118 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
119 |
- Apply locale 2009-05-25 patch |
120 |
|
121 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
122 |
- Add an empty template-begin for smb.conf template |
123 |
- Add locale 2009-05-21 patch (en-us) |
124 |
|
125 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
126 |
- apply locale 2009-05-21 patch |
127 |
|
128 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme |
129 |
- apply locale 2009-05-20 patch |
130 |
|
131 |
* Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2] |
132 |
- add http access, with some options in the panel |
133 |
- present the keepversion option of the recylcebin in the panel |
134 |
- changes in db keys |
135 |
- remove some descriptions in the panel |
136 |
- optimization in share-modify to limit the time needed |
137 |
to reset permissions |
138 |
|
139 |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
140 |
- Add locale patch 2009-05-05 |
141 |
|
142 |
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3] |
143 |
- Add acl option in fstab via the template system |
144 |
(just like usrquota and grpquota) |
145 |
|
146 |
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2] |
147 |
- Rename spec file |
148 |
|
149 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1] |
150 |
- Rename maxIbayNameLength to maxShareNameLength |
151 |
|
152 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0] |
153 |
- Initial release. |
154 |
|
155 |
%prep |
156 |
%setup |
157 |
|
158 |
%patch0 -p1 |
159 |
%patch1 -p1 |
160 |
%patch2 -p1 |
161 |
%patch3 -p1 |
162 |
%patch4 -p1 |
163 |
%patch5 -p1 |
164 |
%patch6 -p1 |
165 |
%patch7 -p1 |
166 |
%patch8 -p1 |
167 |
%patch9 -p1 |
168 |
%patch10 -p1 |
169 |
%patch11 -p1 |
170 |
%patch12 -p1 |
171 |
%patch13 -p1 |
172 |
%patch14 -p1 |
173 |
%patch15 -p1 |
174 |
%patch16 -p1 |
175 |
%patch17 -p1 |
176 |
%patch18 -p1 |
177 |
%patch19 -p1 |
178 |
%patch20 -p1 |
179 |
%patch21 -p1 |
180 |
%patch22 -p1 |
181 |
%patch23 -p1 |
182 |
%patch24 -p1 |
183 |
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
184 |
%patch25 -p1 |
185 |
%patch26 -p1 |
186 |
%patch27 -p1 |
187 |
%patch28 -p1 |
188 |
%patch29 -p1 |
189 |
%patch30 -p1 |
190 |
%patch31 -p1 |
191 |
|
192 |
%pre |
193 |
%post |
194 |
|
195 |
%build |
196 |
# Force creation of potentially empty directories |
197 |
mkdir -p root/etc/e-smith/web/{common,functions} |
198 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
199 |
mkdir -p root/home/e-smith/files/shares |
200 |
|
201 |
perl createlinks |
202 |
|
203 |
%install |
204 |
rm -rf $RPM_BUILD_ROOT |
205 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
206 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
207 |
> %{name}-%{version}-%{release}-filelist |
208 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
209 |
|
210 |
%clean |
211 |
rm -rf $RPM_BUILD_ROOT |
212 |
|
213 |
%files -f %{name}-%{version}-%{release}-filelist |
214 |
%defattr(-,root,root) |