1 |
# $Id: smeserver-shared-folders.spec,v 1.1 2013/03/03 22:04:40 unnilennium Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.8 2015/02/17 11:57:45 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 80 |
%define release 87 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
110 |
Patch94: smeserver-shared-folders-0.1-name_ending_with_dollar.patch |
Patch94: smeserver-shared-folders-0.1-name_ending_with_dollar.patch |
111 |
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
Patch95: smeserver-shared-folders-0.1-enhanced_audit.patch |
112 |
Patch96: smeserver-shared-folders-0.1-locale-2013-07-14.patch |
Patch96: smeserver-shared-folders-0.1-locale-2013-07-14.patch |
113 |
|
Patch97: smeserver-shared-folders-0.1-ntacl.patch |
114 |
|
Patch98: smeserver-shared-folders-0.1-ajaxplorer2pydio.patch |
115 |
|
Patch99: smeserver-shared-folders-0.1-locale-2013-10-29.patch |
116 |
|
Patch100: smeserver-shared-folders-0.1-dump_acl_and_xattr_for_manual_perm.patch |
117 |
|
Patch101: smeserver-shared-folders-0.1-fix_missing_cr_in_smb_templates.patch |
118 |
|
Patch102: smeserver-shared-folders-0.1-locale-2015-02-17.patch |
119 |
|
Patch103: smeserver-shared-folders-0.1-locale-2016-03-09.patch |
120 |
|
|
121 |
|
|
122 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
123 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
136 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
137 |
|
|
138 |
%changelog |
%changelog |
139 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.1-87.sme |
140 |
|
- apply locale 2016-03-09 patch |
141 |
|
|
142 |
|
* Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.1-86.sme |
143 |
|
- Apply locale 2015-02-17 patch |
144 |
|
|
145 |
|
* Mon Jan 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1-85.sme |
146 |
|
- Add missing CR in smb.conf templates |
147 |
|
|
148 |
|
* Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-84.sme |
149 |
|
- Dump ACL and extended attributes in /home/e-smith/db/shares if |
150 |
|
ManualPermissions is set |
151 |
|
|
152 |
|
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme |
153 |
|
- apply locale 2013-10-29 patch |
154 |
|
|
155 |
|
* Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme |
156 |
|
- Rename ajaxplorer to pydio |
157 |
|
|
158 |
|
* Thu Oct 17 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-81.sme |
159 |
|
- Add NT ACL support |
160 |
|
|
161 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 0.1-80.sme |
162 |
- apply locale 2013-07-14 patch |
- apply locale 2013-07-14 patch |
163 |
|
|
543 |
%patch94 -p1 |
%patch94 -p1 |
544 |
%patch95 -p1 |
%patch95 -p1 |
545 |
%patch96 -p1 |
%patch96 -p1 |
546 |
|
%patch97 -p1 |
547 |
|
%patch98 -p1 |
548 |
|
%patch99 -p1 |
549 |
|
%patch100 -p1 |
550 |
|
%patch101 -p1 |
551 |
|
%patch102 -p1 |
552 |
|
%patch103 -p1 |
553 |
|
|
554 |
|
|
555 |
%pre |
%pre |
556 |
/usr/sbin/useradd -c "Rsyncd User" \ |
/usr/sbin/useradd -c "Rsyncd User" \ |
564 |
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} |
565 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
566 |
mkdir -p root/var/log/rsyncd |
mkdir -p root/var/log/rsyncd |
567 |
|
mkdir -p root/home/e-smith/db/shares |
568 |
|
|
569 |
perl createlinks |
perl createlinks |
570 |
|
|
577 |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
578 |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
579 |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
580 |
|
--dir /home/e-smith/db/shares 'attr(0750,root,root)' \ |
581 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
582 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
583 |
|
|