/[packages]/cauldron/texlive/current/SPECS/texlive.spec
ViewVC logotype

Diff of /cauldron/texlive/current/SPECS/texlive.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1057042 by luigiwalser, Sat Aug 13 02:05:33 2016 UTC revision 1057043 by bcornec, Tue Sep 27 00:46:17 2016 UTC
# Line 37  Line 37 
37    
38  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
39  Name:           texlive  Name:           texlive
40  Version:        20130530  Version:        20160523
41  Release:        %mkrel 30  Release:        %mkrel 1
42  Summary:        The TeX formatting system  Summary:        The TeX formatting system
43  Group:          Publishing  Group:          Publishing
44  License:        http://www.tug.org/texlive/LICENSE.TL  License:        http://www.tug.org/texlive/LICENSE.TL
45  URL:            http://tug.org/texlive/  URL:            http://tug.org/texlive/
46  Source0:        ftp://tug.org/historic/systems/texlive/2013/%{name}-%{version}-source.tar.xz  Source0:        ftp://tug.org/historic/systems/texlive/2016/%{name}-%{version}b-source.tar.xz
47  Source1:        ftp://tug.org/historic/systems/texlive/2013/%{name}-%{version}-source.tar.xz.sha256  Source1:        ftp://tug.org/historic/systems/texlive/2016/%{name}-%{version}b-source.tar.xz.sha512
 # More recent metapost to fix Lilypond build (mga#12073)  
 Source2:        https://foundry.supelec.fr/frs/download.php/file/15750/metapost-1.803-src.tar.bz2  
48    
49  Provides:       tetex  = %{version}-%{release}  Provides:       tetex  = %{version}-%{release}
50  Provides:       context = %{version}-%{release}  Provides:       context = %{version}-%{release}
# Line 176  BuildRequires: zziplib-devel Line 174  BuildRequires: zziplib-devel
174  BuildRequires:  cairo-devel  BuildRequires:  cairo-devel
175    
176  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
177  Patch0: texlive-20130530-mandriva-underlink.patch  #Patch0: texlive-20130530-mandriva-underlink.patch
178  Patch1: texlive-20130530-mandriva-format.patch  Patch1: texlive-20160523-mageia-format.patch
179  Patch2: texlive-20130530-mandriva-asymptote.patch  Patch2: texlive-20160523-mageia-asymptote.patch
180  Patch3: texlive-20130530-mandriva-xdvi.patch  #Patch3: texlive-20130530-mandriva-xdvi.patch
181  Patch4: texlive-20130530-texmf-fedora-kpfix.patch  Patch4: texlive-20160523-texmf-mageia-kpfix.patch
182  Patch5: texlive-20130530-dvisvgm-libgs.patch  #Patch5: texlive-20130530-dvisvgm-libgs.patch
183  Patch6: texlive-bz979176.patch  Patch6: texlive-bz979176.patch
184    
185  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
# Line 235  This package includes the kpathsea devel Line 233  This package includes the kpathsea devel
233  %{_includedir}/kpathsea  %{_includedir}/kpathsea
234  %{_libdir}/libkpathsea.la  %{_libdir}/libkpathsea.la
235  %{_libdir}/libkpathsea.so  %{_libdir}/libkpathsea.so
236    %{_libdir}/pkgconfig/kpathsea.pc
237    %{_libdir}/kpathsea/*.h
238    
239  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
240  %define kpathsea_static_devel   %{mklibname -d -s kpathsea}  %define kpathsea_static_devel   %{mklibname -d -s kpathsea}
# Line 254  This package includes the static kpathse Line 254  This package includes the static kpathse
254  %{_libdir}/libkpathsea.a  %{_libdir}/libkpathsea.a
255    
256  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
257    %define        texlua_major           5
258    %define        texluajit_major        2
259    %define        texlua                 %{mklibname texlua %{texlua_major}}
260    
261    %package        -n %{texlua}
262    Summary:        Library for TeXlua
263    Group:          System/Libraries
264    Provides:       texlua = %{version}-%{release}
265    
266    %description    -n %{texlua}
267    TeXlua library
268    
269    %files          -n %{texlua}
270    %{_libdir}/libtexlua52.so.%{texlua_major}
271    %{_libdir}/libtexlua52.so.%{texlua_major}.*
272    %{_libdir}/libtexluajit.so.%{texluajit_major}
273    %{_libdir}/libtexluajit.so.%{texluajit_major}.*
274    
275    #-----------------------------------------------------------------------
276    %define texlua_devel            %{mklibname -d texlua}
277    
278    %package        -n %{texlua_devel}
279    Summary:        Library for TeXlua
280    Group:          Development/C
281    Requires:       texlua = %{version}-%{release}
282    Provides:       texlua-devel = %{version}-%{release}
283    
284    %description    -n %{texlua_devel}
285    TeXlua library
286    This package includes the TeXlua development files.
287    
288    %files          -n %{texlua_devel}
289    %{_includedir}/texlua52
290    %{_includedir}/texluajit
291    %{_libdir}/libtexlua52.la
292    %{_libdir}/libtexlua52.so
293    %{_libdir}/pkgconfig/texlua52.pc
294    %{_libdir}/libtexluajit.la
295    %{_libdir}/libtexluajit.so
296    %{_libdir}/pkgconfig/texluajit.pc
297    
298    #-----------------------------------------------------------------------
299    %define texlua_static_devel     %{mklibname -d -s texlua}
300    
301    %package        -n %{texlua_static_devel}
302    Summary:        Library for TeXlua
303    Group:          Development/C
304    Requires:       texlua-devel = %{version}-%{release}
305    Provides:       texlua-devel-static = %{version}-%{release}
306    
307    %description    -n %{texlua_static_devel}
308    TeXlua library
309    This package includes the static TeXlua library.
310    
311    %files          -n %{texlua_static_devel}
312    %{_libdir}/libtexlua52.a
313    %{_libdir}/libtexluajit.a
314    
315    #-----------------------------------------------------------------------
316    %define        synctex_major           1
317    %define        synctex                 %{mklibname synctex %{synctex_major}}
318    
319    %package        -n %{synctex}
320    Summary:        Library for SyncTeX
321    Group:          System/Libraries
322    Provides:       synctex = %{version}-%{release}
323    
324    %description    -n %{synctex}
325    synctex library
326    
327    %files          -n %{synctex}
328    %{_libdir}/libsynctex.so.%{synctex_major}
329    %{_libdir}/libsynctex.so.%{synctex_major}.*
330    
331    #-----------------------------------------------------------------------
332    %define synctex_devel           %{mklibname -d synctex}
333    
334    %package        -n %{synctex_devel}
335    Summary:        Library for SyncTeX
336    Group:          Development/C
337    Requires:       synctex = %{version}-%{release}
338    Provides:       synctex-devel = %{version}-%{release}
339    
340    %description    -n %{synctex_devel}
341    synctex library
342    This package includes the synctex development files.
343    
344    %files          -n %{synctex_devel}
345    %{_includedir}/synctex
346    %{_libdir}/libsynctex.la
347    %{_libdir}/libsynctex.so
348    %{_libdir}/pkgconfig/synctex.pc
349    
350    #-----------------------------------------------------------------------
351    %define synctex_static_devel    %{mklibname -d -s synctex}
352    
353    %package        -n %{synctex_static_devel}
354    Summary:        Library for SyncTeX
355    Group:          Development/C
356    Requires:       synctex-devel = %{version}-%{release}
357    Provides:       synctex-devel-static = %{version}-%{release}
358    
359    %description    -n %{synctex_static_devel}
360    synctex library
361    This package includes the static synctex library.
362    
363    %files          -n %{synctex_static_devel}
364    %{_libdir}/libsynctex.a
365    
366    #-----------------------------------------------------------------------
367  %define        ptexenc_major           1  %define        ptexenc_major           1
368  %define        ptexenc                 %{mklibname ptexenc %{ptexenc_major}}  %define        ptexenc                 %{mklibname ptexenc %{ptexenc_major}}
369    
# Line 290  This package includes the ptexenc develo Line 400  This package includes the ptexenc develo
400  %{_includedir}/ptexenc  %{_includedir}/ptexenc
401  %{_libdir}/libptexenc.la  %{_libdir}/libptexenc.la
402  %{_libdir}/libptexenc.so  %{_libdir}/libptexenc.so
403    %{_libdir}/pkgconfig/ptexenc.pc
404    
405  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
406  %define ptexenc_static_devel    %{mklibname -d -s ptexenc}  %define ptexenc_static_devel    %{mklibname -d -s ptexenc}
# Line 317  This package includes the static ptexenc Line 428  This package includes the static ptexenc
428  %prep  %prep
429  %setup -q -n %{name}-%{version}-source  %setup -q -n %{name}-%{version}-source
430    
431  %patch0 -p1  #%patch0 -p1
432  %patch1 -p1  %patch1 -p1
433  %if %{enable_asymptote}  %if %{enable_asymptote}
434  %patch2 -p1  %patch2 -p1
435  %endif  %endif
436  %patch3 -p1  #%patch3 -p1
437  %patch4 -p1  %patch4 -p1
438  %patch5 -p1  #%patch5 -p1
439  %patch6 -p1  %patch6 -p1
440    
441  # setup default builtin values, added to paths.h from texmf.cnf  # setup default builtin values, added to paths.h from texmf.cnf
# Line 334  perl -pi -e 's%^(TEXMFMAIN\s+= ).*%$1%{t Line 445  perl -pi -e 's%^(TEXMFMAIN\s+= ).*%$1%{t
445           -e 's%^(TEXMFSYSVAR\s+= ).*%$1%{texmfvardir}%;'                  \           -e 's%^(TEXMFSYSVAR\s+= ).*%$1%{texmfvardir}%;'                  \
446           -e 's%^(TEXMFSYSCONFIG\s+= ).*%$1%{texmfconfdir}%;'              \           -e 's%^(TEXMFSYSCONFIG\s+= ).*%$1%{texmfconfdir}%;'              \
447           -e 's%^(TEXMFHOME\s+= ).*%$1\$HOME/texmf%;'                      \           -e 's%^(TEXMFHOME\s+= ).*%$1\$HOME/texmf%;'                      \
448           -e 's%^(TEXMFVAR\s+= ).*%$1\$HOME/.texlive2013/texmf-var%;'      \           -e 's%^(TEXMFVAR\s+= ).*%$1\$HOME/.texlive2016/texmf-var%;'      \
449           -e 's%^(TEXMFCONFIG\s+= ).*%$1\$HOME/.texlive2013/texmf-config%;'\           -e 's%^(TEXMFCONFIG\s+= ).*%$1\$HOME/.texlive2016/texmf-config%;'\
450           -e 's%^(OSFONTDIR\s+= ).*%$1%{_datadir}/fonts%;'                 \           -e 's%^(OSFONTDIR\s+= ).*%$1%{_datadir}/fonts%;'                 \
451          texk/kpathsea/texmf.cnf          texk/kpathsea/texmf.cnf
452    
 # Updating metapost  
 tar xvjf %{_sourcedir}/metapost-1.803-src.tar.bz2  
 cp -r metapost-1.803/source/texk/web2c/mplibdir texk/web2c/  
   
453  #-----------------------------------------------------------------------  #-----------------------------------------------------------------------
454  %build  %build
455    

Legend:
Removed from v.1057042  
changed lines
  Added in v.1057043

  ViewVC Help
Powered by ViewVC 1.1.28