]> git.pld-linux.org Git - packages/mhash.git/blame - mhash.spec
- release 3 (by relup.sh)
[packages/mhash.git] / mhash.spec
CommitLineData
a4b40e3b
JB
1#
2# Conditional build:
3%bcond_without tests # don't perform "make check"
4#
869edb82 5Summary: Hash library
a76b3555
ER
6Summary(pl.UTF-8): Biblioteka funkcji mieszających (skrótu)
7Summary(pt_BR.UTF-8): Interface uniforme para vários algoritmos hash
87206f21 8Name: mhash
f873ef3f 9Version: 0.9.9.9
d4397b70 10Release: 3
c3ad76d9 11License: LGPL v2+
055ac971 12Group: Libraries
855300df 13Source0: http://dl.sourceforge.net/mhash/%{name}-%{version}.tar.bz2
f873ef3f 14# Source0-md5: f91c74f9ccab2b574a98be5bc31eb280
5d810daa 15Patch0: %{name}-shared.patch
d3d399ec 16URL: http://mhash.sourceforge.net/
c3ad76d9 17BuildRequires: autoconf >= 2.59
00e8ded9 18BuildRequires: automake
19BuildRequires: libtool
055ac971 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Mhash is a library which provides a uniform interface to a large
24number of hash algorithms. These algorithms can be used to compute
25checksums, message digests, and other signatures. The HMAC support
26implements the basics for message authentication, following RFC 2104.
27
2754f6ba
JR
28%description -l pl.UTF-8
29Mhash to biblioteka dostarczająca jednolity interfejs do dużej liczby
30algorytmów mieszających (skrótu). Te algorytmy mogą być używane do
31liczenia sum kontrolnych, oznaczeń komunikatów oraz innych sygnatur.
32Obsługa HMAC daje podstawy dla uwierzytelniania wiadomości, zgodnie z
febeeb09 33RFC 2104.
9e365730 34
2754f6ba
JR
35%description -l pt_BR.UTF-8
36A biblioteca mhash provê uma interface uniforme para um grande número
f8eaea04
ER
37de algoritmos hash. Estes algoritmos podem ser utilizados para
38computar checksums, digests de mensagens, e outras assinaturas. O
2754f6ba
JR
39suporte a HMAC implementa o básico para autenticação de mensagens,
40seguindo o RFC 2104. Nas versões mais recentes foram adicionados
41alguns algoritmos de geração de chaves, que utilizam algoritmos hash.
f8eaea04
ER
42A biblioteca suporta os algoritmos CRC32, MD5, SHA1, HAVAL256, TIGER,
43RIPEMD260, GOST, CRC32B, HAVAL224, HAVAL192, HAVAL160, HAVAL128,
d3d399ec
PG
44TIGER128, TIGER160, MD4, SHA256, and ADLER32.
45
055ac971 46%package devel
47Summary: Header files and development documentation for libmhash
a76b3555
ER
48Summary(es.UTF-8): Archivos de inclusión y bibliotecas de desarrollo
49Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do libmhash
50Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para a biblioteca mhash
055ac971 51Group: Development/Libraries
e9bc54f2 52Requires: %{name} = %{version}-%{release}
055ac971 53
54%description devel
55Header files and development documentation for libmhash.
56
2754f6ba
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe i dokumentacja programisty do libmhash.
9e365730 59
2754f6ba
JR
60%description devel -l pt_BR.UTF-8
61Esse pacote contém arquivos de desenvolvimento para a biblioteca
febeeb09 62mhash.
d3d399ec 63
055ac971 64%package static
869edb82 65Summary: Static version of libmhash
a76b3555
ER
66Summary(es.UTF-8): bibliotecas estaticas mhash
67Summary(pl.UTF-8): Statyczna wersja biblioteki libmhash
68Summary(pt_BR.UTF-8): Bibliotecas estáticas do mhash para desenvolvimento
055ac971 69Group: Development/Libraries
e9bc54f2 70Requires: %{name}-devel = %{version}-%{release}
055ac971 71
72%description static
00e8ded9 73Static version of libmhash.
055ac971 74
2754f6ba 75%description static -l pl.UTF-8
9e365730
JB
76Statyczna wersja libmhash.
77
2754f6ba
JR
78%description static -l pt_BR.UTF-8
79Esse pacote contém arquivos de desenvolvimento estáticos para a
febeeb09 80biblioteca mhash.
d3d399ec 81
055ac971 82%prep
fc860082 83%setup -q
5d810daa 84%patch0 -p0
b0a037a2 85
055ac971 86%build
807fba4d 87%{__libtoolize}
474e371d 88%{__aclocal}
1208d65f 89%{__autoconf}
e9bc54f2 90%{__autoheader}
1208d65f 91%{__automake}
7552464f 92%configure \
93 --enable-static
d5cefe00 94%{__make}
055ac971 95
3c105f1e
AM
96%if %{with tests}
97LD_LIBRARY_PATH=$(pwd)/lib/.libs; export LD_LIBRARY_PATH
98%{__make} check
99%endif
1eeb3090 100
055ac971 101%install
102rm -rf $RPM_BUILD_ROOT
103
d722b9ad 104%{__make} install \
e9bc54f2 105 DESTDIR=$RPM_BUILD_ROOT
055ac971 106
055ac971 107%clean
108rm -rf $RPM_BUILD_ROOT
109
9e365730
JB
110%post -p /sbin/ldconfig
111%postun -p /sbin/ldconfig
112
055ac971 113%files
114%defattr(644,root,root,755)
e9bc54f2 115%doc AUTHORS ChangeLog NEWS README THANKS TODO doc/skid2-authentication
c3ad76d9
JB
116%attr(755,root,root) %{_libdir}/libmhash.so.*.*.*
117%attr(755,root,root) %ghost %{_libdir}/libmhash.so.2
055ac971 118
119%files devel
120%defattr(644,root,root,755)
c3ad76d9
JB
121%attr(755,root,root) %{_libdir}/libmhash.so
122%{_libdir}/libmhash.la
123%{_includedir}/mhash.h
124%{_includedir}/mutils
125%{_mandir}/man3/mhash.3*
055ac971 126
127%files static
128%defattr(644,root,root,755)
c3ad76d9 129%{_libdir}/libmhash.a
This page took 0.099892 seconds and 4 git commands to generate.