1 |
# $Id: e-smith-samba.spec,v 1.33 2010/03/17 17:39:47 snetram Exp $ |
# $Id: e-smith-samba.spec,v 1.34 2010/03/26 16:09:17 filippocarletti Exp $ |
2 |
|
|
3 |
Summary: e-smith specific Samba configuration files and templates |
Summary: e-smith specific Samba configuration files and templates |
4 |
%define name e-smith-samba |
%define name e-smith-samba |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 14 |
%define release 15 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
21 |
Patch9: e-smith-samba-2.2.0-quote-manually.patch |
Patch9: e-smith-samba-2.2.0-quote-manually.patch |
22 |
Patch10: e-smith-samba-2.2.0-fail-silently-on-non-existent-folder.patch |
Patch10: e-smith-samba-2.2.0-fail-silently-on-non-existent-folder.patch |
23 |
Patch11: e-smith-samba-2.2.0-tdb_backup.patch |
Patch11: e-smith-samba-2.2.0-tdb_backup.patch |
24 |
|
Patch12: e-smith-samba-2.2.0-private_dir.patch |
25 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
26 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
AutoReqProv: no |
AutoReqProv: no |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
40 |
|
- Explicitly declare samba private dir [SME: 5857] |
41 |
|
|
42 |
* Fri Mar 26 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-14.sme |
* Fri Mar 26 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-14.sme |
43 |
- Fix tdb file paths to backup in run script [SME: 5856] |
- Fix tdb file paths to backup in run script [SME: 5856] |
44 |
|
|
1054 |
%patch9 -p1 |
%patch9 -p1 |
1055 |
%patch10 -p1 |
%patch10 -p1 |
1056 |
%patch11 -p1 |
%patch11 -p1 |
1057 |
|
%patch12 -p1 |
1058 |
|
|
1059 |
%build |
%build |
1060 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1136 |
/bin/chown admin.root /etc/samba/smbpasswd |
/bin/chown admin.root /etc/samba/smbpasswd |
1137 |
fi |
fi |
1138 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1139 |
|
# Move back secrets.tdb to private dir |
1140 |
|
[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
1141 |
|
|
1142 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1143 |
%defattr(-,root,root) |
%defattr(-,root,root) |