1 |
# $Id: smeserver-shared-folders.spec,v 1.62 2011/11/08 13:42:29 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.71 2012/03/11 18:32:22 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 60 |
%define release 69 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
87 |
Patch71: smeserver-shared-folders-0.1-samba_wide_links.patch |
Patch71: smeserver-shared-folders-0.1-samba_wide_links.patch |
88 |
Patch72: smeserver-shared-folders-0.1-setfacl_physical.patch |
Patch72: smeserver-shared-folders-0.1-setfacl_physical.patch |
89 |
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
Patch73: smeserver-shared-folders-0.1-fix_ajaxplorer_field_display.patch |
90 |
|
Patch74: smeserver-shared-folders-0.1-hide_trash_if_disabled.patch |
91 |
|
Patch75: smeserver-shared-folders-0.1-users_acl.patch |
92 |
|
Patch76: smeserver-shared-folders-0.1-fixe_users_locale.patch |
93 |
|
Patch77: smeserver-shared-folders-0.1-http_remove_ro_from_rw.patch |
94 |
|
Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch |
95 |
|
Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch |
96 |
|
Patch80: smeserver-shared-folders-0.1-locale-2012-02-18.patch |
97 |
|
Patch81: smeserver-shared-folders-0.1-rsyncd.patch |
98 |
|
Patch82: smeserver-shared-folders-0.1-webdav_access_when_no_auth_required.patch |
99 |
|
Patch83: smeserver-shared-folders-0.1-locale-2012-03-20.patch |
100 |
|
|
101 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
102 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
115 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
116 |
|
|
117 |
%changelog |
%changelog |
118 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
119 |
|
- apply locale 2012-03-20 patch |
120 |
|
|
121 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
122 |
|
- Enable webdav even when no auth is required |
123 |
|
(but auth will still be required for write operations) |
124 |
|
|
125 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
126 |
|
- Add rsyncd support |
127 |
|
|
128 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
129 |
|
- Fix bg locale |
130 |
|
|
131 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
132 |
|
- Fix root ACL for users |
133 |
|
- Apply locale 2012-02-18 patch |
134 |
|
|
135 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-64.sme |
136 |
|
- In http access, remove ro users from rw list |
137 |
|
- templates cleanup |
138 |
|
|
139 |
|
* Fri Feb 17 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-63.sme |
140 |
|
- Replace fr with correct en-us locale for USERS entry |
141 |
|
|
142 |
|
* Mon Feb 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-62.sme |
143 |
|
- Code cleanup |
144 |
|
- Move ACL configuration in a separated page |
145 |
|
- User level ACL support |
146 |
|
|
147 |
|
* Thu Dec 15 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-61.sme |
148 |
|
- Hide Recycle Bin dir if recycle is disabled |
149 |
|
|
150 |
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
* Wed Nov 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-60.sme |
151 |
- Fix Ajaxplorer field display when the form has an error |
- Fix Ajaxplorer field display when the form has an error |
152 |
|
|
440 |
%patch71 -p1 |
%patch71 -p1 |
441 |
%patch72 -p1 |
%patch72 -p1 |
442 |
%patch73 -p1 |
%patch73 -p1 |
443 |
|
%patch74 -p1 |
444 |
|
%patch75 -p1 |
445 |
|
%patch76 -p1 |
446 |
|
%patch77 -p1 |
447 |
|
%patch78 -p1 |
448 |
|
%patch79 -p1 |
449 |
|
%patch80 -p1 |
450 |
|
%patch81 -p1 |
451 |
|
%patch82 -p1 |
452 |
|
%patch83 -p1 |
453 |
|
|
454 |
%pre |
%pre |
455 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
456 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
457 |
|
|
458 |
%post |
%post |
459 |
|
|
460 |
%build |
%build |
462 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
463 |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
464 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
465 |
|
mkdir -p root/var/log/rsyncd |
466 |
|
|
467 |
perl createlinks |
perl createlinks |
468 |
|
|
472 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
473 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
474 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
475 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
476 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
477 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
478 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
479 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
480 |
|
|