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