[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7855] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3: |
---|
[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 |
---|
[7855] | 13 | Release: 3%{?_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=( |
---|
[7855] | 180 | scripts/texlive/tlmgr.pl |
---|
[7770] | 181 | texconfig/tcfmgr |
---|
| 182 | texconfig/tcfmgr.map |
---|
| 183 | web2c/fmtutil.cnf |
---|
| 184 | web2c/mktex.opt |
---|
| 185 | web2c/mktexdir |
---|
| 186 | web2c/mktexdir.opt |
---|
| 187 | web2c/mktexnam |
---|
| 188 | web2c/mktexnam.opt |
---|
| 189 | web2c/mktexupd |
---|
| 190 | web2c/texmf.cnf |
---|
| 191 | web2c/updmap.cfg |
---|
| 192 | web2c/updmap-hdr.cfg |
---|
| 193 | doc/chktex/ChkTeX.pdf |
---|
| 194 | install-tl |
---|
| 195 | ) |
---|
| 196 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 197 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 198 | %__rm -f ${x[@]} ||: |
---|
[5207] | 199 | popd |
---|
[7770] | 200 | fi |
---|
| 201 | |
---|
[1533] | 202 | ## Files list |
---|
| 203 | find %{buildroot} -type f -or -type l | \ |
---|
| 204 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 205 | |
---|
[7770] | 206 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 207 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 208 | -e "s|$|/|" >> filelist.full |
---|
| 209 | |
---|
| 210 | ## subpackages |
---|
| 211 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 212 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 213 | %__mv -f filelist.tmp filelist.full |
---|
| 214 | |
---|
| 215 | %clean |
---|
| 216 | %__rm -rf %{buildroot} |
---|
| 217 | |
---|
| 218 | %post |
---|
[7770] | 219 | %_tl_touch_run texhash |
---|
| 220 | %_tl_touch_run mtxrun |
---|
[1533] | 221 | |
---|
[7770] | 222 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 223 | |
---|
[7770] | 224 | %_tl_enable_map Map cs-charter.map |
---|
| 225 | %_tl_enable_map Map csfonts.map |
---|
[2505] | 226 | |
---|
[7770] | 227 | %_tl_touch_run fmtutil |
---|
[2505] | 228 | |
---|
[1533] | 229 | exit 0 |
---|
| 230 | |
---|
| 231 | |
---|
| 232 | %postun |
---|
| 233 | if [ "$1" = 0 ]; then |
---|
[7770] | 234 | %_tl_touch_run texhash |
---|
[1533] | 235 | |
---|
[7770] | 236 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 237 | |
---|
[7770] | 238 | %_tl_disable_map cs-charter.map |
---|
| 239 | %_tl_disable_map csfonts.map |
---|
[1533] | 240 | |
---|
| 241 | fi |
---|
| 242 | |
---|
| 243 | exit 0 |
---|
| 244 | |
---|
[7148] | 245 | %posttrans |
---|
[7770] | 246 | %{_tl_exec_texhash} |
---|
| 247 | %{_tl_exec_mtxrun} |
---|
| 248 | %{_tl_exec_updmap} |
---|
| 249 | %{_tl_exec_fmtutil} |
---|
[7148] | 250 | exit 0 |
---|
| 251 | |
---|
| 252 | |
---|
[1533] | 253 | %files -f filelist.full |
---|
[5207] | 254 | %defattr(-,root,root,-) |
---|
[1533] | 255 | |
---|
| 256 | %files -f filelist.doc doc |
---|
[5207] | 257 | %defattr(-,root,root,-) |
---|
[1533] | 258 | |
---|
| 259 | %changelog |
---|
[7855] | 260 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 261 | - TLNET 20131002 |
---|
| 262 | |
---|
[7810] | 263 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 264 | - TLNET 20130919 |
---|
| 265 | |
---|
[7770] | 266 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 267 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langczechslovak |
---|
| 268 | - TLNET 20130823 |
---|