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