1 Summary: Nettle - a cryptographic library
2 Summary(pl.UTF-8): Nettle - biblioteka kryptograficzna
8 Source0: http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
9 # Source0-md5: afb15b4764ebf1b4e6d06c62bd4d29e4
10 Patch0: %{name}-info.patch
11 URL: http://www.lysator.liu.se/~nisse/nettle/
12 BuildRequires: ghostscript
13 BuildRequires: gmp-devel >= 3.1
15 BuildRequires: tetex-dvips
16 BuildRequires: texinfo-texi2dvi
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Nettle is a cryptographic library that is designed to fit easily in
22 more or less any context: In crypto toolkits for object-oriented
23 languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
24 or even in kernel space. Nettle does only one thing, the low-level
25 crypto stuff, providing simple but general interface to it. In
26 particular, Nettle doesn't do algorithm selection. It doesn't do
27 memory allocation. It doesn't do any I/O. All these is up to
30 %description -l pl.UTF-8
31 Nettle to biblioteka kryptograficzna zaprojektowana tak, aby łatwo
32 dało się jej użyć w prawie każdej sytuacji: w narzędziach
33 kryptograficznych dla języków zorientowanych obiektowo (C++, Python,
34 Pike...), w aplikacjach typu LSH czy GNUPG, a nawet w przestrzeni
35 jądra. Nettle robi tylko jedną rzecz - niskopoziomową kryptografię,
36 udostępniając do tego prosty, ale ogólny interfejs. Nettle nie
37 dokonuje żadnego wyboru algorytmu, przydzielania pamięci, czy operacji
38 we/wy - pozostawia to aplikacji.
41 Summary: Header files for nettle library
42 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nettle
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
47 Header files for nettle library.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki nettle.
53 Summary: Static nettle library
54 Summary(pl.UTF-8): Statyczna biblioteka nettle
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static nettle library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka nettle.
65 Summary: nettle utility programs
66 Summary(pl.UTF-8): Narzędzia wykorzystujące bibliotekę nettle
67 Group: Applications/Crypto
68 Requires: %{name} = %{epoch}:%{version}-%{release}
71 This package contains utility programs that use nettle library.
73 %description progs -l pl.UTF-8
74 Kilka przykładowych narzędzi wykorzystujących bibliotekę
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
93 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
101 %post devel -p /sbin/postshell
102 -/usr/sbin/fix-info-dir -c %{_infodir}
104 %postun devel -p /sbin/postshell
105 -/usr/sbin/fix-info-dir -c %{_infodir}
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README TODO
110 %attr(755,root,root) %{_libdir}/libhogweed.so.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libhogweed.so.4
112 %attr(755,root,root) %{_libdir}/libnettle.so.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libnettle.so.6
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libhogweed.so
118 %attr(755,root,root) %{_libdir}/libnettle.so
119 %{_includedir}/nettle
120 %{_pkgconfigdir}/hogweed.pc
121 %{_pkgconfigdir}/nettle.pc
122 %{_infodir}/nettle.info*
125 %defattr(644,root,root,755)
126 %{_libdir}/libhogweed.a
127 %{_libdir}/libnettle.a
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/nettle-hash
132 %attr(755,root,root) %{_bindir}/nettle-lfib-stream
133 %attr(755,root,root) %{_bindir}/nettle-pbkdf2
134 %attr(755,root,root) %{_bindir}/pkcs1-conv
135 %attr(755,root,root) %{_bindir}/sexp-conv