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