forked from pool/texlive
.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=208
This commit is contained in:
parent
c2787f4ddc
commit
c9d09a3df6
18
texlive.spec
18
texlive.spec
@ -3410,10 +3410,11 @@ popd
|
||||
pushd ${prefix}/lib/pkgconfig/
|
||||
for pc in kpathsea ptexenc texlua52 texluajit synctex
|
||||
do
|
||||
sed -ir '/^prefix=/s/=.*/=\/usr/
|
||||
sed -ir '/^prefix=/s|=.*|=/usr|
|
||||
/^exec_prefix=/s|=.*|=/usr|
|
||||
/^libdir=/s|=.*|=%{_libdir}|
|
||||
/^includedir=/s|=.*|=%{_includedir}|' $pc.pc
|
||||
install $pc.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
install -m 0644 $pc.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
done
|
||||
popd
|
||||
|
||||
@ -3456,11 +3457,16 @@ rm -f /var/run/texlive/run-update
|
||||
%post -n libptexenc1 -p /sbin/ldconfig
|
||||
%postun -n libptexenc1 -p /sbin/ldconfig
|
||||
|
||||
%post synctex-bin -p /sbin/ldconfig
|
||||
%postun synctex-bin -p /sbin/ldconfig
|
||||
%post -n libsynctex1 -p /sbin/ldconfig
|
||||
%postun -n libsynctex1 -p /sbin/ldconfig
|
||||
|
||||
%post luatex-bin -p /sbin/ldconfig
|
||||
%postun luatex-bin -p /sbin/ldconfig
|
||||
%post -n libtexlua5 -p /sbin/ldconfig
|
||||
%postun -n libtexlua5 -p /sbin/ldconfig
|
||||
|
||||
%if %{with LuaJIT}
|
||||
%post -n libtexluajit2 -p /sbin/ldconfig
|
||||
%postun -n libtexluajit2 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,755)
|
||||
|
Loading…
Reference in New Issue
Block a user