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