1 |
# $Id: smeserver-shared-folders.spec,v 1.24 2010/07/06 06:32:20 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 23 |
%define release 26 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
46 |
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
|
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
50 |
|
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
51 |
|
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
|
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 |
78 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
79 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
80 |
|
- Create the recyle bin directory if enabled |
81 |
|
- 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 |
84 |
|
- Fix permission on group delete |
85 |
|
- apply local 2010-10-20 patch |
86 |
|
|
87 |
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
88 |
- apply locale 2010-07-19 patch |
- apply locale 2010-07-19 patch |
89 |
|
|
213 |
%patch30 -p1 |
%patch30 -p1 |
214 |
%patch31 -p1 |
%patch31 -p1 |
215 |
%patch32 -p1 |
%patch32 -p1 |
216 |
|
%patch33 -p1 |
217 |
|
%patch34 -p1 |
218 |
|
%patch35 -p1 |
219 |
|
%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 |
|
|