.
OBS-URL: https://build.opensuse.org/package/show/Base:System/man?expand=0&rev=141
This commit is contained in:
parent
a897f89b0a
commit
5ab4d52f0b
7
man.spec
7
man.spec
@ -166,7 +166,6 @@ find -name 'Makefile.*' | xargs \
|
|||||||
--with-systemdtmpfilesdir=no \
|
--with-systemdtmpfilesdir=no \
|
||||||
--with-systemdsystemunitdir=no \
|
--with-systemdsystemunitdir=no \
|
||||||
%endif
|
%endif
|
||||||
--enable-dups \
|
|
||||||
--enable-cache-owner=man \
|
--enable-cache-owner=man \
|
||||||
--with-device=utf8 \
|
--with-device=utf8 \
|
||||||
--with-zio \
|
--with-zio \
|
||||||
@ -174,15 +173,15 @@ find -name 'Makefile.*' | xargs \
|
|||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--disable-automatic-create \
|
--disable-automatic-create \
|
||||||
--enable-automatic-update \
|
--enable-automatic-update \
|
||||||
|
--enable-mandirs=GNU \
|
||||||
--disable-cats \
|
--disable-cats \
|
||||||
--enable-threads=posix \
|
--enable-threads=posix \
|
||||||
--enable-mb-groff \
|
--enable-mb-groff \
|
||||||
--with-db=gdbm \
|
--with-db=gdbm \
|
||||||
--enable-nls \
|
--enable-nls \
|
||||||
--with-config-file=%{_sysconfdir}/manpath.config \
|
--with-config-file=%{_sysconfdir}/manpath.config \
|
||||||
--without-included-gettext \
|
|
||||||
--with-sections="${SEC}"
|
--with-sections="${SEC}"
|
||||||
%make_build nls=all
|
%make_build nls=all LOCALE_FR_UTF8=fr_FR.UTF-8
|
||||||
# Fix coding
|
# Fix coding
|
||||||
for man in $(find man/ -type f -a -name '*.[0-9]'); do
|
for man in $(find man/ -type f -a -name '*.[0-9]'); do
|
||||||
pp="$(head -n 1 $man)"
|
pp="$(head -n 1 $man)"
|
||||||
@ -215,7 +214,7 @@ fi
|
|||||||
export MKDIR_P="mkdir -p"
|
export MKDIR_P="mkdir -p"
|
||||||
%endif
|
%endif
|
||||||
rm -rf %{buildroot}%{_localstatedir}/cache/man
|
rm -rf %{buildroot}%{_localstatedir}/cache/man
|
||||||
%make_install nls=all
|
%make_install nls=all LOCALE_FR_UTF8=fr_FR.UTF-8
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
# Move manual
|
# Move manual
|
||||||
mkdir -p %{buildroot}%{_docdir}
|
mkdir -p %{buildroot}%{_docdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user