]> git.pld-linux.org Git - packages/xorg-font-font-bitstream-type1.git/blame - xorg-font-font-bitstream-type1.spec
- updated to 1.0.4
[packages/xorg-font-font-bitstream-type1.git] / xorg-font-font-bitstream-type1.spec
CommitLineData
840d71f9
JB
1Summary: Bitstream Type1 fonts
2Summary(pl.UTF-8): Fonty Type1 Bitstream
6f903fb1 3Name: xorg-font-font-bitstream-type1
d24286e1
JB
4Version: 1.0.4
5Release: 1
6f903fb1 6License: MIT
328b0758 7Group: Fonts
d24286e1
JB
8Source0: https://xorg.freedesktop.org/releases/individual/font/font-bitstream-type1-%{version}.tar.xz
9# Source0-md5: 3974a3e7f15ed7de19e45b4139d1468c
10URL: https://xorg.freedesktop.org/
11BuildRequires: autoconf >= 2.60
6f903fb1 12BuildRequires: automake
bd31ffd3 13BuildRequires: fontconfig
d24286e1
JB
14BuildRequires: pkgconfig >= 1:0.9.0
15BuildRequires: tar >= 1:1.22
6f903fb1
AM
16BuildRequires: xorg-app-mkfontdir
17BuildRequires: xorg-app-mkfontscale
a8612b41 18BuildRequires: xorg-font-font-util >= 1.2
d24286e1
JB
19BuildRequires: xorg-util-util-macros >= 1.20
20BuildRequires: xz
bd31ffd3
JB
21Requires(post,postun): fontpostinst
22Requires: %{_fontsdir}/Type1
e5dfc408 23BuildArch: noarch
328b0758 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6f903fb1
AM
25
26%description
840d71f9 27Bitstream Charter and Courier fonts in Type1 format.
6f903fb1 28
dd48482c 29%description -l pl.UTF-8
840d71f9 30Fonty Bitstream Charter i Courier w formacie Type1.
6f903fb1
AM
31
32%prep
33%setup -q -n font-bitstream-type1-%{version}
34
6f903fb1
AM
35%build
36%{__aclocal}
37%{__autoconf}
38%{__automake}
bd31ffd3 39%configure \
d24286e1 40%if "%{_gnu}" != "-gnux32"
428fda86
JB
41 --build=%{_host} \
42 --host=%{_host} \
d24286e1 43%endif
bd31ffd3 44 --with-fontdir=%{_fontsdir}/Type1
6f903fb1
AM
45
46%{__make}
47
6f903fb1
AM
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
bd31ffd3
JB
54# separate *.afm
55cd $RPM_BUILD_ROOT%{_fontsdir}/Type1
56install -d afm
d24286e1 57%{__mv} *.afm afm
bd31ffd3 58sed -e '1d' fonts.scale > fonts.scale.bitstream
d24286e1 59%{__rm} fonts.scale fonts.dir
bd31ffd3 60
840d71f9
JB
61cat > Fontmap.bitstream <<EOF
62/Courier10PitchBT-Roman (c0419bt_.pfb) ;
63/Courier10PitchBT-Italic (c0582bt_.pfb) ;
64/Courier10PitchBT-Bold (c0583bt_.pfb) ;
65/Courier10PitchBT-BoldItalic (c0611bt_.pfb) ;
66/CharterBT-Bold (c0632bt_.pfb) ;
67/CharterBT-BoldItalic (c0633bt_.pfb) ;
68/CharterBT-Roman (c0648bt_.pfb) ;
69/CharterBT-Italic (c0649bt_.pfb) ;
70EOF
71
6f903fb1
AM
72%clean
73rm -rf $RPM_BUILD_ROOT
74
bd31ffd3
JB
75%post
76fontpostinst Type1
77
78%postun
79fontpostinst Type1
80
6f903fb1
AM
81%files
82%defattr(644,root,root,755)
d24286e1 83%doc COPYING ChangeLog README.md
ef523c14
JB
84%{_fontsdir}/Type1/c0*.pfb
85%{_fontsdir}/Type1/afm/c0*.afm
bd31ffd3 86%{_fontsdir}/Type1/fonts.scale.bitstream
840d71f9 87%{_fontsdir}/Type1/Fontmap.bitstream
This page took 0.101786 seconds and 4 git commands to generate.