]> git.pld-linux.org Git - packages/nettle.git/blame - nettle.spec
up to 3.7
[packages/nettle.git] / nettle.spec
CommitLineData
fc2e3216 1Summary: Nettle - a cryptographic library
54742823 2Summary(pl.UTF-8): Nettle - biblioteka kryptograficzna
fc2e3216 3Name: nettle
38d78058 4Version: 3.7
bd28ba04 5Release: 1
77f56669 6License: LGPL v2.1+
fc2e3216 7Group: Libraries
77f56669 8Source0: http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
38d78058 9# Source0-md5: 568070f62fd14ca6b076ad583d84e9db
fc2e3216 10Patch0: %{name}-info.patch
77f56669 11URL: http://www.lysator.liu.se/~nisse/nettle/
d65b8e1a 12BuildRequires: ghostscript
00561dce 13BuildRequires: gmp-devel >= 6.1
847bbfa1 14BuildRequires: m4
d65b8e1a 15BuildRequires: tetex-dvips
a67d70d4 16BuildRequires: texinfo-texi2dvi
00561dce 17Requires: gmp >= 6.1
fc2e3216
JB
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Nettle is a cryptographic library that is designed to fit easily in
22more or less any context: In crypto toolkits for object-oriented
23languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
24or even in kernel space. Nettle does only one thing, the low-level
25crypto stuff, providing simple but general interface to it. In
26particular, Nettle doesn't do algorithm selection. It doesn't do
27memory allocation. It doesn't do any I/O. All these is up to
28application.
29
52e533c3
JR
30%description -l pl.UTF-8
31Nettle to biblioteka kryptograficzna zaprojektowana tak, aby łatwo
32dało się jej użyć w prawie każdej sytuacji: w narzędziach
33kryptograficznych dla języków zorientowanych obiektowo (C++, Python,
fc2e3216 34Pike...), w aplikacjach typu LSH czy GNUPG, a nawet w przestrzeni
52e533c3
JR
35jądra. Nettle robi tylko jedną rzecz - niskopoziomową kryptografię,
36udostępniając do tego prosty, ale ogólny interfejs. Nettle nie
37dokonuje żadnego wyboru algorytmu, przydzielania pamięci, czy operacji
fc2e3216
JB
38we/wy - pozostawia to aplikacji.
39
40%package devel
41Summary: Header files for nettle library
54742823 42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki nettle
fc2e3216 43Group: Development/Libraries
bd8b3db8 44Requires: %{name} = %{version}-%{release}
fc2e3216
JB
45
46%description devel
47Header files for nettle library.
48
52e533c3
JR
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki nettle.
fc2e3216
JB
51
52%package static
53Summary: Static nettle library
54742823 54Summary(pl.UTF-8): Statyczna biblioteka nettle
fc2e3216 55Group: Development/Libraries
bd8b3db8 56Requires: %{name}-devel = %{version}-%{release}
fc2e3216
JB
57
58%description static
59Static nettle library.
60
52e533c3 61%description static -l pl.UTF-8
fc2e3216
JB
62Statyczna biblioteka nettle.
63
54bc338b
AO
64%package progs
65Summary: nettle utility programs
66Summary(pl.UTF-8): Narzędzia wykorzystujące bibliotekę nettle
67Group: Applications/Crypto
68Requires: %{name} = %{epoch}:%{version}-%{release}
69
70%description progs
71This package contains utility programs that use nettle library.
72
73%description progs -l pl.UTF-8
74Kilka przykładowych narzędzi wykorzystujących bibliotekę
75nettle.
76
fc2e3216
JB
77%prep
78%setup -q
be3eb020 79%patch0 -p1
fc2e3216
JB
80
81%build
82%configure \
83 --enable-shared
84
80620289 85%{__make}
fc2e3216
JB
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
a1b7a2c8
JB
93rm -f $RPM_BUILD_ROOT%{_infodir}/dir
94
fc2e3216
JB
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
a1b7a2c8 101%post devel -p /sbin/postshell
9698e94a 102-/usr/sbin/fix-info-dir -c %{_infodir}
fc2e3216 103
a1b7a2c8 104%postun devel -p /sbin/postshell
9698e94a 105-/usr/sbin/fix-info-dir -c %{_infodir}
fc2e3216
JB
106
107%files
108%defattr(644,root,root,755)
bd28ba04 109%doc AUTHORS ChangeLog NEWS README
a1b7a2c8 110%attr(755,root,root) %{_libdir}/libhogweed.so.*.*
00561dce 111%attr(755,root,root) %ghost %{_libdir}/libhogweed.so.6
a1b7a2c8 112%attr(755,root,root) %{_libdir}/libnettle.so.*.*
00561dce 113%attr(755,root,root) %ghost %{_libdir}/libnettle.so.8
fc2e3216
JB
114
115%files devel
116%defattr(644,root,root,755)
a1b7a2c8
JB
117%attr(755,root,root) %{_libdir}/libhogweed.so
118%attr(755,root,root) %{_libdir}/libnettle.so
fc2e3216 119%{_includedir}/nettle
80620289
JB
120%{_pkgconfigdir}/hogweed.pc
121%{_pkgconfigdir}/nettle.pc
a1b7a2c8 122%{_infodir}/nettle.info*
fc2e3216
JB
123
124%files static
125%defattr(644,root,root,755)
a1b7a2c8
JB
126%{_libdir}/libhogweed.a
127%{_libdir}/libnettle.a
54bc338b
AO
128
129%files progs
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
This page took 0.130444 seconds and 4 git commands to generate.