pinentry/pinentry.spec

changeset 291
52571005077f
parent 282
dae915416cf4
equal deleted inserted replaced
0:1c0a12a606b4 1:132fe1b81355
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: PLUS 31 Class: PLUS
32 Group: Terminal 32 Group: Terminal
33 License: GPL 33 License: GPL
34 Version: 0.8.0 34 Version: 0.8.0
35 Release: 20100303 35 Release: 20101020
36 36
37 # package options 37 # package options
38 %option with_x11 no 38 %option with_x11 no
39 39
40 # list of sources 40 # list of sources
41 Source0: ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-%{version}.tar.gz 41 Source0: ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-%{version}.tar.gz
42 Patch0: pinentry.patch 42 Patch0: pinentry.patch
43 43
44 # build information 44 # build information
45 Prefix: %{l_prefix}
46 BuildRoot: %{l_buildroot}
45 BuildPreReq: OpenPKG, openpkg >= 20100101 47 BuildPreReq: OpenPKG, openpkg >= 20100101
46 PreReq: OpenPKG, openpkg >= 20100101 48 PreReq: OpenPKG, openpkg >= 20100101
47 BuildPreReq: ncurses, libiconv 49 BuildPreReq: ncurses, libiconv
48 PreReq: ncurses, libiconv 50 PreReq: ncurses, libiconv
49 %if "%{with_x11}" == "yes" 51 %if "%{with_x11}" == "yes"
91 --disable-pinentry-qt \ 93 --disable-pinentry-qt \
92 --disable-threading 94 --disable-threading
93 %{l_make} %{l_mflags -O} 95 %{l_make} %{l_mflags -O}
94 96
95 %install 97 %install
98 rm -rf $RPM_BUILD_ROOT
96 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 99 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
97 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 100 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
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 %{l_files_std} 102 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
100 103
101 %files -f files 104 %files -f files
102 105
103 %clean 106 %clean
107 rm -rf $RPM_BUILD_ROOT
104 108

mercurial