/[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 1016587 - (show annotations) (download)
Tue May 17 21:54:10 2016 UTC (8 years, 7 months ago) by matteo
File size: 2056 byte(s)
imported package cntlm
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 1
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 -n %{name}-%{version}
32
33 %build
34 %configure
35 %make SYSCONFDIR=%{_sysconfdir} \
36 BINDIR=%{_sbindir} \
37 MANDIR=%{_mandir}
38
39 %install
40
41 # Create the target build directory hierarchy
42 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
43
44 %makeinstall SYSCONFDIR=%{buildroot}/%{_sysconfdir} \
45 BINDIR=%{buildroot}/%{_sbindir} \
46 MANDIR=%{buildroot}/%{_mandir}
47
48 # install -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/cntlm
49 install -D -m 755 %{SOURCE1} %{buildroot}/%{_unitdir}/cntlm.service
50 install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
51
52 %pre
53 %_pre_useradd %{name} /dev/null /bin/false
54
55 %post
56 %_tmpfilescreate %{name}
57 %_post_service %{name}
58
59 %preun
60 %_preun_service %{name}
61
62 %postun
63 %_postun_userdel %{name}
64
65 %files
66 %doc LICENSE README COPYRIGHT
67 %{_sbindir}/cntlm
68 %{_mandir}/man1/cntlm.1*
69 %{_unitdir}/cntlm.service
70 %config(noreplace) %{_sysconfdir}/cntlm.conf
71 # config(noreplace) %{_sysconfdir}/sysconfig/cntlm
72 %{_tmpfilesdir}/%{name}.conf
73

  ViewVC Help
Powered by ViewVC 1.1.30