gcrypt/gcrypt.spec

changeset 757
bb40ee892364
parent 284
33c60a6d7034
equal deleted inserted replaced
2:b91815047738 3:64b7b9e04c80
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: PLUS 31 Class: PLUS
32 Group: Cryptography 32 Group: Cryptography
33 License: LGPL 33 License: LGPL
34 Version: 1.4.6 34 Version: 1.4.6
35 Release: 20100714 35 Release: 20101020
36 36
37 # package options 37 # package options
38 %option with_idea no 38 %option with_idea no
39 39
40 # list of sources 40 # list of sources
41 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.gz 41 Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.gz
42 Source1: idea.c 42 Source1: idea.c
43 Patch0: gcrypt.patch 43 Patch0: gcrypt.patch
44 44
45 # build information 45 # build information
46 Prefix: %{l_prefix}
47 BuildRoot: %{l_buildroot}
46 BuildPreReq: OpenPKG, openpkg >= 20100101, gpg-error, make, gcc 48 BuildPreReq: OpenPKG, openpkg >= 20100101, gpg-error, make, gcc
47 PreReq: OpenPKG, openpkg >= 20100101, gpg-error 49 PreReq: OpenPKG, openpkg >= 20100101, gpg-error
48 50
49 %description 51 %description
50 GCrypt is the split-out cryptography library from GnuPG. 52 GCrypt is the split-out cryptography library from GnuPG.
92 --infodir=%{l_prefix}/info \ 94 --infodir=%{l_prefix}/info \
93 --disable-shared 95 --disable-shared
94 %{l_make} %{l_mflags -O} 96 %{l_make} %{l_mflags -O}
95 97
96 %install 98 %install
97 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 99 rm -rf $RPM_BUILD_ROOT
100 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
98 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir 101 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
99 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 102 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
100 %{l_files_std} 103 %{l_files_std}
101 104
102 %files -f files 105 %files -f files
103 106
104 %clean 107 %clean
108 rm -rf $RPM_BUILD_ROOT
105 109

mercurial