]> git.pld-linux.org Git - packages/beecrypt.git/blob - beecrypt.spec
- additional functions for base64 support
[packages/beecrypt.git] / beecrypt.spec
1 # _with_javaglue
2 %define         snap 20030516
3 Summary:        The BeeCrypt Cryptography Library
4 Summary(pl):    Biblioteka kryptograficzna BeeCrypt
5 Name:           beecrypt
6 Version:        3.0.0
7 Release:        0.%{snap}.1
8 License:        LGPL
9 Group:          Development/Libraries
10 Source0:        http://dl.sf.net/%{name}/%{name}-%{version}pre.%{snap}.tar.gz
11 Patch0:         %{name}-from_rpm.patch
12 URL:            http://sourceforge.net/projects/beecrypt/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 BeeCrypt is an open source cryptography library that contains highly
17 optimized C and assembler implementations of many well-known
18 algorithms including Blowfish, MD5, SHA-1, Diffie-Hellman, and
19 ElGamal.
20
21 %description -l pl
22 BeeCrypt jest open sourcow± bibliotek±, która zawiera wysoko
23 zoptymailzowane funkcje w C oraz assemblerze wielu algorytmów
24 szyfrowania m.in.: Blowfish, MD5, SHA-1, Diffie-Hellman oraz ElGamal.
25
26 %package devel
27 Summary:        The BeeCrypt Cryptography Library - development files
28 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki BeeCrypt
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}
31
32 %description devel
33 The BeeCrypt Cryptography Library - development files.
34
35 %description devel -l pl
36 Biblioteka kryptograficzna BeeCrypt - pliki dla programistów.
37
38 %package static
39 Summary:        The BeeCrypt Cryptography Library - static library
40 Summary(pl):    Biblioteka statyczna BeeCrypt
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}
43
44 %description static
45 The BeeCrypt Cryptography Library - static library.
46
47 %description static -l pl
48 Biblioteka statyczna BeeCrypt.
49
50 %prep
51 %setup  -q -n %{name}-%{version}pre
52 %patch0 -p1
53
54 %build
55 rm -f missing
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__autoheader}
60 %{__automake}
61 %configure \
62         --with%{?!_with_javaglue:out}-javaglue
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc README* CONTRIBUTORS AUTHORS BUGS NEWS 
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %{_libdir}/lib*.so
84 %{_libdir}/lib*.la
85 %{_includedir}/*
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/lib*.a
This page took 0.072602 seconds and 4 git commands to generate.