gettext/gettext.spec

changeset 469
65414bdd541c
parent 271
f45355418dfd
equal deleted inserted replaced
0:4caf765794dd 1:474f99caa647
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: BASE 31 Class: BASE
32 Group: Charset 32 Group: Charset
33 License: GPL 33 License: GPL
34 Version: 0.18.1.1 34 Version: 0.18.1.1
35 Release: 20100607 35 Release: 20101020
36 36
37 # list of sources 37 # list of sources
38 Source0: ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz 38 Source0: ftp://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.gz
39 Patch0: gettext.patch 39 Patch0: gettext.patch
40 40
41 # build information 41 # build information
42 Prefix: %{l_prefix}
43 BuildRoot: %{l_buildroot}
42 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make, automake 44 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make, automake
43 PreReq: OpenPKG, openpkg >= 20100101 45 PreReq: OpenPKG, openpkg >= 20100101
44 BuildPreReq: libiconv 46 BuildPreReq: libiconv
45 PreReq: libiconv 47 PreReq: libiconv
46 48
112 114
113 # build toolkit 115 # build toolkit
114 %{l_make} %{l_mflags} 116 %{l_make} %{l_mflags}
115 117
116 %install 118 %install
119 rm -rf $RPM_BUILD_ROOT
117 120
118 # install toolkit 121 # install toolkit
119 %{l_make} %{l_mflags} install \ 122 %{l_make} %{l_mflags} install \
120 AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" \ 123 AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" \
121 DESTDIR=$RPM_BUILD_ROOT 124 DESTDIR=$RPM_BUILD_ROOT
134 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 137 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
135 138
136 %files -f files 139 %files -f files
137 140
138 %clean 141 %clean
142 rm -rf $RPM_BUILD_ROOT
139 143

mercurial