8 |
Group: System/Networking |
Group: System/Networking |
9 |
URL: http://cntlm.sourceforge.net/ |
URL: http://cntlm.sourceforge.net/ |
10 |
Source0: %{name}-%{version}.tar.bz2 |
Source0: %{name}-%{version}.tar.bz2 |
11 |
Source1: %{name}.service |
Source1: %{name}.service |
12 |
Source2: %{name}-tmpfiles.conf |
Source2: %{name}-tmpfiles.conf |
13 |
|
|
14 |
BuildRequires: gcc-c++ |
BuildRequires: gcc-c++ |
15 |
|
|
16 |
Requires(pre): rpm-helper >= %{rpmhelper_required_version} |
Requires(pre): rpm-helper >= %{rpmhelper_required_version} |
17 |
Requires(post): rpm-helper >= %{rpmhelper_required_version} |
Requires(post): rpm-helper >= %{rpmhelper_required_version} |
38 |
|
|
39 |
%install |
%install |
40 |
|
|
|
# Create the target build directory hierarchy |
|
41 |
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig |
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig |
42 |
|
|
43 |
%makeinstall SYSCONFDIR=%{buildroot}/%{_sysconfdir} \ |
%makeinstall SYSCONFDIR=%{buildroot}/%{_sysconfdir} \ |
44 |
BINDIR=%{buildroot}/%{_sbindir} \ |
BINDIR=%{buildroot}/%{_sbindir} \ |
45 |
MANDIR=%{buildroot}/%{_mandir} |
MANDIR=%{buildroot}/%{_mandir} |
46 |
|
|
|
# install -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/cntlm |
|
47 |
install -D -m 755 %{SOURCE1} %{buildroot}/%{_unitdir}/cntlm.service |
install -D -m 755 %{SOURCE1} %{buildroot}/%{_unitdir}/cntlm.service |
48 |
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf |
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf |
49 |
|
|
66 |
%{_mandir}/man1/cntlm.1* |
%{_mandir}/man1/cntlm.1* |
67 |
%{_unitdir}/cntlm.service |
%{_unitdir}/cntlm.service |
68 |
%config(noreplace) %{_sysconfdir}/cntlm.conf |
%config(noreplace) %{_sysconfdir}/cntlm.conf |
|
# config(noreplace) %{_sysconfdir}/sysconfig/cntlm |
|
69 |
%{_tmpfilesdir}/%{name}.conf |
%{_tmpfilesdir}/%{name}.conf |
70 |
|
|