1 Summary: Nettle - a cryptographic library
2 Summary(pl): Nettle - biblioteka kryptograficzna
8 Source0: ftp://ftp.lysator.liu.se/pub/security/lsh/%{name}-%{version}.tar.gz
9 # Source0-md5: 12915b53e751456689e2ec9ec15c74da
10 Patch0: %{name}-info.patch
11 URL: http://www.lysator.liu.se/~nisse/lsh/
12 BuildRequires: gmp-devel
14 BuildRequires: texinfo-texi2dvi
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Nettle is a cryptographic library that is designed to fit easily in
19 more or less any context: In crypto toolkits for object-oriented
20 languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
21 or even in kernel space. Nettle does only one thing, the low-level
22 crypto stuff, providing simple but general interface to it. In
23 particular, Nettle doesn't do algorithm selection. It doesn't do
24 memory allocation. It doesn't do any I/O. All these is up to
28 Nettle to biblioteka kryptograficzna zaprojektowana tak, aby ³atwo
29 da³o siê jej u¿yæ w prawie ka¿dej sytuacji: w narzêdziach
30 kryptograficznych dla jêzyków zorientowanych obiektowo (C++, Python,
31 Pike...), w aplikacjach typu LSH czy GNUPG, a nawet w przestrzeni
32 j±dra. Nettle robi tylko jedn± rzecz - niskopoziomow± kryptografiê,
33 udostêpniaj±c do tego prosty, ale ogólny interfejs. Nettle nie
34 dokonuje ¿adnego wyboru algorytmu, przydzielania pamiêci, czy operacji
35 we/wy - pozostawia to aplikacji.
38 Summary: Header files for nettle library
39 Summary(pl): Pliki nag³ówkowe biblioteki nettle
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 Header files for nettle library.
46 %description devel -l pl
47 Pliki nag³ówkowe biblioteki nettle.
50 Summary: Static nettle library
51 Summary(pl): Statyczna biblioteka nettle
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
56 Static nettle library.
58 %description static -l pl
59 Statyczna biblioteka nettle.
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
87 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README TODO
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
102 %defattr(644,root,root,755)