1 |
# $Id: e-smith-samba.spec,v 1.34 2010/03/26 16:09:17 filippocarletti Exp $ |
# $Id: e-smith-samba.spec,v 1.35 2010/03/30 11:29:43 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 15 |
%define release 16 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch12: e-smith-samba-2.2.0-private_dir.patch |
25 |
|
Patch13: e-smith-samba-2.2.0-backup-all-tdb-files.patch |
26 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
37 |
AutoReqProv: no |
AutoReqProv: no |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Mon Jun 14 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 2.2.0-16.sme |
41 |
|
- Backup all the tdb files (thanks Daniel) [SME: 5856] |
42 |
|
- Post scriptlet fix [SME: 6057] |
43 |
|
|
44 |
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
* Tue Mar 30 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-15.sme |
45 |
- Explicitly declare samba private dir [SME: 5857] |
- Explicitly declare samba private dir [SME: 5857] |
46 |
|
|
1060 |
%patch10 -p1 |
%patch10 -p1 |
1061 |
%patch11 -p1 |
%patch11 -p1 |
1062 |
%patch12 -p1 |
%patch12 -p1 |
1063 |
|
%patch13 -p1 |
1064 |
|
|
1065 |
%build |
%build |
1066 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1143 |
fi |
fi |
1144 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1145 |
# Move back secrets.tdb to private dir |
# Move back secrets.tdb to private dir |
1146 |
[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba || : |
1147 |
|
|
1148 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1149 |
%defattr(-,root,root) |
%defattr(-,root,root) |