]>
Commit | Line | Data |
---|---|---|
9b93424f MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = compat-libgcrypt | |
7 | version = 1.5.4 | |
8 | release = 1 | |
9 | thisapp = libgcrypt-%{version} | |
10 | ||
11 | groups = System/Libraries | |
12 | url = http://www.gnupg.org/ | |
13 | license = LGPLv2.1+ | |
14 | summary = A general-purpose cryptography library | |
15 | ||
16 | description | |
17 | Libgcrypt is a general purpose crypto library based on the code used | |
18 | in GNU Privacy Guard. | |
19 | end | |
20 | ||
21 | source_dl = ftp://ftp.gnupg.org/gcrypt/libgcrypt/ | |
22 | sources = %{thisapp}.tar.bz2 | |
23 | ||
24 | build | |
25 | requires | |
26 | gcc-c++ | |
27 | libgpg-error-devel | |
28 | end | |
29 | ||
30 | configure_options += \ | |
31 | --enable-noexecstack | |
32 | ||
33 | test | |
34 | make check | |
35 | end | |
36 | ||
37 | install | |
38 | # Install just the library and no headers. | |
39 | mkdir -pv %{BUILDROOT}%{libdir} | |
40 | ||
41 | install -m 755 src/.libs/libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir} | |
42 | ln -svf libgcrypt.so.11.8.3 %{BUILDROOT}%{libdir}/libgcrypt.so.11 | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
48 | provides | |
49 | libgcrypt = %{thisver} | |
50 | end | |
51 | ||
52 | obsoletes | |
53 | libgcrypt <= %{thisver} | |
54 | end | |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |