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