View | Details | Raw Unified | Return to bug 26417
Collapse All | Expand All

(-)a/platform.in (+1 lines)
Lines 243-248 Link Here
243
@alt@	\
243
@alt@	\
244
@alt@	export RPM_LIB=\"%_lib\"\
244
@alt@	export RPM_LIB=\"%_lib\"\
245
@alt@	export RPM_LIBDIR=\"%_libdir\"\
245
@alt@	export RPM_LIBDIR=\"%_libdir\"\
246
@alt@	export RPM_DATADIR=\"%_datadir\"\
246
@alt@	\
247
@alt@	\
247
@alt@	unset AUTOCONF_VERSION AUTOMAKE_VERSION LIBTOOL_VERSION GCC_VERSION ||:\
248
@alt@	unset AUTOCONF_VERSION AUTOMAKE_VERSION LIBTOOL_VERSION GCC_VERSION ||:\
248
@alt@	%{?_autoconf_version:export AUTOCONF_VERSION=\"%_autoconf_version\"}\
249
@alt@	%{?_autoconf_version:export AUTOCONF_VERSION=\"%_autoconf_version\"}\
(-)a/scripts/find-lang.in (+5 lines)
Lines 22-27 Link Here
22
22
23
: ${RPMCONFIGDIR:=@RPMCONFIGDIR@}
23
: ${RPMCONFIGDIR:=@RPMCONFIGDIR@}
24
. "$RPMCONFIGDIR/functions"
24
. "$RPMCONFIGDIR/functions"
25
[ -n "${RPM_DATADIR-}" ] || RPM_DATADIR="$(rpm --eval %_datadir)"
25
26
26
Usage()
27
Usage()
27
{
28
{
Lines 192-199 s:%lang(\(en\|man.*\)) :: Link Here
192
	fi
193
	fi
193
194
194
	if [ -n "$FIND_GNOME" ]; then
195
	if [ -n "$FIND_GNOME" ]; then
196
# GNOME starting with version 3.2 stores its help files in $RPM_DATADIR/help/%lang/$NAME
195
		find $TOPDIR -type d |sed -e '
197
		find $TOPDIR -type d |sed -e '
196
s:'"$TOPDIR"'::
198
s:'"$TOPDIR"'::
199
s:^\('"$RPM_DATADIR"'/help/\)\(C\|[a-z][^/_@]\+\)\(/'"$NAME"'\)$:%lang(\2) %dir \1\2\3:
197
s:\(.*/gnome/help/'"$NAME"'\)$:%dir \1:
200
s:\(.*/gnome/help/'"$NAME"'\)$:%dir \1:
198
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%dir %lang(\2) \1\2:
201
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%dir %lang(\2) \1\2:
199
s:\(.*/share/omf/'"$NAME"'\)$:%dir \1:
202
s:\(.*/share/omf/'"$NAME"'\)$:%dir \1:
Lines 202-207 s:%lang(\(en\|C\)) :: Link Here
202
		' |grep -v '^$' >> "$OUTFILE" ||:
205
		' |grep -v '^$' >> "$OUTFILE" ||:
203
		find "$TOPDIR" -type f |sed -e '
206
		find "$TOPDIR" -type f |sed -e '
204
s:'"$TOPDIR"'::
207
s:'"$TOPDIR"'::
208
s:^\('"$RPM_DATADIR"'/help/\)\(C\|[a-z][^/_@]\+\)\(/'"$NAME"'/\):%lang(\2) \1\2\3:
205
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%lang(\2) \1\2:
209
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%lang(\2) \1\2:
206
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(C\|[a-z][^/]\+\)\(\.omf\)$:%lang(\3) \1\2\3\4:
210
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(C\|[a-z][^/]\+\)\(\.omf\)$:%lang(\3) \1\2\3\4:
207
s:^\([^%].*\)::
211
s:^\([^%].*\)::
Lines 209-214 s:%lang(\(en\|C\)) :: Link Here
209
		' |grep -v '^$' >> "$OUTFILE" ||:
213
		' |grep -v '^$' >> "$OUTFILE" ||:
210
		find "$TOPDIR" -type l |sed -e '
214
		find "$TOPDIR" -type l |sed -e '
211
s:'"$TOPDIR"'::
215
s:'"$TOPDIR"'::
216
s:^\('"$RPM_DATADIR"'/help/\)\(C\|[a-z][^/_@]\+\)\(/'"$NAME"'/\):%lang(\2) %attr(-,root,root) \1\2\3:
212
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%lang(\2) %attr(-,root,root) \1\2:
217
s:\(.*/gnome/help/'"$NAME"'/\)\(C\|[a-z][^/_@]\+\):%lang(\2) %attr(-,root,root) \1\2:
213
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(C\|[a-z][^/]\+\)\(\.omf\)$:%lang(\3) %attr(-,root,root) \1\2\3\4:
218
s:\(.*/share/omf/'"$NAME"'/\)\([^/]*-\)\(C\|[a-z][^/]\+\)\(\.omf\)$:%lang(\3) %attr(-,root,root) \1\2\3\4:
214
s:^\([^%].*\)::
219
s:^\([^%].*\)::

Return to bug 26417