]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # WARNING: despite unchanged SONAME, the RSA ABI (and API) has changed since 3.x! | |
3 | # | |
4 | # Conditional build: | |
5 | %bcond_without java # build with Java support | |
6 | %bcond_with javac # use javac instead of gcj | |
7 | %bcond_without python # don't build python module | |
8 | %bcond_without doc # don't build documentation | |
9 | # | |
10 | Summary: The BeeCrypt Cryptography Library | |
11 | Summary(pl): Biblioteka kryptograficzna BeeCrypt | |
12 | Name: beecrypt | |
13 | Version: 4.1.2 | |
14 | Release: 4 | |
15 | Epoch: 2 | |
16 | License: LGPL | |
17 | Group: Libraries | |
18 | Source0: http://heanet.dl.sourceforge.net/beecrypt/%{name}-%{version}.tar.gz | |
19 | # Source0-md5: 820d26437843ab0a6a8a5151a73a657c | |
20 | Patch0: %{name}-opt.patch | |
21 | Patch1: %{name}-lib64_fix.patch | |
22 | Patch2: %{name}-ac_python.patch | |
23 | URL: http://sourceforge.net/projects/beecrypt/ | |
24 | BuildRequires: autoconf >= 2.50 | |
25 | BuildRequires: automake | |
26 | %if %{with doc} | |
27 | BuildRequires: doxygen | |
28 | %endif | |
29 | %if %{with java} && !%{with javac} | |
30 | BuildRequires: gcc-java | |
31 | %endif | |
32 | %if %{with doc} | |
33 | BuildRequires: ghostscript | |
34 | BuildRequires: graphviz | |
35 | %endif | |
36 | %if %{with java} && %{with javac} | |
37 | BuildRequires: jdk | |
38 | %endif | |
39 | BuildRequires: libtool | |
40 | %if %{with java} && !%{with javac} | |
41 | BuildRequires: libgcj-devel | |
42 | %endif | |
43 | %if %{with python} | |
44 | BuildRequires: python-devel | |
45 | BuildRequires: python-modules | |
46 | %endif | |
47 | BuildRequires: rpmbuild(macros) >= 1.213 | |
48 | %if %{with doc} | |
49 | BuildRequires: tetex-dvips | |
50 | BuildRequires: tetex-format-latex | |
51 | BuildRequires: tetex-latex-dstroke | |
52 | # note: this is incorrect place, it should be somewhere in tetex packages | |
53 | BuildRequires: tetex-metafont | |
54 | %endif | |
55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
56 | ||
57 | %define _libaltdir /%{_lib} | |
58 | ||
59 | %define specflags_alpha -mno-explicit-relocs | |
60 | ||
61 | %description | |
62 | BeeCrypt is an open source cryptography library that contains highly | |
63 | optimized C and assembler implementations of many well-known | |
64 | algorithms including Blowfish, MD5, SHA-1, Diffie-Hellman, and | |
65 | ElGamal. | |
66 | ||
67 | %description -l pl | |
68 |