1 |
# $Id: smeserver-shared-folders.spec,v 1.22 2010/03/26 08:26:39 vip-ire Exp $ |
# $Id: smeserver-shared-folders.spec,v 1.43 2011/05/06 15:35:19 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 21 |
%define release 41 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
43 |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
Patch27: smeserver-shared-folders-0.1-locale-2010-03-25.patch |
44 |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
Patch28: smeserver-shared-folders-0.1-locale-2010-03-26.patch |
45 |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
Patch29: smeserver-shared-folders-0.1-locale-2010-05-23.patch |
46 |
|
Patch30: smeserver-shared-folders-0.1-en-us_typo.patch |
47 |
|
Patch31: smeserver-shared-folders-0.1-locale-2010-07-05.patch |
48 |
|
Patch32: smeserver-shared-folders-0.1-locale-2010-07-19.patch |
49 |
|
Patch33: smeserver-shared-folders-0.1-fix_permissions_on_group_delete.patch |
50 |
|
Patch34: smeserver-shared-folders-0.1-locale-2010-10-20.patch |
51 |
|
Patch35: smeserver-shared-folders-0.1-fix_exclude_separator.patch |
52 |
|
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 |
|
Patch41: smeserver-shared-folders-0.1-prop_alias_on_primary.patch |
58 |
|
Patch42: smeserver-shared-folders-0.1-print_group_table_with_manual_perms.patch |
59 |
|
Patch43: smeserver-shared-folders-0.1-update_manual_perms_warning.patch |
60 |
|
Patch44: smeserver-shared-folders-0.1-fix_warning_in_httpd_template.patch |
61 |
|
Patch45: smeserver-shared-folders-0.1-fix_www_access.patch |
62 |
|
Patch46: smeserver-shared-folders-0.1-php_allow_url_fopen.patch |
63 |
|
Patch47: smeserver-shared-folders-0.1-locale-2011-01-03.patch |
64 |
|
Patch48: smeserver-shared-folders-0.1-fix_files_starting_with_dash.patch |
65 |
|
Patch49: smeserver-shared-folders-0.1-dedup_writers.patch |
66 |
|
Patch50: smeserver-shared-folders-0.1-expand_and_restart_http_on_group_mod.patch |
67 |
|
Patch51: smeserver-shared-folders-0.1-fix_recycle_purge_script.patch |
68 |
|
Patch52: smeserver-shared-folders-0.1-locale-2011-04-27.patch |
69 |
|
Patch53: smeserver-shared-folders-0.1-encfs.patch |
70 |
|
Patch54: smeserver-shared-folders-0.1-locale-2011-05-16.patch |
71 |
|
|
72 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
73 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
74 |
Requires: e-smith-base >= 4.13.15-76 |
Requires: e-smith-base >= 4.13.15-76 |
75 |
Requires: perl(CGI::FormMagick) |
Requires: perl(CGI::FormMagick) |
76 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
77 |
|
Requires: smeserver-mod_dav |
78 |
Requires: acl |
Requires: acl |
79 |
|
Requires: fuse-encfs |
80 |
|
|
81 |
BuildRequires: perl |
BuildRequires: perl |
82 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
BuildRequires: e-smith-devtools >= 1.11.0-03 |
83 |
|
|
87 |
with more flexibility than ibays as it supports ACLs |
with more flexibility than ibays as it supports ACLs |
88 |
|
|
89 |
%changelog |
%changelog |
90 |
|
* Tue May 16 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-41.sme |
91 |
|
- apply locale 2011-05-16 patch |
92 |
|
|
93 |
|
* Fri May 06 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-40.sme |
94 |
|
- Support encryption using EncFS |
95 |
|
|
96 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 0.1-39.sme |
97 |
|
- apply locale 2011-04-27 patch |
98 |
|
|
99 |
|
* Tue Apr 05 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-38.sme |
100 |
|
- Fix removing empty directories in recycles |
101 |
|
|
102 |
|
* Wed Mar 30 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-37.sme |
103 |
|
- expand httpd.conf and restart apache on group-modify |
104 |
|
|
105 |
|
* Tue Mar 29 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-36.sme |
106 |
|
- Deduplicate writer user list in apache configuration |
107 |
|
- Always grant web access to user admin |
108 |
|
|
109 |
|
* Tue Jan 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-35.sme |
110 |
|
- Fix setting ACLs on files starting with a dash [SME: 6500] |
111 |
|
|
112 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-34.sme |
113 |
|
- Apply locale 2011-01-03 patch |
114 |
|
|
115 |
|
* Mon Jan 03 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-33.sme |
116 |
|
- New prop PHPAllowUrlFopen |
117 |
|
|
118 |
|
* Wed Dec 15 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-32.sme |
119 |
|
- Print the group table when ManualPermissions is enabled |
120 |
|
- Fix a warning in httpd.conf templates |
121 |
|
- Use www as group owner of the root dir if httpAccess is enabled |
122 |
|
|
123 |
|
* Fri Dec 10 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-31.sme |
124 |
|
- Add new prop AliasOnPrimary to toggle alias on the system domain |
125 |
|
|
126 |
|
* Thu Dec 2 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-30.sme |
127 |
|
- Fix purge script |
128 |
|
|
129 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 0.1-29.sme |
130 |
|
- apply locale 2010-11-30 patch |
131 |
|
|
132 |
|
* Tue Nov 30 2010 Shad L. Lords <slords@mail.com> 0.1-28.sme |
133 |
|
- Fix orig file removal the correct way |
134 |
|
|
135 |
|
* Mon Nov 29 2010 Daniel B. <daniel@firewall-services.com> 0.1-27.sme |
136 |
|
- Remove .orig file |
137 |
|
|
138 |
|
* Wed Nov 26 2010 Daniel B. <daniel@firewall-services.com> 0.1-26.sme |
139 |
|
- Add webdav support |
140 |
|
- add recycle purge support (with configurable retention time) |
141 |
|
|
142 |
|
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-25.sme |
143 |
|
- Fix excludes separator for samba recyle bin [SME: 6379] |
144 |
|
- Recycle bin directory can be configured (RecycleBinDir prop) |
145 |
|
- Create the recyle bin directory if enabled |
146 |
|
- Fix defaults ACL on dir (fix issues with recycle bin) |
147 |
|
|
148 |
|
* Wed Oct 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-24.sme |
149 |
|
- Fix permission on group delete |
150 |
|
- apply local 2010-10-20 patch |
151 |
|
|
152 |
|
* Mon Jul 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-23.sme |
153 |
|
- apply locale 2010-07-19 patch |
154 |
|
|
155 |
|
* Tue Jul 06 2010 Daniel B. <daniel@firewall-services.com> 0.1-22.sme |
156 |
|
- correct typos in en-us locale [SME: 6103] |
157 |
|
- apply locale 2010-07-06 patch |
158 |
|
|
159 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1-21.sme |
160 |
- apply locale 2010-05-23 patch |
- apply locale 2010-05-23 patch |
161 |
|
|
269 |
%patch22 -p1 |
%patch22 -p1 |
270 |
%patch23 -p1 |
%patch23 -p1 |
271 |
%patch24 -p1 |
%patch24 -p1 |
|
%{__rm} -f root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm.orig |
|
272 |
%patch25 -p1 |
%patch25 -p1 |
273 |
%patch26 -p1 |
%patch26 -p1 |
274 |
%patch27 -p1 |
%patch27 -p1 |
275 |
%patch28 -p1 |
%patch28 -p1 |
276 |
%patch29 -p1 |
%patch29 -p1 |
277 |
|
%patch30 -p1 |
278 |
|
%patch31 -p1 |
279 |
|
%patch32 -p1 |
280 |
|
%patch33 -p1 |
281 |
|
%patch34 -p1 |
282 |
|
%patch35 -p1 |
283 |
|
%patch36 -p1 |
284 |
|
%patch37 -p1 |
285 |
|
%patch38 -p1 |
286 |
|
%patch39 -p1 |
287 |
|
%patch40 -p1 |
288 |
|
%patch41 -p1 |
289 |
|
%patch42 -p1 |
290 |
|
%patch43 -p1 |
291 |
|
%patch44 -p1 |
292 |
|
%patch45 -p1 |
293 |
|
%patch46 -p1 |
294 |
|
%patch47 -p1 |
295 |
|
%patch48 -p1 |
296 |
|
%patch49 -p1 |
297 |
|
%patch50 -p1 |
298 |
|
%patch51 -p1 |
299 |
|
%patch52 -p1 |
300 |
|
%patch53 -p1 |
301 |
|
%patch54 -p1 |
302 |
|
|
303 |
%pre |
%pre |
304 |
%post |
%post |
315 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
316 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
317 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
318 |
|
--file /etc/cron.daily/purge-shares-recycle 'attr(0755,root,root)' \ |
319 |
|
--file /etc/sysconfig/modules/fuse.modules 'attr(0755,root,root)' \ |
320 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
321 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
322 |
|
|