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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1191402 - (show annotations) (download)
Sun Jan 7 22:50:22 2018 UTC (2 years, 8 months ago) by mokraemer
File size: 19510 byte(s)
new texLive 2017
1 %define _binary_payload w9.gzdio
2 %define _source_payload w9.gzdio
3
4 %global __requires_exclude ^perl\\((PDF::Reuse.*|Pedigree.*|TeXLive.*|Tk::path_tre|only|pdfTeX|script::MakeSPList)\\)|pear\\(animals.php\\)
5 %global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_docdir}
6
7 # need to bootstrap first
8 # - xindy need clisp in main
9 # - let asymptote be packaged separately, as the generated one is known
10 # to not be fully functional
11 %define enable_asymptote 0
12 %define enable_xindy 0
13
14 # in its own package
15 %define enable_xdvik 1
16 %define enable_dvi2tty 1
17
18 %define with_system_poppler 1
19 %define with_system_dialog 1
20 %define with_system_icu 1
21 %define with_system_lcdf 0
22 %define with_system_psutils 1
23 %define with_system_t1lib 1
24 %define with_system_tex4ht 0
25 %define with_system_teckit 0
26
27 %define enable_shared 1
28
29 %define texmfbindir %{_bindir}
30 %define texmfdir %{_datadir}/texmf
31 %define texmfdistdir %{_datadir}/texmf-dist
32 %define texmflocaldir %{_datadir}/texmf-local
33 %define texmfextradir %{_datadir}/texmf-extra
34 %define texmffontsdir %{_datadir}/texmf-fonts
35 %define texmfprojectdir %{_datadir}/texmf-project
36 %define texmfvardir %{_localstatedir}/lib/texmf
37 %define texmfconfdir %{_sysconfdir}/texmf
38 %define relYear 2017
39
40 #-----------------------------------------------------------------------
41 Name: texlive
42 Version: %{relYear}0524
43 Release: %mkrel 1
44 Summary: The TeX formatting system
45 Group: Publishing
46 License: http://www.tug.org/texlive/LICENSE.TL
47 URL: http://tug.org/texlive/
48 Source0: ftp://tug.org/historic/systems/texlive/%{relYear}/%{name}-%{version}-source.tar.xz
49 Source1: ftp://tug.org/historic/systems/texlive/%{relYear}/%{name}-%{version}-source.tar.xz.sha512
50
51 Provides: tetex = %{version}-%{release}
52 Provides: context = %{version}-%{release}
53 Provides: dvipdfm = %{version}-%{release}
54 Provides: dvips = %{version}-%{release}
55 Provides: mfwin = %{version}-%{release}
56 Provides: usrlocal = %{version}-%{release}
57 %if %{enable_xdvik}
58 Obsoletes: tetex-xdvi <= 3.1
59 Provides: xdvi = %{version}-%{release}
60 Obsoletes: xdvi <= 22.86
61 Obsoletes: xdvik <= 22.84.16
62 Obsoletes: texlive-xdvi <= 2007
63 %rename xdvik
64 %endif
65 Provides: afm = %{version}-%{release}
66 Provides: dvilj = %{version}-%{release}
67 Provides: dvipdfm = %{version}-%{release}
68 Provides: tetex-dvips = %{version}-%{release}
69 Provides: dviutils = %{version}-%{release}
70 Provides: tetex-latex = %{version}-%{release}
71 Provides: latex = %{version}-%{release}
72
73 Obsoletes: kpathsea <= 2007
74 Obsoletes: pdfjam <= 1.21
75 Obsoletes: tetex <= 3.1
76 Obsoletes: tetex-context <= 3.1
77 Obsoletes: tetex-devel <= 3.1
78 Obsoletes: tetex-dvipdfm <= 3.1
79 Obsoletes: tetex-dvips <= 3.1
80 Obsoletes: tetex-dvips <= 3.1
81 Obsoletes: tetex-dvilj <= 3.0
82 Obsoletes: tetex-latex <= 3.1
83 Obsoletes: tetex-mfwin <= 3.1
84 Obsoletes: tetex-usrlocal <= 3.1
85 Obsoletes: texlive-afm <= 2007
86 Obsoletes: texlive-context <= 2007
87 Obsoletes: texlive-dvilj <= 2007
88 Obsoletes: texlive-dvipdfm <= 2007
89 Obsoletes: texlive-dvips <= 2007
90 Obsoletes: texlive-dviutils <= 2007
91 Obsoletes: texlive-latex <= 2007
92 Obsoletes: texlive-mfwin <= 2007
93 Obsoletes: texlive-fonts <= 2007
94 Obsoletes: texlive-mf2pt1 < 2.5.0-4
95 %rename abntex2
96
97 #-----------------------------------------------------------------------
98 %if %{with_system_dialog}
99 Requires: cdialog
100 %endif
101 Requires: ghostscript
102 %if %{enable_asymptote}
103 Requires: gv
104 Requires: tkinter
105 %endif
106 %if %{with_system_lcdf}
107 Requires: lcdf-typetoools
108 %else
109 Provides: lcdf-typetools = %{version}
110 Obsoletes: lcdf-typetools <= 2.59-5
111 %endif
112 %if %{with_system_psutils}
113 Requires: psutils
114 %endif
115 %if %{with_system_teckit}
116 Requires: teckit
117 %endif
118 %if %{with_system_tex4ht}
119 Requires: tex4ht
120 %else
121 Provides: tex4ht = %{version}
122 Obsoletes: tex4ht <= 1:1.0.2008_02_28_2058
123 %endif
124 Conflicts: texlive-texmf < %{version}
125 Requires: texlive-collection-basic = %{version}
126
127 # Fix upgrade for luatex (mga#12303)
128 Requires(posttrans): zlib >= 1.2.8
129 Requires(posttrans): kpathsea >= %{version}
130
131 #-----------------------------------------------------------------------
132 BuildRequires: bison
133 %if %{enable_xindy}
134 BuildRequires: clisp
135 BuildRequires: ffcall-devel
136 %endif
137 %if %{enable_asymptote}
138 BuildRequires: fftw-devel
139 BuildRequires: flex
140 %endif
141 BuildRequires: freetype-devel
142 BuildRequires: pkgconfig(fontconfig)
143 BuildRequires: pkgconfig(gdlib)
144 %if %{enable_asymptote}
145 BuildRequires: libgc-devel
146 BuildRequires: libsigsegv-devel
147 BuildRequires: ghostscript-dvipdf
148 BuildRequires: gsl-devel
149 BuildRequires: GL-devel
150 %endif
151 BuildRequires: pkgconfig(gdlib)
152 %if %{with_system_poppler}
153 BuildRequires: pkgconfig(poppler)
154 %endif
155 BuildRequires: pkgconfig(xaw7)
156 %if !%{with_system_dialog}
157 BuildRequires: ncurses-devel
158 %endif
159 BuildRequires: pkgconfig(libpng)
160 %if %{with_system_t1lib}
161 BuildRequires: t1lib-devel
162 %endif
163 %if %{with_system_teckit}
164 BuildRequires: teckit-devel
165 %endif
166 %if %{with_system_icu}
167 BuildRequires: icu-devel
168 %endif
169 %if %{enable_xindy}
170 BuildRequires: texlive
171 %endif
172 %if %{enable_asymptote}
173 BuildRequires: texinfo
174 %endif
175 BuildRequires: pkgconfig(zziplib)
176 BuildRequires: pkgconfig(cairo)
177 BuildRequires: libpaper-devel
178
179 #-----------------------------------------------------------------------
180 #Patch0: texlive-20130530-mandriva-underlink.patch
181 Patch1: texlive-20160523-mageia-format.patch
182 Patch2: texlive-20160523-mageia-asymptote.patch
183 Patch4: texlive-20160523-texmf-mageia-kpfix.patch
184 Patch6: texlive-bz979176.patch
185 Patch107: 0001-try-to-adapt-to-poppler-0.58.patch
186 #-----------------------------------------------------------------------
187 %description
188 TeX Live is an easy way to get up and running with the TeX document
189 production system. It provides a comprehensive TeX system. It includes
190 all the major TeX-related programs, macro packages, and fonts that are
191 free software, including support for many languages around the world.
192
193 %files
194 %{texmfbindir}/*
195 %dir %{texmfvardir}
196 %dir %{texmfconfdir}
197 %ghost %config(noreplace) %{texmfconfdir}/web2c/updmap.cfg
198
199
200 #-----------------------------------------------------------------------
201 %if %{enable_shared}
202 ########################################################################
203 %define kpathsea_major 6
204 %define kpathsea %{mklibname kpathsea %{kpathsea_major}}
205
206 %package -n %{kpathsea}
207 Summary: Path searching library for TeX-related files
208 Group: System/Libraries
209 Provides: kpathsea = %{version}-%{release}
210
211 %description -n %{kpathsea}
212 Kpathsea implements generic path searching, configuration,
213 and TeX-specific file searching.
214
215 %files -n %{kpathsea}
216 %{_libdir}/libkpathsea.so.%{kpathsea_major}
217 %{_libdir}/libkpathsea.so.%{kpathsea_major}.*
218
219 #-----------------------------------------------------------------------
220 %define kpathsea_devel %{mklibname -d kpathsea}
221
222 %package -n %{kpathsea_devel}
223 Summary: Kpathsea development files
224 Group: Development/C
225 Requires: kpathsea = %{version}-%{release}
226 Provides: kpathsea-devel = %{version}-%{release}
227
228 %description -n %{kpathsea_devel}
229 Kpathsea implements generic path searching, configuration,
230 and TeX-specific file searching.
231 This package includes the kpathsea development files.
232
233 %files -n %{kpathsea_devel}
234 %{_includedir}/kpathsea
235 %{_libdir}/libkpathsea.la
236 %{_libdir}/libkpathsea.so
237 %{_libdir}/pkgconfig/kpathsea.pc
238 %{_includedir}/kpathsea/*.h
239
240 #-----------------------------------------------------------------------
241 %define kpathsea_static_devel %{mklibname -d -s kpathsea}
242
243 %package -n %{kpathsea_static_devel}
244 Summary: Kpathsea development files
245 Group: Development/C
246 Requires: kpathsea-devel = %{version}-%{release}
247 Provides: kpathsea-devel-static = %{version}-%{release}
248
249 %description -n %{kpathsea_static_devel}
250 Kpathsea implements generic path searching, configuration,
251 and TeX-specific file searching.
252 This package includes the static kpathsea library.
253
254 %files -n %{kpathsea_static_devel}
255 %{_libdir}/libkpathsea.a
256
257 #-----------------------------------------------------------------------
258 %define texlua_major 5
259 %define texluajit_major 2
260 %define texlua %{mklibname texlua %{texlua_major}}
261
262 %package -n %{texlua}
263 Summary: Library for TeXlua
264 Group: System/Libraries
265 Provides: texlua = %{version}-%{release}
266
267 %description -n %{texlua}
268 TeXlua library
269
270 %files -n %{texlua}
271 %{_libdir}/libtexlua52.so.%{texlua_major}
272 %{_libdir}/libtexlua52.so.%{texlua_major}.*
273 %{_libdir}/libtexluajit.so.%{texluajit_major}
274 %{_libdir}/libtexluajit.so.%{texluajit_major}.*
275
276 #-----------------------------------------------------------------------
277 %define texlua_devel %{mklibname -d texlua}
278
279 %package -n %{texlua_devel}
280 Summary: Library for TeXlua
281 Group: Development/C
282 Requires: texlua = %{version}-%{release}
283 Provides: texlua-devel = %{version}-%{release}
284
285 %description -n %{texlua_devel}
286 TeXlua library
287 This package includes the TeXlua development files.
288
289 %files -n %{texlua_devel}
290 %{_includedir}/texlua52
291 %{_includedir}/texluajit
292 %{_libdir}/libtexlua52.la
293 %{_libdir}/libtexlua52.so
294 %{_libdir}/pkgconfig/texlua52.pc
295 %{_libdir}/libtexluajit.la
296 %{_libdir}/libtexluajit.so
297 %{_libdir}/pkgconfig/texluajit.pc
298
299 #-----------------------------------------------------------------------
300 %define texlua_static_devel %{mklibname -d -s texlua}
301
302 %package -n %{texlua_static_devel}
303 Summary: Library for TeXlua
304 Group: Development/C
305 Requires: texlua-devel = %{version}-%{release}
306 Provides: texlua-devel-static = %{version}-%{release}
307
308 %description -n %{texlua_static_devel}
309 TeXlua library
310 This package includes the static TeXlua library.
311
312 %files -n %{texlua_static_devel}
313 %{_libdir}/libtexlua52.a
314 %{_libdir}/libtexluajit.a
315
316 #-----------------------------------------------------------------------
317 %define synctex_major 1
318 %define synctex %{mklibname synctex %{synctex_major}}
319
320 %package -n %{synctex}
321 Summary: Library for SyncTeX
322 Group: System/Libraries
323 Provides: synctex = %{version}-%{release}
324
325 %description -n %{synctex}
326 synctex library
327
328 %files -n %{synctex}
329 %{_libdir}/libsynctex.so.%{synctex_major}
330 %{_libdir}/libsynctex.so.%{synctex_major}.*
331
332 #-----------------------------------------------------------------------
333 %define synctex_devel %{mklibname -d synctex}
334
335 %package -n %{synctex_devel}
336 Summary: Library for SyncTeX
337 Group: Development/C
338 Requires: synctex = %{version}-%{release}
339 Provides: synctex-devel = %{version}-%{release}
340
341 %description -n %{synctex_devel}
342 synctex library
343 This package includes the synctex development files.
344
345 %files -n %{synctex_devel}
346 %{_includedir}/synctex
347 %{_libdir}/libsynctex.la
348 %{_libdir}/libsynctex.so
349 %{_libdir}/pkgconfig/synctex.pc
350
351 #-----------------------------------------------------------------------
352 %define synctex_static_devel %{mklibname -d -s synctex}
353
354 %package -n %{synctex_static_devel}
355 Summary: Library for SyncTeX
356 Group: Development/C
357 Requires: synctex-devel = %{version}-%{release}
358 Provides: synctex-devel-static = %{version}-%{release}
359
360 %description -n %{synctex_static_devel}
361 synctex library
362 This package includes the static synctex library.
363
364 %files -n %{synctex_static_devel}
365 %{_libdir}/libsynctex.a
366
367 #-----------------------------------------------------------------------
368 %define ptexenc_major 1
369 %define ptexenc %{mklibname ptexenc %{ptexenc_major}}
370
371 %package -n %{ptexenc}
372 Summary: Library for Japanese pTeX
373 Group: System/Libraries
374 Provides: ptexenc = %{version}-%{release}
375
376 %description -n %{ptexenc}
377 ptexenc is a useful library for Japanese pTeX
378 (which stands for publishing TeX, and is an extension of
379 TeX by ASCII Co.) and its surrounding tools.
380
381 %files -n %{ptexenc}
382 %{_libdir}/libptexenc.so.%{ptexenc_major}
383 %{_libdir}/libptexenc.so.%{ptexenc_major}.*
384
385 #-----------------------------------------------------------------------
386 %define ptexenc_devel %{mklibname -d ptexenc}
387
388 %package -n %{ptexenc_devel}
389 Summary: Library for Japanese pTeX
390 Group: Development/C
391 Requires: ptexenc = %{version}-%{release}
392 Provides: ptexenc-devel = %{version}-%{release}
393
394 %description -n %{ptexenc_devel}
395 ptexenc is a useful library for Japanese pTeX
396 (which stands for publishing TeX, and is an extension of
397 TeX by ASCII Co.) and its surrounding tools.
398 This package includes the ptexenc development files.
399
400 %files -n %{ptexenc_devel}
401 %{_includedir}/ptexenc
402 %{_libdir}/libptexenc.la
403 %{_libdir}/libptexenc.so
404 %{_libdir}/pkgconfig/ptexenc.pc
405
406 #-----------------------------------------------------------------------
407 %define ptexenc_static_devel %{mklibname -d -s ptexenc}
408
409 %package -n %{ptexenc_static_devel}
410 Summary: Library for Japanese pTeX
411 Group: Development/C
412 Requires: ptexenc-devel = %{version}-%{release}
413 Provides: ptexenc-devel-static = %{version}-%{release}
414
415 %description -n %{ptexenc_static_devel}
416 ptexenc is a useful library for Japanese pTeX
417 (which stands for publishing TeX, and is an extension of
418 TeX by ASCII Co.) and its surrounding tools.
419 This package includes the static ptexenc library.
420
421 %files -n %{ptexenc_static_devel}
422 %{_libdir}/libptexenc.a
423
424 ########################################################################
425 # enable_shared
426 %endif
427
428 #-----------------------------------------------------------------------
429 %prep
430 %setup -q -n %{name}-%{version}-source
431
432 #%patch0 -p1
433 %patch1 -p1
434 %if %{enable_asymptote}
435 %patch2 -p1
436 %endif
437 %patch4 -p1
438 %patch6 -p1
439 %patch107 -p2
440
441 # setup default builtin values, added to paths.h from texmf.cnf
442 perl -pi -e 's%^(TEXMFMAIN\s+= ).*%$1%{texmfdistdir}%;' \
443 -e 's%^(TEXMFDIST\s+= ).*%$1%{texmfdistdir}%;' \
444 -e 's%^(TEXMFLOCAL\s+= ).*%$1%{texmflocaldir}%;' \
445 -e 's%^(TEXMFSYSVAR\s+= ).*%$1%{texmfvardir}%;' \
446 -e 's%^(TEXMFSYSCONFIG\s+= ).*%$1%{texmfconfdir}%;' \
447 -e 's%^(TEXMFHOME\s+= ).*%$1\$HOME/texmf%;' \
448 -e 's%^(TEXMFVAR\s+= ).*%$1\$HOME/.texlive%{relYear}/texmf-var%;' \
449 -e 's%^(TEXMFCONFIG\s+= ).*%$1\$HOME/.texlive%{relYear}/texmf-config%;'\
450 -e 's%^(OSFONTDIR\s+= ).*%$1%{_datadir}/fonts%;' \
451 texk/kpathsea/texmf.cnf
452
453 #-----------------------------------------------------------------------
454 %build
455 export CXXFLAGS="%{optflags} -std=c++11"
456
457 [ -d Work ] || mkdir Work
458 pushd Work
459 ln -sf ../configure .
460
461 %configure2_5x \
462 --with-banner-add="/Mageia" \
463 --disable-native-texlive-build \
464 --enable-missing \
465 --disable-linked-scripts \
466 --with-system-libpaper \
467 --with-system-zlib \
468 %if %{enable_shared}
469 --enable-shared \
470 %else
471 --disable-shared \
472 %endif
473 %if %{enable_xindy}
474 --enable-xindy-rules \
475 %else
476 --disable-xindy \
477 %endif
478 %if %{enable_xdvik}
479 --enable-xdvik \
480 %else
481 --disable-xdvik \
482 %endif
483 %if %{enable_dvi2tty}
484 --enable-dvi2tty \
485 %else
486 --disable-dvi2tty \
487 %endif
488 --with-system-freetype \
489 --with-freetype-includes=%{_includedir}/freetype \
490 --with-system-freetype2 \
491 --with-freetype2-includes=%{_includedir}/freetype2 \
492 %if %{with_system_dialog}
493 --disable-dialog \
494 %else
495 --enable-dialog \
496 %endif
497 %if %{with_system_psutils}
498 --disable-psutils \
499 %else
500 --enable-psutils \
501 %endif
502 --with-system-gd \
503 %if %{with_system_lcdf}
504 --disable-lcdf-typetools \
505 %endif
506 --with-system-png \
507 %if %{with_system_t1lib}
508 --with-system-t1lib \
509 --disable-t1utils \
510 %endif
511 %if %{with_system_teckit}
512 --disable-teckit \
513 --with-teckit-includes=%{_includedir}/teckit \
514 %endif
515 %if %{with_system_tex4ht}
516 --disable-tex4htk \
517 %endif
518 %if %{with_system_icu}
519 --with-system-icu \
520 %else
521 --without-system-icu \
522 %endif
523 %if %{with_system_poppler}
524 --with-system-xpdf \
525 --with-system-poppler \
526 %else
527 --without-system-xpdf \
528 %endif
529 --with-system-zziplib \
530 --with-system-cairo \
531 --with-system-pixman
532 %make_build
533
534 popd
535
536 %if %{enable_asymptote}
537 pushd utils/asymptote
538 %configure2_5x \
539 --enable-gc=system \
540 --enable-texlive-build \
541 --datadir=%{texmfdir}
542 %make_build
543 popd
544 %endif
545
546 #-----------------------------------------------------------------------
547 %install
548 pushd Work
549 %make_install
550 popd
551
552 %if %{enable_asymptote}
553 pushd utils/asymptote
554 %make_install
555 popd
556 %endif
557
558 mkdir -p %{buildroot}%{_datadir}
559 for dir in texmf texmf-dist; do
560 if [ -d %{buildroot}%{_prefix}/$dir ]; then
561 rm -fr %{buildroot}%{_datadir}/$dir
562 mv %{buildroot}%{_prefix}/$dir %{buildroot}%{_datadir}
563 fi
564 done
565
566 mkdir -p %{buildroot}%{texmfvardir}
567 mkdir -p %{buildroot}%{texmfconfdir}
568
569 %if %{with_system_lcdf}
570 # stray directory left
571 rm -fr %{buildroot}%{_datadir}/lcdf-typetools-for-tex-live
572 %else
573 # openmpi has a program with the same name
574 if [ -f %{buildroot}%{texmfbindir}/otfinfo ]; then
575 mv -f %{buildroot}%{texmfbindir}/otfinfo{,-texlive}
576 fi
577 %endif
578
579 pushd %{buildroot}%{texmfbindir}
580 # missing symbolic links
581 ln -sf aleph lamed
582 ln -sf luatex dvilualatex
583 ln -sf luatex lualatex
584 ln -sf luatex dviluatex
585 ln -sf pdftex amstex
586 ln -sf pdftex cslatex
587 ln -sf pdftex csplain
588 ln -sf pdftex eplain
589 ln -sf pdftex etex
590 ln -sf pdftex latex
591 ln -sf pdftex mex
592 ln -sf pdftex mltex
593 ln -sf pdftex mllatex
594 ln -sf pdftex pdfcslatex
595 ln -sf pdftex pdfcsplain
596 ln -sf pdftex pdfetex
597 ln -sf pdftex pdflatex
598 ln -sf pdftex pdfmex
599 ln -sf pdftex physe
600 ln -sf pdftex phyzzx
601 ln -sf pdftex utf8mex
602 ln -sf pdftex texsis
603 ln -sf ptex platex
604 ln -sf mpost metafun
605 ln -sf mpost mfplain
606 ln -sf xetex xelatex
607
608 # correct symlinks
609 for file in *; do
610 link=`readlink $file` || :
611 if [ "x$link" != "x" ]; then
612 ln -sf `echo $link | \
613 sed -e 's|\.\./.*texmf-dist/|%{texmfdistdir}/|' \
614 -e 's|\.\./.*texmf/|%{texmfdir}/|'` \
615 $file
616 fi
617 done
618 %if %{with_system_dialog}
619 ln -sf %{_bindir}/dialog tcdialog
620 %endif
621 %if %{enable_asymptote}
622 ln -sf %{texmfdir}/asymptote/GUI/xasy.py xasy
623 %endif
624 # install scripts from texlive-texmf
625 rm -f a2ping afm2afm arlatex authorindex autoinst bibexport \
626 bundledoc cachepic cmap2enc de-macro dviasm ebong e2pall \
627 epspdf epspdftk epstopdf fig4latex findhyph font2afm \
628 fragmaster ht htcontext htlatex htmex httex httexi htxelatex \
629 htxetex latex2man latexdiff latexdiff-vc latexmk latexrevise \
630 listings-ext.sh makeglossaries mathspic mk4ht mkgrkindex \
631 mkjobtexmf mkluatexfontdb mkt1font mptopdf ot2kpx pdf180 \
632 pdf270 pdf90 pdfannotextractor pdfatfi pdfbook pdfcrop \
633 pdfflip pdfjam pdfjam-pocketmod pdfjam-slides3up \
634 pdfjam-slides6up pdfjoin pdfnup pdfpun pdfthumb perltex \
635 pfm2kpx pkfix pkfix-helper ppower4 ps4pdf pst2pdf purifyeps \
636 repstopdf rpdfcrop rungs showglyphs simpdftex splitindex \
637 svn-multi texcount texdiff texdirflatten texdoc texdoctk \
638 texloganalyser thumbpdf tlmgr ulqda updmap vpe vpl2ovp \
639 vpl2vpl
640 popd
641
642 # use texmf data
643 rm -fr %{buildroot}%{texmfdir} %{buildroot}%{texmfdistdir}
644
645 # install manual pages and info files from texlive-texmf tarball
646 rm -fr %{buildroot}%{_mandir} %{buildroot}%{_infodir}
647
648 %if !%{enable_shared}
649 # do not generate dynamic libraries and do not install static ones
650 rm -fr %{buildroot}%{_libdir}
651 rm -fr %{buildroot}%{_includedir}
652 %endif
653
654 #-----------------------------------------------------------------------
655 %posttrans
656 rm -f %{texmfdir}/ls-R %{texmfdistdir}/ls-R %{texmfconfdir}/ls-R
657 %{_bindir}/texhash > /dev/null 2>&1
658 yes|%{_bindir}/updmap-sys --syncwithtrees --force > /dev/null 2>&1
659 yes|%{_bindir}/updmap-sys --syncwithtrees --force > /dev/null 2>&1
660 export TEXMF=/usr/share/texmf-dist
661 export TEXMFCNF=/usr/share/texmf-dist/web2c
662 export TEXMFCACHE=/var/lib/texmf
663 %{_bindir}/fmtutil-sys --all &> /dev/null 2>&1

  ViewVC Help
Powered by ViewVC 1.1.28