SHA256
1
0
forked from pool/texlive
Dr. Werner Fink 2016-03-04 12:56:37 +00:00 committed by Git OBS Bridge
parent c2787f4ddc
commit c9d09a3df6

View File

@ -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)