1 |
# $Id: smeserver-shared-folders.spec,v 1.3 2013/10/17 08:49:57 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.7 2014/01/13 15:48:11 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 82 |
%define release 86 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
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 |
Patch97: smeserver-shared-folders-0.1-ntacl.patch |
114 |
Patch98: smeserver-shared-folders-0.1-ajaxplorer2pydio.patch |
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 |
|
|
120 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
121 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
134 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
135 |
|
|
136 |
%changelog |
%changelog |
137 |
|
* Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> 0.1-86.sme |
138 |
|
- Apply locale 2015-02-17 patch |
139 |
|
|
140 |
|
* Mon Jan 13 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1-85.sme |
141 |
|
- Add missing CR in smb.conf templates |
142 |
|
|
143 |
|
* Mon Nov 25 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-84.sme |
144 |
|
- Dump ACL and extended attributes in /home/e-smith/db/shares if |
145 |
|
ManualPermissions is set |
146 |
|
|
147 |
|
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-83.sme |
148 |
|
- apply locale 2013-10-29 patch |
149 |
|
|
150 |
* Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme |
* Tue Oct 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-82.sme |
151 |
- Rename ajaxplorer to pydio |
- Rename ajaxplorer to pydio |
152 |
|
|
540 |
%patch96 -p1 |
%patch96 -p1 |
541 |
%patch97 -p1 |
%patch97 -p1 |
542 |
%patch98 -p1 |
%patch98 -p1 |
543 |
|
%patch99 -p1 |
544 |
|
%patch100 -p1 |
545 |
|
%patch101 -p1 |
546 |
|
%patch102 -p1 |
547 |
|
|
548 |
%pre |
%pre |
549 |
/usr/sbin/useradd -c "Rsyncd User" \ |
/usr/sbin/useradd -c "Rsyncd User" \ |
557 |
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} |
558 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
559 |
mkdir -p root/var/log/rsyncd |
mkdir -p root/var/log/rsyncd |
560 |
|
mkdir -p root/home/e-smith/db/shares |
561 |
|
|
562 |
perl createlinks |
perl createlinks |
563 |
|
|
570 |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
571 |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
572 |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
573 |
|
--dir /home/e-smith/db/shares 'attr(0750,root,root)' \ |
574 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
575 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
576 |
|
|