[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[1974] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2009-2: |
---|
| 3 | ## tlpdb2rpmspec collection-langcroatian |
---|
[1533] | 4 | |
---|
| 5 | %bcond_with firstbuild |
---|
| 6 | |
---|
| 7 | %define tex_destdir %{_datadir} |
---|
| 8 | %define texmf %{tex_destdir}/texmf |
---|
| 9 | %define texlive_src %{tex_destdir}/texlive-sources |
---|
| 10 | %define build_tex_destdir %{buildroot}%{tex_destdir} |
---|
| 11 | %define build_texmf %{buildroot}%{texmf} |
---|
| 12 | |
---|
| 13 | %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash |
---|
| 14 | %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash |
---|
| 15 | %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop |
---|
| 16 | %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null 2>&1 |
---|
| 17 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null |
---|
| 18 | %define vartexfonts %{_var}/lib/texmf |
---|
| 19 | |
---|
| 20 | %define __find_provides %{nil} |
---|
| 21 | %define __find_requires %{nil} |
---|
| 22 | %define __perl_provides %{nil} |
---|
| 23 | %define __perl_requires %{nil} |
---|
| 24 | |
---|
| 25 | Autoreq: 0 |
---|
| 26 | |
---|
| 27 | Summary: TeX Live: Croatian |
---|
| 28 | Summary(ja): TeX Live: Croatian |
---|
| 29 | Name: texlive-collection-langcroatian |
---|
| 30 | Version: 2009 |
---|
[1974] | 31 | Release: 2%{?_dist_release} |
---|
[1533] | 32 | License: No Info, LPPL |
---|
| 33 | Group: Applications/Publishing |
---|
| 34 | URL:http://www.tug.org/texlive/ |
---|
| 35 | |
---|
| 36 | Requires: texlive = %{version} |
---|
| 37 | Requires: texlive-collection-basic = %{version} |
---|
| 38 | |
---|
| 39 | Requires(post): texlive = %{version} |
---|
| 40 | Requires(postun): texlive = %{version} |
---|
| 41 | BuildRequires: texlive-sources = %{version} |
---|
| 42 | |
---|
| 43 | BuildArch: noarch |
---|
| 44 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 45 | |
---|
| 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | Packager: munepi |
---|
| 49 | |
---|
| 50 | %description |
---|
| 51 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 52 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 53 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 54 | of TeX documents in many different languages, and a large collection |
---|
| 55 | of TeX macros and font libraries. |
---|
| 56 | |
---|
| 57 | The distribution includes extensive general documentation about TeX, |
---|
| 58 | as well as the documentation for the included software packages. |
---|
| 59 | |
---|
| 60 | This package is a collection of Croatian: |
---|
| 61 | Support for typesetting Croatian. |
---|
| 62 | |
---|
| 63 | This package contains the following CTAN packages: |
---|
| 64 | croatian: Fonts for Croatian Glagolitic and other Croatian scripts. |
---|
| 65 | hrlatex: LaTeX support for Croatian documents. |
---|
| 66 | hyphen-croatian: Croatian hyphenation. |
---|
| 67 | |
---|
| 68 | %description -l ja |
---|
| 69 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 70 | さまざまな Unix, Macintosh, Windows、および |
---|
| 71 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 72 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 73 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 74 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 75 | 同梱しています。 |
---|
| 76 | |
---|
| 77 | このディストリビューションは |
---|
| 78 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 79 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 80 | |
---|
| 81 | このパッケージは以下のようなパッケージ集です。 |
---|
| 82 | Croatian: |
---|
| 83 | Support for typesetting Croatian. |
---|
| 84 | |
---|
| 85 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
| 86 | croatian: Fonts for Croatian Glagolitic and other Croatian scripts. |
---|
| 87 | hrlatex: LaTeX support for Croatian documents. |
---|
| 88 | hyphen-croatian: Croatian hyphenation. |
---|
| 89 | |
---|
| 90 | %package doc |
---|
| 91 | Summary: TeX Live: Documentation files of %{name} |
---|
| 92 | Group: Applications/Publishing |
---|
| 93 | Requires: %{name} = %{version}-%{release} |
---|
| 94 | |
---|
| 95 | %description doc |
---|
| 96 | This package contains documentation files of %{name}. |
---|
| 97 | |
---|
| 98 | %prep |
---|
| 99 | |
---|
| 100 | %build |
---|
| 101 | |
---|
| 102 | %install |
---|
| 103 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 104 | |
---|
| 105 | PREF=%{buildroot}%{tex_destdir} |
---|
| 106 | |
---|
| 107 | manifest=( |
---|
| 108 | texmf-dist/doc/fonts/croatian/crogl.tex |
---|
| 109 | texmf-dist/doc/fonts/croatian/readme.txt |
---|
| 110 | texmf-dist/fonts/source/public/croatian/bass.mf |
---|
| 111 | texmf-dist/fonts/source/public/croatian/bass10.mf |
---|
| 112 | texmf-dist/fonts/source/public/croatian/basscc.mf |
---|
| 113 | texmf-dist/fonts/source/public/croatian/cal.mf |
---|
| 114 | texmf-dist/fonts/source/public/croatian/cal10.mf |
---|
| 115 | texmf-dist/fonts/source/public/croatian/croatian-i.mf |
---|
| 116 | texmf-dist/fonts/source/public/croatian/croblm.mf |
---|
| 117 | texmf-dist/fonts/source/public/croatian/croblv.mf |
---|
| 118 | texmf-dist/fonts/source/public/croatian/crocyrm.mf |
---|
| 119 | texmf-dist/fonts/source/public/croatian/crocyrv.mf |
---|
| 120 | texmf-dist/fonts/source/public/croatian/gg.mf |
---|
| 121 | texmf-dist/fonts/source/public/croatian/gg10.mf |
---|
| 122 | texmf-dist/fonts/source/public/croatian/ggv.mf |
---|
| 123 | texmf-dist/fonts/source/public/croatian/ggv1.mf |
---|
| 124 | texmf-dist/fonts/source/public/croatian/glz.mf |
---|
| 125 | texmf-dist/fonts/source/public/croatian/hcyr.mf |
---|
| 126 | texmf-dist/fonts/source/public/croatian/kraj.mf |
---|
| 127 | texmf-dist/fonts/source/public/croatian/kur.mf |
---|
| 128 | texmf-dist/fonts/source/public/croatian/kurzivm.mf |
---|
| 129 | texmf-dist/fonts/source/public/croatian/kurzivv.mf |
---|
| 130 | texmf-dist/fonts/source/public/croatian/lom.mf |
---|
| 131 | texmf-dist/fonts/source/public/croatian/lomm.mf |
---|
| 132 | texmf-dist/fonts/source/public/croatian/lomv.mf |
---|
| 133 | texmf-dist/fonts/source/public/croatian/obl.mf |
---|
| 134 | texmf-dist/fonts/source/public/croatian/obl10.mf |
---|
| 135 | texmf-dist/fonts/source/public/croatian/oblm.mf |
---|
| 136 | texmf-dist/fonts/source/public/croatian/oblv.mf |
---|
| 137 | texmf-dist/fonts/source/public/croatian/ple.mf |
---|
| 138 | texmf-dist/fonts/source/public/croatian/plet.mf |
---|
| 139 | texmf-dist/fonts/source/public/croatian/pleter.mf |
---|
| 140 | texmf-dist/fonts/source/public/croatian/stechak.mf |
---|
| 141 | texmf-dist/fonts/source/public/croatian/ugl.mf |
---|
| 142 | texmf-dist/fonts/source/public/croatian/ugl10.mf |
---|
| 143 | texmf-dist/fonts/source/public/croatian/ugv.mf |
---|
| 144 | texmf-dist/fonts/source/public/croatian/ugve.mf |
---|
| 145 | texmf-dist/tex/plain/croatian/glhyphen.tex |
---|
| 146 | texmf-dist/tex/plain/croatian/llig.tex |
---|
| 147 | texmf-dist/tex/plain/croatian/ste.tex |
---|
| 148 | texmf-dist/tex/plain/croatian/ttabl.tex |
---|
| 149 | texmf-dist/tex/plain/croatian/ttablb.tex |
---|
| 150 | texmf-dist/tex/plain/croatian/ttablhc.tex |
---|
| 151 | texmf-dist/tex/plain/croatian/ttablo.tex |
---|
| 152 | texmf-dist/tex/plain/croatian/ttabloku.tex |
---|
| 153 | texmf-dist/tex/plain/croatian/ttlis.tex |
---|
| 154 | texmf-dist/doc/latex/hrlatex/README |
---|
| 155 | texmf-dist/doc/latex/hrlatex/hrlatex.pdf |
---|
| 156 | texmf-dist/doc/latex/hrlatex/novi.diplomski-rad.tex |
---|
| 157 | texmf-dist/doc/latex/hrlatex/novi.ispit.tex |
---|
| 158 | texmf-dist/doc/latex/hrlatex/sample.diplomski-rad.tex |
---|
| 159 | texmf-dist/doc/latex/hrlatex/sample.minimal.cp1250.tex |
---|
| 160 | texmf-dist/doc/latex/hrlatex/sample.minimal.latin2.tex |
---|
| 161 | texmf-dist/doc/latex/hrlatex/sample.minimal.utf8.tex |
---|
| 162 | texmf-dist/doc/latex/hrlatex/sample.prezentacija.tex |
---|
| 163 | texmf-dist/source/latex/hrlatex/hrlatex.dtx |
---|
| 164 | texmf-dist/source/latex/hrlatex/hrlatex.ins |
---|
| 165 | texmf-dist/tex/latex/hrlatex/hrlatex.sty |
---|
| 166 | ) |
---|
| 167 | |
---|
| 168 | %__mkdir_p ${PREF}/texmf-dist |
---|
| 169 | for i in "${manifest[@]}"; do |
---|
| 170 | %__install -D %{texlive_src}/$i ${PREF}/$i |
---|
| 171 | done |
---|
| 172 | |
---|
| 173 | ## info |
---|
| 174 | %__rm -f %{buildroot}%{_infodir}/dir |
---|
| 175 | %__gzip -9nf %{buildroot}%{_infodir}/*info* ||: |
---|
| 176 | |
---|
| 177 | ## man |
---|
| 178 | ## man t1* files are provided by t1utils |
---|
| 179 | for i in t1ascii t1asm t1binary t1disasm t1mac t1unmac; do |
---|
| 180 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 181 | done |
---|
| 182 | |
---|
| 183 | ## man some files are provided by psutils |
---|
| 184 | for i in epsffit extractres fixdlsrps fixfmps fixmacps fixpsditps fixpspps fixscribeps fixtpps fixwfwps fixwpps fixwwps getafm includeres psbook psmerge psnup psresize psselect pstops; do |
---|
| 185 | %__rm %{buildroot}%{_mandir}/man*/${i}.* ||: |
---|
| 186 | done |
---|
| 187 | |
---|
[1974] | 188 | ## fix perl path |
---|
| 189 | for i in source/metapost/expressg/expressg.dtx doc/metapost/expressg/n2mpsprl.prl doc/latex/songbook/contrib/crd2sb/crd2sb; do |
---|
| 190 | [ -f %{build_texmf}-dist/${i} ] && %__sed -i -e "s|^#!/usr/local/bin/perl|#!%{__perl}|" %{build_texmf}-dist/${i} |
---|
| 191 | done |
---|
| 192 | |
---|
[1533] | 193 | ## remove asymptote directries, which provides asymptote package |
---|
| 194 | find %{buildroot} -regex ".*asymptote.*" | xargs %__rm -rf |
---|
| 195 | # find %{buildroot} -name "Makefile" | xargs %__rm -f |
---|
| 196 | |
---|
| 197 | # ## remove xindy |
---|
| 198 | # find %{buildroot} -regex ".*xindy.*" | xargs %__rm -rf |
---|
| 199 | |
---|
| 200 | # ## remove tex4ht |
---|
| 201 | # find %{buildroot} -regex ".*tex4ht.*" | xargs %__rm -rf |
---|
| 202 | |
---|
[1974] | 203 | ## remove arch dependent binaries |
---|
| 204 | %__rm -f %{build_texmf}-dist/source/latex/splitindex/splitindex-{OpenBSD,Linux}-i386 |
---|
| 205 | |
---|
[1533] | 206 | ## remove unpackaging files |
---|
| 207 | find %{buildroot} | %__grep -e "\.\(la\|a\)$" | xargs %__rm -f |
---|
| 208 | find %{buildroot} | %__grep -e "\.\(diff\|patch\)$" | xargs %__rm -f |
---|
| 209 | |
---|
| 210 | ## Files list |
---|
| 211 | find %{buildroot} -type f -or -type l | \ |
---|
| 212 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 213 | |
---|
| 214 | find %{buildroot}%{texmf}-dist -type d | \ |
---|
| 215 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 216 | -e "s|$|/|" >> filelist.full |
---|
| 217 | |
---|
| 218 | ## subpackages |
---|
| 219 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 220 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 221 | %__mv -f filelist.tmp filelist.full |
---|
| 222 | |
---|
| 223 | %clean |
---|
| 224 | %__rm -rf %{buildroot} |
---|
| 225 | |
---|
| 226 | %post |
---|
| 227 | %{exec_texhash} |
---|
| 228 | |
---|
| 229 | echo -n " " |
---|
| 230 | echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." |
---|
| 231 | |
---|
| 232 | exit 0 |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | %postun |
---|
| 236 | if [ "$1" = 0 ]; then |
---|
| 237 | %{exec_texhash} |
---|
| 238 | |
---|
| 239 | fi |
---|
| 240 | |
---|
| 241 | exit 0 |
---|
| 242 | |
---|
| 243 | %files -f filelist.full |
---|
| 244 | %defattr(-,root,root) |
---|
| 245 | |
---|
| 246 | %files -f filelist.doc doc |
---|
| 247 | %defattr(-,root,root) |
---|
| 248 | |
---|
| 249 | %changelog |
---|
[1974] | 250 | * Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 251 | - generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-langcroatian |
---|
| 252 | - removed arch dependent binaries (texlive-collection-latexextra) |
---|
| 253 | - fixed perl path |
---|
| 254 | - improved updmap process in %%post and %%postun |
---|
| 255 | |
---|
[1533] | 256 | * Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 257 | - generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-langcroatian |
---|