forked from pool/texlive
.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=207
This commit is contained in:
parent
b2af8280f2
commit
c2787f4ddc
29
texlive.spec
29
texlive.spec
@ -2546,7 +2546,7 @@ of recent TeX engines. It allows to synchronize between input
|
||||
and output, which means to navigate from the source document to
|
||||
the typeset material and vice versa.
|
||||
|
||||
%package -n libtexlua52
|
||||
%package -n libtexlua5
|
||||
Version: 5.2.4
|
||||
Release: 0
|
||||
Summary: Libraries of an extended version of pdfTeX using Lua
|
||||
@ -2555,7 +2555,7 @@ Group: System/Libraries
|
||||
Url: http://www.tug.org/texlive/
|
||||
Prefix: %{_libdir}
|
||||
|
||||
%description -n libtexlua52
|
||||
%description -n libtexlua5
|
||||
LuaTeX is an extended version of pdfTeX using Lua as an
|
||||
embedded scripting language
|
||||
|
||||
@ -2566,7 +2566,7 @@ Summary: Libraries of an extended version of pdfTeX using Lua
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.tug.org/texlive/
|
||||
Requires: libtexlua52 = 5.2.4
|
||||
Requires: libtexlua5 = 5.2.4
|
||||
|
||||
%description -n %{name}-texlua-devel
|
||||
This package includes the luatex development files.
|
||||
@ -2593,7 +2593,7 @@ Summary: Libraries of Just-In-Time compiler for Lua
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.tug.org/texlive/
|
||||
Requires: libtexlua52 = 2.0.3
|
||||
Requires: libtexlua5 = 2.0.3
|
||||
|
||||
%description -n %{name}-texluajit-devel
|
||||
This package includes the LuaJIT development files.
|
||||
@ -2610,7 +2610,7 @@ Url: http://www.tug.org/texlive/
|
||||
Requires: libkpathsea6 = 6.2.1
|
||||
Requires: libptexenc1 = 1.3.3
|
||||
Requires: libsynctex1 = 1.17
|
||||
Requires: libtexlua52 = 5.2.4
|
||||
Requires: libtexlua5 = 5.2.4
|
||||
%if %{with LuaJIT}
|
||||
Requires: libtexluajit2 = 2.0.3
|
||||
%endif
|
||||
@ -3159,7 +3159,7 @@ popd
|
||||
. %{options}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_libdir}
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
mkdir -p %{buildroot}%{_includedir}
|
||||
mkdir -p %{buildroot}%{_infodir}
|
||||
mkdir -p %{buildroot}%{_libexecdir}/mktex
|
||||
@ -3407,6 +3407,16 @@ popd
|
||||
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
||||
%{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
||||
|
||||
pushd ${prefix}/lib/pkgconfig/
|
||||
for pc in kpathsea ptexenc texlua52 texluajit synctex
|
||||
do
|
||||
sed -ir '/^prefix=/s/=.*/=\/usr/
|
||||
/^libdir=/s|=.*|=%{_libdir}|
|
||||
/^includedir=/s|=.*|=%{_includedir}|' $pc.pc
|
||||
install $pc.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||
done
|
||||
popd
|
||||
|
||||
%if %{defined verify_permissions}
|
||||
%verifyscript kpathsea-bin
|
||||
%verify_permissions -e %{_libexecdir}/mktex/public
|
||||
@ -4352,6 +4362,7 @@ rm -f /var/run/texlive/run-update
|
||||
%dir %{_includedir}/kpathsea
|
||||
%{_includedir}/kpathsea/*
|
||||
%{_libdir}/libkpathsea.so
|
||||
%{_libdir}/pkgconfig/kpathsea.pc
|
||||
|
||||
%files -n libptexenc1
|
||||
%defattr(-,root,root,755)
|
||||
@ -4362,6 +4373,7 @@ rm -f /var/run/texlive/run-update
|
||||
%dir %{_includedir}/ptexenc
|
||||
%{_includedir}/ptexenc/*
|
||||
%{_libdir}/libptexenc.so
|
||||
%{_libdir}/pkgconfig/ptexenc.pc
|
||||
|
||||
%files -n libsynctex1
|
||||
%defattr(-,root,root,755)
|
||||
@ -4372,8 +4384,9 @@ rm -f /var/run/texlive/run-update
|
||||
%dir %{_includedir}/synctex/
|
||||
%{_includedir}/synctex/*.h
|
||||
%{_libdir}/libsynctex.so
|
||||
%{_libdir}/pkgconfig/synctex.pc
|
||||
|
||||
%files -n libtexlua52
|
||||
%files -n libtexlua5
|
||||
%defattr(-,root,root,755)
|
||||
%{_libdir}/libtexlua[0-9]*so.*
|
||||
|
||||
@ -4382,6 +4395,7 @@ rm -f /var/run/texlive/run-update
|
||||
%dir %{_includedir}/texlua[0-9]*/
|
||||
%{_includedir}/texlua[0-9]*/*.h*
|
||||
%{_libdir}/libtexlua[0-9]*so
|
||||
%{_libdir}/pkgconfig/texlua[0-9]*.pc
|
||||
|
||||
%if %{with LuaJIT}
|
||||
%files -n libtexluajit2
|
||||
@ -4393,6 +4407,7 @@ rm -f /var/run/texlive/run-update
|
||||
%dir %{_includedir}/texluajit/
|
||||
%{_includedir}/texluajit/*.h*
|
||||
%{_libdir}/libtexluajit.so
|
||||
%{_libdir}/pkgconfig/texluajit.pc
|
||||
%endif
|
||||
|
||||
%files -n %{name}-bin-devel
|
||||
|
Loading…
Reference in New Issue
Block a user