]> git.pld-linux.org Git - SPECS.git/blob - tetex-fonts-type1-yandy.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / tetex-fonts-type1-yandy.spec
1 # TODO:
2 # - review license...
3 # - use .pfb only (not .pfa) if possible
4 Summary:        TeX EC fonts, PostScript Type1 format
5 Summary(pl.UTF-8):      Fonty TeX EC w formacie PostScript Type1
6 %define         short_name      yandy
7 Name:           tetex-fonts-type1-%{short_name}
8 Version:        1
9 Release:        1
10 License:        non distributable
11 Group:          Fonts
12 Source0:        yandy-fonts.tar.bz2
13 NoSource:       0
14 Requires:       tetex
15 Requires:       tetex-dirs-fonts
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
20
21 %description
22 These are Type1 renderings of the EC variants of the standard CMR
23 family.
24
25 %description -l pl.UTF-8
26 Ten pakiet zawiera obrazy Type1 wariantów EC ze standardowej rodziny
27 CMR.
28
29 %prep
30 %setup -q -n %{short_name}-fonts
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/fonts/type1/%{short_name}
35
36 install *.pfa *.pfb $RPM_BUILD_ROOT%{_datadir}/texmf/fonts/type1/%{short_name}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %post
42 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
43
44 %postun
45 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
46
47 %files
48 %defattr(644,root,root,755)
49 %doc *.txt
50 %dir %{_datadir}/texmf/fonts/type1/%{short_name}
51 %{_datadir}/texmf/fonts/type1/%{short_name}/*.pfa
52 %{_datadir}/texmf/fonts/type1/%{short_name}/*.pfb
This page took 0.078007 seconds and 3 git commands to generate.