1 |
# $Id: smeserver-shared-folders.spec,v 1.16 2009/10/27 17:43:52 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 15 |
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 |
|
41 |
|
42 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
43 |
BuildArchitectures: noarch |
44 |
Requires: e-smith-base >= 4.13.15-76 |
45 |
Requires: perl(CGI::FormMagick) |
46 |
Requires: e-smith-formmagick >= 1.4.0-12 |
47 |
|
48 |
Requires: acl |
49 |
BuildRequires: perl |
50 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
51 |
|
52 |
|
53 |
%description |
54 |
This module allows you to create network shares |
55 |
with more flexibility than ibays as it supports ACLs |
56 |
|
57 |
%changelog |
58 |
* Tue Nov 17 2009 Daniel B. <daniel@firewall-services.com> 0.1-15.sme |
59 |
- apply locale 2009-11-17 patch |
60 |
|
61 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1-14.sme |
62 |
- apply locale 2009-10-27 patch |
63 |
|
64 |
* Wed Oct 21 2009 Daniel B. <daniel@firewall-services.com> 0.1-13.sme |
65 |
- apply locale 2009-10-21 patch |
66 |
|
67 |
* Tue Oct 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-12.sme |
68 |
- apply locale 2009-10-20 patch |
69 |
|
70 |
* Tue Sep 29 2009 Daniel B. <daniel@firewall-services.com> 0.1-11.sme |
71 |
- apply locale 2009-09-28 patch |
72 |
|
73 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1-10.sme |
74 |
- apply locale 2009-08-24 patch |
75 |
|
76 |
* Wed Jul 22 2009 Daniel B. <daniel@firewall-services.com> 0.1-9.sme |
77 |
- Apply locale 2009-07-22 patch |
78 |
|
79 |
* Mon Jun 15 2009 Daniel B. <daniel@firewall-services.com> [0.1-8] |
80 |
- Apply locale 2009-06-15 patch |
81 |
|
82 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-7] |
83 |
- Include hosts/networks defined in $externalSSLAccess for local access |
84 |
(httpAccess) |
85 |
|
86 |
* Mon May 25 2009 Daniel B. <daniel@firewall-services.com> [0.1-6] |
87 |
- Apply locale 2009-05-25 patch |
88 |
|
89 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-5] |
90 |
- Add an empty template-begin for smb.conf template |
91 |
- Add locale 2009-05-21 patch (en-us) |
92 |
|
93 |
* Thu May 21 2009 Daniel B. <daniel@firewall-services.com> [0.1-4] |
94 |
- apply locale 2009-05-21 patch |
95 |
|
96 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1-3.sme |
97 |
- apply locale 2009-05-20 patch |
98 |
|
99 |
* Wed May 13 2009 Daniel B. <daniel@firewall-services.com> [0.1-2] |
100 |
- add http access, with some options in the panel |
101 |
- present the keepversion option of the recylcebin in the panel |
102 |
- changes in db keys |
103 |
- remove some descriptions in the panel |
104 |
- optimization in share-modiffy to limit the time needed |
105 |
to reset permissions |
106 |
|
107 |
* Tue May 05 2009 Daniel B. <daniel@firewall-services.com> [0.1-1] |
108 |
- Add locale patch 2009-05-05 |
109 |
|
110 |
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3] |
111 |
- Add acl option in fstab via the template system |
112 |
(just like usrquota and grpquota) |
113 |
|
114 |
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2] |
115 |
- Rename spec file |
116 |
|
117 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1] |
118 |
- Rename maxIbayNameLength to maxShareNameLength |
119 |
|
120 |
* Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0] |
121 |
- Initial release. |
122 |
|
123 |
%prep |
124 |
%setup |
125 |
|
126 |
%patch0 -p1 |
127 |
%patch1 -p1 |
128 |
%patch2 -p1 |
129 |
%patch3 -p1 |
130 |
%patch4 -p1 |
131 |
%patch5 -p1 |
132 |
%patch6 -p1 |
133 |
%patch7 -p1 |
134 |
%patch8 -p1 |
135 |
%patch9 -p1 |
136 |
%patch10 -p1 |
137 |
%patch11 -p1 |
138 |
%patch12 -p1 |
139 |
%patch13 -p1 |
140 |
%patch14 -p1 |
141 |
%patch15 -p1 |
142 |
%patch16 -p1 |
143 |
%patch17 -p1 |
144 |
%patch18 -p1 |
145 |
%patch19 -p1 |
146 |
%patch20 -p1 |
147 |
%patch21 -p1 |
148 |
%patch22 -p1 |
149 |
%patch23 -p1 |
150 |
|
151 |
%pre |
152 |
%post |
153 |
|
154 |
%build |
155 |
# Force creation of potentially empty directories |
156 |
mkdir -p root/etc/e-smith/web/{common,functions} |
157 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
158 |
mkdir -p root/home/e-smith/files/shares |
159 |
|
160 |
perl createlinks |
161 |
|
162 |
%install |
163 |
rm -rf $RPM_BUILD_ROOT |
164 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
165 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
166 |
> %{name}-%{version}-%{release}-filelist |
167 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
168 |
|
169 |
%clean |
170 |
rm -rf $RPM_BUILD_ROOT |
171 |
|
172 |
%files -f %{name}-%{version}-%{release}-filelist |
173 |
%defattr(-,root,root) |