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