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