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