[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[8049] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5: |
---|
[1974] | 3 | ## tlpdb2rpmspec collection-langczechslovak |
---|
[1533] | 4 | |
---|
[5207] | 5 | %global _use_internal_dependency_generator 0 |
---|
| 6 | %global __find_provides %{nil} |
---|
| 7 | %global __find_requires %{nil} |
---|
| 8 | |
---|
[1533] | 9 | Summary: TeX Live: Czech/Slovak |
---|
| 10 | Summary(ja): TeX Live: Czech/Slovak |
---|
| 11 | Name: texlive-collection-langczechslovak |
---|
[7770] | 12 | Version: 2013 |
---|
[8049] | 13 | Release: 5%{?_dist_release} |
---|
[7770] | 14 | License: GPL+, LPPL, Freely redistributable without restriction |
---|
[1533] | 15 | Group: Applications/Publishing |
---|
| 16 | URL:http://www.tug.org/texlive/ |
---|
| 17 | |
---|
[7770] | 18 | Source0: babel-czech.doc.tar.xz |
---|
| 19 | Source1: babel-czech.source.tar.xz |
---|
| 20 | Source2: babel-czech.tar.xz |
---|
| 21 | Source3: babel-slovak.doc.tar.xz |
---|
| 22 | Source4: babel-slovak.source.tar.xz |
---|
| 23 | Source5: babel-slovak.tar.xz |
---|
| 24 | Source6: cs.tar.xz |
---|
| 25 | Source7: csbulletin.doc.tar.xz |
---|
| 26 | Source8: csbulletin.tar.xz |
---|
| 27 | Source9: cslatex.source.tar.xz |
---|
| 28 | Source10: cslatex.tar.xz |
---|
| 29 | Source11: csplain.tar.xz |
---|
| 30 | Source12: cstex.doc.tar.xz |
---|
| 31 | Source13: cstex.tar.xz |
---|
| 32 | Source14: hyphen-czech.tar.xz |
---|
| 33 | Source15: hyphen-slovak.tar.xz |
---|
| 34 | Source16: vlna.doc.tar.xz |
---|
| 35 | Source17: vlna.tar.xz |
---|
| 36 | Source18: lshort-czech.doc.tar.xz |
---|
| 37 | Source19: lshort-czech.tar.xz |
---|
| 38 | Source20: lshort-slovak.doc.tar.xz |
---|
| 39 | Source21: lshort-slovak.tar.xz |
---|
| 40 | Source22: texlive-cz.doc.tar.xz |
---|
| 41 | Source23: texlive-cz.tar.xz |
---|
| 42 | |
---|
[1533] | 43 | Requires: texlive = %{version} |
---|
| 44 | Requires: texlive-collection-basic = %{version} |
---|
| 45 | Requires: texlive-collection-latex = %{version} |
---|
| 46 | |
---|
| 47 | Requires(post): texlive = %{version} |
---|
| 48 | Requires(postun): texlive = %{version} |
---|
| 49 | |
---|
| 50 | BuildArch: noarch |
---|
| 51 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 52 | |
---|
| 53 | Vendor: Project Vine |
---|
| 54 | Distribution: Vine Linux |
---|
| 55 | Packager: munepi |
---|
| 56 | |
---|
| 57 | %description |
---|
| 58 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 59 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 60 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 61 | of TeX documents in many different languages, and a large collection |
---|
| 62 | of TeX macros and font libraries. |
---|
| 63 | |
---|
| 64 | The distribution includes extensive general documentation about TeX, |
---|
| 65 | as well as the documentation for the included software packages. |
---|
| 66 | |
---|
| 67 | This package is a collection of Czech/Slovak: |
---|
[7770] | 68 | Support for Czech/Slovak. |
---|
[1533] | 69 | |
---|
| 70 | This package contains the following CTAN packages: |
---|
[7770] | 71 | babel-czech: |
---|
| 72 | babel-slovak: |
---|
| 73 | cs: Czech/Slovak-tuned Computer Modern fonts. |
---|
[1533] | 74 | csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj). |
---|
| 75 | cslatex: LaTeX support for Czech/Slovak typesetting. |
---|
| 76 | csplain: Plain TeX support for Czech/Slovak typesetting. |
---|
[7770] | 77 | cstex: Support for Czech/Slovak languages. |
---|
[5207] | 78 | hyphen-czech: Czech hyphenation patterns. |
---|
| 79 | hyphen-slovak: Slovak hyphenation patterns. |
---|
[7770] | 80 | vlna: |
---|
| 81 | lshort-czech: Czech translation of the "Short Introduction to LaTeX2e". |
---|
| 82 | lshort-slovak: Slovak introduction to LaTeX. |
---|
| 83 | texlive-cz: TeX Live manual (Czech/Slovak) |
---|
[1533] | 84 | |
---|
| 85 | %description -l ja |
---|
| 86 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 87 | さまざまな Unix, Macintosh, Windows、および |
---|
| 88 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 89 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 90 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 91 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 92 | 同梱しています。 |
---|
| 93 | |
---|
| 94 | このディストリビューションは |
---|
| 95 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 96 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 97 | |
---|
| 98 | このパッケージは以下のようなパッケージ集です。 |
---|
| 99 | Czech/Slovak: |
---|
[7770] | 100 | Support for Czech/Slovak. |
---|
[1533] | 101 | |
---|
| 102 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[7770] | 103 | babel-czech: |
---|
| 104 | babel-slovak: |
---|
| 105 | cs: Czech/Slovak-tuned Computer Modern fonts. |
---|
[1533] | 106 | csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj). |
---|
| 107 | cslatex: LaTeX support for Czech/Slovak typesetting. |
---|
| 108 | csplain: Plain TeX support for Czech/Slovak typesetting. |
---|
[7770] | 109 | cstex: Support for Czech/Slovak languages. |
---|
[5207] | 110 | hyphen-czech: Czech hyphenation patterns. |
---|
| 111 | hyphen-slovak: Slovak hyphenation patterns. |
---|
[7770] | 112 | vlna: |
---|
| 113 | lshort-czech: Czech translation of the "Short Introduction to LaTeX2e". |
---|
| 114 | lshort-slovak: Slovak introduction to LaTeX. |
---|
| 115 | texlive-cz: TeX Live manual (Czech/Slovak) |
---|
[1533] | 116 | |
---|
| 117 | %package doc |
---|
| 118 | Summary: TeX Live: Documentation files of %{name} |
---|
| 119 | Group: Applications/Publishing |
---|
| 120 | Requires: %{name} = %{version}-%{release} |
---|
| 121 | |
---|
| 122 | %description doc |
---|
| 123 | This package contains documentation files of %{name}. |
---|
| 124 | |
---|
| 125 | %prep |
---|
[7770] | 126 | %setup -c -n %{name}-%{version} |
---|
| 127 | %__tar -xvf %{SOURCE1} |
---|
| 128 | %__tar -xvf %{SOURCE2} |
---|
| 129 | %__tar -xvf %{SOURCE3} |
---|
| 130 | %__tar -xvf %{SOURCE4} |
---|
| 131 | %__tar -xvf %{SOURCE5} |
---|
| 132 | %__tar -xvf %{SOURCE6} |
---|
| 133 | %__tar -xvf %{SOURCE7} |
---|
| 134 | %__tar -xvf %{SOURCE8} |
---|
| 135 | %__tar -xvf %{SOURCE9} |
---|
| 136 | %__tar -xvf %{SOURCE10} |
---|
| 137 | %__tar -xvf %{SOURCE11} |
---|
| 138 | %__tar -xvf %{SOURCE12} |
---|
| 139 | %__tar -xvf %{SOURCE13} |
---|
| 140 | %__tar -xvf %{SOURCE14} |
---|
| 141 | %__tar -xvf %{SOURCE15} |
---|
| 142 | %__tar -xvf %{SOURCE16} |
---|
| 143 | %__tar -xvf %{SOURCE17} |
---|
| 144 | %__tar -xvf %{SOURCE18} |
---|
| 145 | %__tar -xvf %{SOURCE19} |
---|
| 146 | %__tar -xvf %{SOURCE20} |
---|
| 147 | %__tar -xvf %{SOURCE21} |
---|
| 148 | %__tar -xvf %{SOURCE22} |
---|
| 149 | %__tar -xvf %{SOURCE23} |
---|
[1533] | 150 | |
---|
| 151 | %build |
---|
| 152 | |
---|
| 153 | %install |
---|
| 154 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 155 | |
---|
[7770] | 156 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 157 | |
---|
[7770] | 158 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 159 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 160 | |
---|
[7770] | 161 | ## move texmf to /usr/share/texmf |
---|
| 162 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 163 | |
---|
[7770] | 164 | ## move tlpkg to /usr/share/tlpkg |
---|
| 165 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 166 | |
---|
| 167 | ## move all non-arch binaries to /usr/bin |
---|
| 168 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 169 | |
---|
| 170 | ## move others into /usr/share/texmf-dist |
---|
| 171 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 172 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 173 | %__rm -rf * ||: |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | ## remove duplicated files between texlive and texlive-collection-* |
---|
| 177 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
| 178 | ## remove unpacked files |
---|
| 179 | x=( |
---|
[7951] | 180 | scripts/fontools/autoinst |
---|
[7855] | 181 | scripts/texlive/tlmgr.pl |
---|
[7951] | 182 | scripts/texlive/updmap.pl |
---|
[7770] | 183 | texconfig/tcfmgr |
---|
| 184 | texconfig/tcfmgr.map |
---|
| 185 | web2c/fmtutil.cnf |
---|
| 186 | web2c/mktex.opt |
---|
| 187 | web2c/mktexdir |
---|
| 188 | web2c/mktexdir.opt |
---|
| 189 | web2c/mktexnam |
---|
| 190 | web2c/mktexnam.opt |
---|
| 191 | web2c/mktexupd |
---|
| 192 | web2c/texmf.cnf |
---|
| 193 | web2c/updmap.cfg |
---|
| 194 | web2c/updmap-hdr.cfg |
---|
| 195 | doc/chktex/ChkTeX.pdf |
---|
| 196 | install-tl |
---|
| 197 | ) |
---|
| 198 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 199 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 200 | %__rm -f ${x[@]} ||: |
---|
[5207] | 201 | popd |
---|
[7770] | 202 | fi |
---|
| 203 | |
---|
[1533] | 204 | ## Files list |
---|
| 205 | find %{buildroot} -type f -or -type l | \ |
---|
| 206 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 207 | |
---|
[7770] | 208 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 209 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 210 | -e "s|$|/|" >> filelist.full |
---|
| 211 | |
---|
| 212 | ## subpackages |
---|
| 213 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 214 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 215 | %__mv -f filelist.tmp filelist.full |
---|
| 216 | |
---|
| 217 | %clean |
---|
| 218 | %__rm -rf %{buildroot} |
---|
| 219 | |
---|
| 220 | %post |
---|
[7770] | 221 | %_tl_touch_run texhash |
---|
| 222 | %_tl_touch_run mtxrun |
---|
[1533] | 223 | |
---|
[7770] | 224 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 225 | |
---|
[7770] | 226 | %_tl_enable_map Map cs-charter.map |
---|
| 227 | %_tl_enable_map Map csfonts.map |
---|
[2505] | 228 | |
---|
[7770] | 229 | %_tl_touch_run fmtutil |
---|
[2505] | 230 | |
---|
[1533] | 231 | exit 0 |
---|
| 232 | |
---|
| 233 | |
---|
| 234 | %postun |
---|
| 235 | if [ "$1" = 0 ]; then |
---|
[7770] | 236 | %_tl_touch_run texhash |
---|
[1533] | 237 | |
---|
[7770] | 238 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 239 | |
---|
[7770] | 240 | %_tl_disable_map cs-charter.map |
---|
| 241 | %_tl_disable_map csfonts.map |
---|
[1533] | 242 | |
---|
| 243 | fi |
---|
| 244 | |
---|
| 245 | exit 0 |
---|
| 246 | |
---|
[7148] | 247 | %posttrans |
---|
[7770] | 248 | %{_tl_exec_texhash} |
---|
| 249 | %{_tl_exec_mtxrun} |
---|
| 250 | %{_tl_exec_updmap} |
---|
| 251 | %{_tl_exec_fmtutil} |
---|
[7148] | 252 | exit 0 |
---|
| 253 | |
---|
| 254 | |
---|
[1533] | 255 | %files -f filelist.full |
---|
[5207] | 256 | %defattr(-,root,root,-) |
---|
[1533] | 257 | |
---|
| 258 | %files -f filelist.doc doc |
---|
[5207] | 259 | %defattr(-,root,root,-) |
---|
[1533] | 260 | |
---|
| 261 | %changelog |
---|
[8049] | 262 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
| 263 | - TLNET 20131218 |
---|
| 264 | |
---|
[7951] | 265 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 266 | - TLNET 20131101 |
---|
| 267 | |
---|
[7855] | 268 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 269 | - TLNET 20131002 |
---|
| 270 | |
---|
[7810] | 271 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 272 | - TLNET 20130919 |
---|
| 273 | |
---|
[7770] | 274 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 275 | - TLNET 20130823 |
---|