]>
Commit | Line | Data |
---|---|---|
51bd595f | 1 | Summary: Library for NTLM authentication |
50c6fe48 | 2 | Summary(pl.UTF-8): Biblioteka do uwierzytelniania NTLM |
51bd595f | 3 | Name: libntlm |
c25cbc47 | 4 | Version: 1.6 |
2a9e6a30 | 5 | Release: 1 |
2d4ec471 | 6 | License: LGPL v2.1+ |
51bd595f | 7 | Group: Libraries |
2a9e6a30 | 8 | Source0: http://www.nongnu.org/libntlm/releases/%{name}-%{version}.tar.gz |
c25cbc47 | 9 | # Source0-md5: 9894aeb485fa27a481b270fce5055f1c |
2a9e6a30 | 10 | URL: http://www.nongnu.org/libntlm/ |
51bd595f JB |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
2a9e6a30 | 14 | Libntlm library provides routines to manipulate the structures used |
51bd595f JB |
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 | 21 | %description -l pl.UTF-8 |
2a9e6a30 | 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 | |
2a9e6a30 JB |
31 | Summary: Header files for Libntlm library |
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 | |
2a9e6a30 | 37 | Header files for Libntlm library. |
51bd595f | 38 | |
9ffc2437 | 39 | %description devel -l pl.UTF-8 |
2a9e6a30 | 40 | Pliki nagłówkowe biblioteki Libntlm. |
51bd595f JB |
41 | |
42 | %package static | |
2a9e6a30 JB |
43 | Summary: Static Libntlm library |
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 | |
2a9e6a30 | 49 | Static Libntlm library. |
51bd595f | 50 | |
9ffc2437 | 51 | %description static -l pl.UTF-8 |
2a9e6a30 | 52 | Statyczna biblioteka Libntlm. |
51bd595f JB |
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 | ||
2a9e6a30 JB |
67 | # no external dependencies, obsoleted by pkg-config |
68 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libntlm.la | |
69 | ||
51bd595f JB |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
fc63afbf JB |
73 | %post -p /sbin/ldconfig |
74 | %postun -p /sbin/ldconfig | |
75 | ||
51bd595f JB |
76 | %files |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS ChangeLog NEWS README THANKS | |
79 | %attr(755,root,root) %{_libdir}/libntlm.so.*.*.* | |
a9311e31 | 80 | %attr(755,root,root) %ghost %{_libdir}/libntlm.so.0 |
51bd595f JB |
81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
84 | %attr(755,root,root) %{_libdir}/libntlm.so | |
51bd595f | 85 | %{_includedir}/ntlm.h |
0bbd4d55 | 86 | %{_pkgconfigdir}/libntlm.pc |
51bd595f JB |
87 | |
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/libntlm.a |