]> git.pld-linux.org Git - packages/nettle.git/blob - nettle.spec
- updated to 1.14
[packages/nettle.git] / nettle.spec
1 Summary:        Nettle - a cryptographic library
2 Summary(pl):    Nettle - biblioteka kryptograficzna
3 Name:           nettle
4 Version:        1.14
5 Release:        1
6 License:        GPL
7 Group:          Libraries
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
13 BuildRequires:  m4
14 BuildRequires:  texinfo-texi2dvi
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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
25 application.
26
27 %description -l pl
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.
36
37 %package devel
38 Summary:        Header files for nettle library
39 Summary(pl):    Pliki nag³ówkowe biblioteki nettle
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42
43 %description devel
44 Header files for nettle library.
45
46 %description devel -l pl
47 Pliki nag³ówkowe biblioteki nettle.
48
49 %package static
50 Summary:        Static nettle library
51 Summary(pl):    Statyczna biblioteka nettle
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static nettle library.
57
58 %description static -l pl
59 Statyczna biblioteka nettle.
60
61 %prep
62 %setup -q
63 %patch -p1
64
65 %build
66 %configure \
67         --enable-shared
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %post devel
84 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
85
86 %postun devel
87 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
88
89 %files
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.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/lib*.so
98 %{_includedir}/nettle
99 %{_infodir}/*.info*
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/lib*.a
This page took 0.067182 seconds and 3 git commands to generate.