1 |
# $Id: smeserver-shared-folders.spec,v 1.67 2012/02/18 00:23:03 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.73 2012/04/22 15:51:00 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 65 |
%define release 71 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
94 |
Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch |
Patch78: smeserver-shared-folders-0.1-http_template_cleanup.patch |
95 |
Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch |
Patch79: smeserver-shared-folders-0.1-fix_root_users_acl.patch |
96 |
Patch80: smeserver-shared-folders-0.1-locale-2012-02-18.patch |
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 |
|
Patch84: smeserver-shared-folders-0.1-mod_perm_after_create.patch |
101 |
|
Patch85: smeserver-shared-folders-0.1-name_and_desc_on_perm_form.patch |
102 |
|
Patch86: smeserver-shared-folders-0.1-stop_disabling_unix_in_share_scope.patch |
103 |
|
|
104 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
105 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
118 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
119 |
|
|
120 |
%changelog |
%changelog |
121 |
|
* Fri May 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-71.sme |
122 |
|
- Don't disable unix extension in share scope |
123 |
|
|
124 |
|
* Fri Apr 20 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-70.sme |
125 |
|
- Display permission form after creation |
126 |
|
- Display share name and desc in permission form |
127 |
|
|
128 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 0.1-69.el6 |
129 |
|
- apply locale 2012-03-20 patch |
130 |
|
|
131 |
|
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-68.sme |
132 |
|
- Enable webdav even when no auth is required |
133 |
|
(but auth will still be required for write operations) |
134 |
|
|
135 |
|
* Thu Mar 01 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-67.sme |
136 |
|
- Add rsyncd support |
137 |
|
|
138 |
|
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-66.sme |
139 |
|
- Fix bg locale |
140 |
|
|
141 |
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
* Sat Feb 18 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-65.sme |
142 |
- Fix root ACL for users |
- Fix root ACL for users |
143 |
- Apply locale 2012-02-18 patch |
- Apply locale 2012-02-18 patch |
457 |
%patch78 -p1 |
%patch78 -p1 |
458 |
%patch79 -p1 |
%patch79 -p1 |
459 |
%patch80 -p1 |
%patch80 -p1 |
460 |
|
%patch81 -p1 |
461 |
|
%patch82 -p1 |
462 |
|
%patch83 -p1 |
463 |
|
%patch84 -p1 |
464 |
|
%patch85 -p1 |
465 |
|
%patch86 -p1 |
466 |
|
|
467 |
%pre |
%pre |
468 |
|
/usr/sbin/useradd -c "Rsyncd User" \ |
469 |
|
-s /sbin/nologin -r -d /dev/null rsync 2> /dev/null || : |
470 |
|
|
471 |
%post |
%post |
472 |
|
|
473 |
%build |
%build |
475 |
mkdir -p root/etc/e-smith/web/{common,functions} |
mkdir -p root/etc/e-smith/web/{common,functions} |
476 |
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} |
477 |
mkdir -p root/home/e-smith/files/shares |
mkdir -p root/home/e-smith/files/shares |
478 |
|
mkdir -p root/var/log/rsyncd |
479 |
|
|
480 |
perl createlinks |
perl createlinks |
481 |
|
|
485 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
486 |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
487 |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
488 |
|
--file /var/service/rsyncd/run 'attr(0755,root,root)' \ |
489 |
|
--file /var/service/rsyncd/log/run 'attr(0755,root,root)' \ |
490 |
|
--dir /var/log/rsyncd 'attr(0770,root,smelog)' \ |
491 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
492 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
493 |
|
|