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.32 2010/11/30 15:15:20 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 30 |
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 |
|
Patch39: smeserver-shared-folders-0.1-locale-2010-11-30.patch |
56 |
|
Patch40: smeserver-shared-folders-0.1-fix_purge_script.patch |
57 |
|
|
58 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
59 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
60 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
61 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
62 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
63 |
|
Requires: smeserver-mod_dav |
64 |
Requires: acl |
Requires: acl |
65 |
|
|
66 |
BuildRequires: perl |
BuildRequires: perl |
67 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
68 |
|
|
72 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
73 |
|
|
74 |
%changelog |
%changelog |
75 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
76 |
|
- Fix purge script |
77 |
|
|
78 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
79 |
|
- apply locale 2010-11-30 patch |
80 |
|
|
81 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
82 |
|
- Fix orig file removal the correct way |
83 |
|
|
84 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
85 |
|
- Remove .orig file |
86 |
|
|
87 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
88 |
|
- Add webdav support |
89 |
|
- add recycle purge support (with configurable retention time) |
90 |
|
|
91 |
* 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 |
92 |
- Fix excludes separator for samba recyle bin [SME: 6379] |
- Fix excludes separator for samba recyle bin [SME: 6379] |
93 |
- Recycle bin directory can be configured (RecycleBinDir prop) |
- Recycle bin directory can be configured (RecycleBinDir prop) |
94 |
- Create the recyle bin directory if enabled |
- Create the recyle bin directory if enabled |
95 |
- Fix defaults ACL on dir (fix issues with recylce bin) |
- Fix defaults ACL on dir (fix issues with recycle bin) |
96 |
|
|
97 |
* 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 |
98 |
- Fix permission on group delete |
- Fix permission on group delete |
218 |
%patch22 -p1 |
%patch22 -p1 |
219 |
%patch23 -p1 |
%patch23 -p1 |
220 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
221 |
%patch25 -p1 |
%patch25 -p1 |
222 |
%patch26 -p1 |
%patch26 -p1 |
223 |
%patch27 -p1 |
%patch27 -p1 |
230 |
%patch34 -p1 |
%patch34 -p1 |
231 |
%patch35 -p1 |
%patch35 -p1 |
232 |
%patch36 -p1 |
%patch36 -p1 |
233 |
|
%patch37 -p1 |
234 |
|
%patch38 -p1 |
235 |
|
%patch39 -p1 |
236 |
|
%patch40 -p1 |
237 |
|
|
238 |
%pre |
%pre |
239 |
%post |
%post |
250 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
251 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
252 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
253 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
254 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
255 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
256 |
|
|