1 |
# $Id: smeserver-shared-folders.spec,v 1.26 2010/10/20 11:59:03 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.28 2010/11/26 09:57:09 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-shared-folders |
%define name smeserver-shared-folders |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.1 |
%define version 0.1 |
9 |
%define release 25 |
%define release 26 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
50 |
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
51 |
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
Patch36: smeserver-shared-folders-0.1-enhance_recylce_bin.patch |
53 |
|
Patch37: smeserver-shared-folders-0.1-webdav_support.patch |
54 |
|
Patch38: smeserver-shared-folders-0.1-purge_recycle.patch |
55 |
|
|
56 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
57 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
58 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
59 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
60 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
61 |
|
Requires: smeserver-mod_dav |
62 |
Requires: acl |
Requires: acl |
63 |
|
|
64 |
BuildRequires: perl |
BuildRequires: perl |
65 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
66 |
|
|
70 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
74 |
|
- Add webdav support |
75 |
|
- add recycle purge support (with configurable retention time) |
76 |
|
|
77 |
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
78 |
- Fix excludes separator for samba recyle bin [SME: 6379] |
- Fix excludes separator for samba recyle bin [SME: 6379] |
79 |
- Recycle bin directory can be configured (RecycleBinDir prop) |
- Recycle bin directory can be configured (RecycleBinDir prop) |
80 |
- Create the recyle bin directory if enabled |
- Create the recyle bin directory if enabled |
81 |
- Fix defaults ACL on dir (fix issues with recylce bin) |
- Fix defaults ACL on dir (fix issues with recycle bin) |
82 |
|
|
83 |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
84 |
- Fix permission on group delete |
- Fix permission on group delete |
217 |
%patch34 -p1 |
%patch34 -p1 |
218 |
%patch35 -p1 |
%patch35 -p1 |
219 |
%patch36 -p1 |
%patch36 -p1 |
220 |
|
%patch37 -p1 |
221 |
|
%patch38 -p1 |
222 |
|
|
223 |
%pre |
%pre |
224 |
%post |
%post |
235 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
236 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
237 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
238 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
239 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
240 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
241 |
|
|