2 |
%define name smeserver-samba |
%define name smeserver-samba |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 0.1.0 |
%define version 0.1.0 |
5 |
%define release 1 |
%define release 5 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
9 |
Group: Networking/Daemons |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
11 |
|
Patch1: smeserver-samba-0.1.0-provision_password.patch |
12 |
|
Patch2: smeserver-samba-0.1.0-062616-update.patch |
13 |
|
Patch3: smeserver-samba-0.1.0-072416-update.patch |
14 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
|
|
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
27 |
|
Requires: e-smith-base >= 5.6.0-30 |
28 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
29 |
Requires: e-smith-LPRng >= 2.4.0-2 |
Requires: e-smith-LPRng >= 2.5.0-1 |
30 |
Requires: sernet-samba >= 4.1.12 |
Requires: sernet-samba >= 4.1.12 |
31 |
Requires: sernet-samba-ad >= 4.1.12 |
Requires: sernet-samba-ad >= 4.1.12 |
32 |
Requires: sernet-samba-client >= 4.1.12 |
Requires: sernet-samba-client >= 4.1.12 |
52 |
AutoReqProv: no |
AutoReqProv: no |
53 |
|
|
54 |
%changelog |
%changelog |
55 |
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
56 |
|
- Reconfigure provision event to account for default Samba |
57 |
|
complex password policy |
58 |
|
- Abstract core LDAP queries in esmith::AD using runtime binding |
59 |
|
|
60 |
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
61 |
|
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
62 |
|
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
63 |
|
|
64 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
65 |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
- Roll new smeserver alpha package for Samba4 [SME:8075] |
66 |
|
|
|
|
|
67 |
%description |
%description |
68 |
Configuration files and templates for Samba 4 services. |
Configuration files and templates for Samba 4 services. |
69 |
|
|
70 |
%prep |
%prep |
71 |
%setup |
%setup |
72 |
|
%patch1 -p1 |
73 |
|
|
74 |
%build |
%build |
75 |
perl createlinks |
perl createlinks |
84 |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
85 |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
86 |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
|
--file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \ |
|
87 |
$RPM_BUILD_ROOT \ |
$RPM_BUILD_ROOT \ |
88 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
89 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
92 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
93 |
|
|
94 |
%post |
%post |
|
rm -rf /var/service/nmbd |
|
|
rm -rf /var/service/smbd |
|
|
rm -rf /var/log/nmbd |
|
|
rm -rf /var/log/smbd |
|
95 |
|
|
96 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
97 |
%defattr(-,root,root) |
%defattr(-,root,root) |