gcrypt/gcrypt.spec

changeset 284
33c60a6d7034
parent 107
2f8ffdf7658b
child 285
a737f787c44a
equal deleted inserted replaced
1:f8f3a11ece2b 2:b91815047738
1 ## 1 ##
2 ## gcrypt.spec -- OpenPKG RPM Package Specification 2 ## gcrypt.spec -- OpenPKG RPM Package Specification
3 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> 3 ## Copyright (c) 2000-2010 OpenPKG Foundation e.V. <http://openpkg.net/>
4 ## 4 ##
5 ## Permission to use, copy, modify, and distribute this software for 5 ## Permission to use, copy, modify, and distribute this software for
6 ## any purpose with or without fee is hereby granted, provided that 6 ## any purpose with or without fee is hereby granted, provided that
7 ## the above copyright notice and this permission notice appear in all 7 ## the above copyright notice and this permission notice appear in all
8 ## copies. 8 ## copies.
29 Packager: OpenPKG Foundation e.V. 29 Packager: OpenPKG Foundation e.V.
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.3 34 Version: 1.4.6
35 Release: 20090106 35 Release: 20100714
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} 46 BuildPreReq: OpenPKG, openpkg >= 20100101, gpg-error, make, gcc
47 BuildRoot: %{l_buildroot} 47 PreReq: OpenPKG, openpkg >= 20100101, gpg-error
48 BuildPreReq: OpenPKG, openpkg >= 20040130, gpg-error, make, gcc
49 PreReq: OpenPKG, openpkg >= 20040130, gpg-error
50 AutoReq: no
51 AutoReqProv: no
52 48
53 %description 49 %description
54 GCrypt is the split-out cryptography library from GnuPG. 50 GCrypt is the split-out cryptography library from GnuPG.
55 51
56 %track 52 %track
96 --infodir=%{l_prefix}/info \ 92 --infodir=%{l_prefix}/info \
97 --disable-shared 93 --disable-shared
98 %{l_make} %{l_mflags -O} 94 %{l_make} %{l_mflags -O}
99 95
100 %install 96 %install
101 rm -rf $RPM_BUILD_ROOT
102 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 97 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
103 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir 98 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
104 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 99 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
105 %{l_files_std} 100 %{l_files_std}
106 101
107 %files -f files 102 %files -f files
108 103
109 %clean 104 %clean
110 rm -rf $RPM_BUILD_ROOT
111 105

mercurial