]>
Commit | Line | Data |
---|---|---|
51bd595f | 1 | Summary: Library for NTLM authentication |
50c6fe48 | 2 | Summary(pl.UTF-8): Biblioteka do uwierzytelniania NTLM |
51bd595f | 3 | Name: libntlm |
71d54cc9 | 4 | Version: 1.2 |
6c6b7dfe | 5 | Release: 2 |
2d4ec471 | 6 | License: LGPL v2.1+ |
51bd595f JB |
7 | Group: Libraries |
8 | Source0: http://josefsson.org/libntlm/releases/%{name}-%{version}.tar.gz | |
71d54cc9 | 9 | # Source0-md5: 13b40af721b29005652fb429a3ae9582 |
51bd595f JB |
10 | URL: http://josefsson.org/libntlm/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | libntlm library provides routines to manipulate the structures used | |
15 | for the client end of Microsoft NTLM authentication. | |
16 | ||
17 | This code was taken mostly from the Samba project and was initially | |
18 | intended for use with Microsoft Exchange Server when it is configured | |
19 | to require NTLM authentication for clients of its IMAP server. | |
20 | ||
9ffc2437 JR |
21 | %description -l pl.UTF-8 |
22 | Biblioteka libntlm dostarcza procedury do obróbki struktur używanych | |
51bd595f JB |
23 | po stronie klienta mechanizmu uwierzytelniania Microsoft NTLM. |
24 | ||
9ffc2437 JR |
25 | Ten kod pochodzi w większości z projektu Samba i początkowo miał być |
26 | używany z serwerem Microsoft Exchange w przypadku, gdy został | |
27 | skonfigurowany aby wymagać uwierzytelnienia NTLM od klientów swojego | |
51bd595f JB |
28 | serwera IMAP. |
29 | ||
30 | %package devel | |
31 | Summary: Header files for libntlm library | |
50c6fe48 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libntlm |
51bd595f | 33 | Group: Development/Libraries |
744dc1a8 | 34 | Requires: %{name} = %{version}-%{release} |
51bd595f JB |
35 | |
36 | %description devel | |
37 | Header files for libntlm library. | |
38 | ||
9ffc2437 JR |
39 | %description devel -l pl.UTF-8 |
40 | Pliki nagłówkowe biblioteki libntlm. | |
51bd595f JB |
41 | |
42 | %package static | |
43 | Summary: Static libntlm library | |
50c6fe48 | 44 | Summary(pl.UTF-8): Statyczna biblioteka libntlm |
51bd595f | 45 | Group: Development/Libraries |
744dc1a8 | 46 | Requires: %{name}-devel = %{version}-%{release} |
51bd595f JB |
47 | |
48 | %description static | |
49 | Static libntlm library. | |
50 | ||
9ffc2437 | 51 | %description static -l pl.UTF-8 |
51bd595f JB |
52 | Statyczna biblioteka libntlm. |
53 | ||
54 | %prep | |
55 | %setup -q | |
56 | ||
57 | %build | |
58 | %configure | |
51bd595f JB |
59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
fc63afbf JB |
70 | %post -p /sbin/ldconfig |
71 | %postun -p /sbin/ldconfig | |
72 | ||
51bd595f JB |
73 | %files |
74 | %defattr(644,root,root,755) | |
75 | %doc AUTHORS ChangeLog NEWS README THANKS | |
76 | %attr(755,root,root) %{_libdir}/libntlm.so.*.*.* | |
a9311e31 | 77 | %attr(755,root,root) %ghost %{_libdir}/libntlm.so.0 |
51bd595f JB |
78 | |
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
81 | %attr(755,root,root) %{_libdir}/libntlm.so | |
82 | %{_libdir}/libntlm.la | |
83 | %{_includedir}/ntlm.h | |
0bbd4d55 | 84 | %{_pkgconfigdir}/libntlm.pc |
51bd595f JB |
85 | |
86 | %files static | |
87 | %defattr(644,root,root,755) | |
88 | %{_libdir}/libntlm.a |