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