/[packages]/cauldron/cntlm/current/SPECS/cntlm.spec
ViewVC logotype

Contents of /cauldron/cntlm/current/SPECS/cntlm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1792600 - (show annotations) (download)
Tue Mar 15 05:24:17 2022 UTC (2 years, 10 months ago) by umeabot
File size: 1883 byte(s)
Mageia 9 Mass Rebuild
1 %define debug_package %{nil}
2
3 Summary: Fast NTLM authentication proxy with tunneling
4 Name: cntlm
5 Version: 0.92.3
6 Release: %mkrel 5
7 License: GPLv2
8 Group: System/Networking
9 URL: http://cntlm.sourceforge.net/
10 Source0: %{name}-%{version}.tar.bz2
11 Source1: %{name}.service
12 Source2: %{name}-tmpfiles.conf
13
14 BuildRequires: gcc-c++
15
16 Requires(pre): rpm-helper >= %{rpmhelper_required_version}
17 Requires(post): rpm-helper >= %{rpmhelper_required_version}
18 Requires(preun): rpm-helper >= %{rpmhelper_required_version}
19 Requires(postun): rpm-helper >= %{rpmhelper_required_version}
20
21 Provides: cntlm = %{version}
22
23 %description
24 Cntlm is a fast and efficient NTLM proxy, with support for TCP/IP tunneling,
25 authenticated connection caching, ACLs, proper daemon logging and behaviour
26 and much more. It has up to ten times faster responses than similar NTLM
27 proxies, while using by orders or magnitude less RAM and CPU. Manual page
28 contains detailed information.
29
30 %prep
31 %setup -q
32
33 %build
34 %configure
35 %make_build SYSCONFDIR=%{_sysconfdir} \
36 BINDIR=%{_sbindir} \
37 MANDIR=%{_mandir}
38
39 %install
40
41 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
42
43 %makeinstall SYSCONFDIR=%{buildroot}/%{_sysconfdir} \
44 BINDIR=%{buildroot}/%{_sbindir} \
45 MANDIR=%{buildroot}/%{_mandir}
46
47 install -D -m 755 %{SOURCE1} %{buildroot}/%{_unitdir}/cntlm.service
48 install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
49
50 %pre
51 %_pre_useradd %{name} /dev/null /bin/false
52
53 %post
54 %_tmpfilescreate %{name}
55 %_post_service %{name}
56
57 %preun
58 %_preun_service %{name}
59
60 %postun
61 %_postun_userdel %{name}
62
63 %files
64 %doc LICENSE README COPYRIGHT
65 %{_sbindir}/cntlm
66 %{_mandir}/man1/cntlm.1*
67 %{_unitdir}/cntlm.service
68 %config(noreplace) %{_sysconfdir}/cntlm.conf
69 %{_tmpfilesdir}/%{name}.conf
70

  ViewVC Help
Powered by ViewVC 1.1.30