]> git.pld-linux.org Git - packages/libntlm.git/blob - libntlm.spec
5df5cf240c0cd6dc809c4e275970bc6747181cfb
[packages/libntlm.git] / libntlm.spec
1 Summary:        Library for NTLM authentication
2 Summary(pl.UTF-8):      Biblioteka do uwierzytelniania NTLM
3 Name:           libntlm
4 Version:        1.5
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.nongnu.org/libntlm/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  375a3a87d29b61da5466f9b06325ad62
10 URL:            http://www.nongnu.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
21 %description -l pl.UTF-8
22 Biblioteka Libntlm dostarcza procedury do obróbki struktur używanych
23 po stronie klienta mechanizmu uwierzytelniania Microsoft NTLM.
24
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
28 serwera IMAP.
29
30 %package devel
31 Summary:        Header files for Libntlm library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Libntlm
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for Libntlm library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki Libntlm.
41
42 %package static
43 Summary:        Static Libntlm library
44 Summary(pl.UTF-8):      Statyczna biblioteka Libntlm
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static Libntlm library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka Libntlm.
53
54 %prep
55 %setup -q
56
57 %build
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # no external dependencies, obsoleted by pkg-config
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libntlm.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README THANKS
79 %attr(755,root,root) %{_libdir}/libntlm.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libntlm.so.0
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libntlm.so
85 %{_includedir}/ntlm.h
86 %{_pkgconfigdir}/libntlm.pc
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libntlm.a
This page took 0.052326 seconds and 2 git commands to generate.