]> git.pld-linux.org Git - packages/xorg-font-font-bh-ttf.git/blob - xorg-font-font-bh-ttf.spec
- updated to 1.0.4
[packages/xorg-font-font-bh-ttf.git] / xorg-font-font-bh-ttf.spec
1 Summary:        Bigelow & Holmes Luxi font in TrueType format
2 Summary(pl.UTF-8):      Font Bigelow & Holmes Luxi w formacie TrueType
3 Name:           xorg-font-font-bh-ttf
4 Version:        1.0.4
5 Release:        1
6 License:        distributable if unmodified
7 Group:          Fonts
8 Source0:        https://xorg.freedesktop.org/releases/individual/font/font-bh-ttf-%{version}.tar.xz
9 # Source0-md5:  063bfa1456c8a68208bf96a33f472bb1
10 Patch0:         fontconfig-2.10.patch
11 URL:            https://xorg.freedesktop.org/
12 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake
14 BuildRequires:  fontconfig
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xorg-app-mkfontdir
17 BuildRequires:  xorg-app-mkfontscale
18 BuildRequires:  xorg-font-font-util >= 1.2
19 BuildRequires:  xorg-util-util-macros >= 1.20
20 BuildRequires:  xz
21 Requires(post,postun):  fontpostinst
22 Requires:       %{_fontsdir}/TTF
23 Requires:       fontconfig >= 1:2.10.1
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Bigelow & Holmes Luxi font in TrueType format.
29
30 %description -l pl.UTF-8
31 Font Bigelow & Holmes Luxi w formacie TrueType.
32
33 %prep
34 %setup -q -n font-bh-ttf-%{version}
35 %patch0 -p1
36
37 %build
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure \
42 %if "%{_gnu}" != "-gnux32"
43         --build=%{_host} \
44         --host=%{_host} \
45 %endif
46         --with-fontdir=%{_fontsdir}/TTF
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post
60 fontpostinst TTF
61
62 %postun
63 fontpostinst TTF
64
65 %files
66 %defattr(644,root,root,755)
67 %doc COPYING ChangeLog README.md
68 %{_fontsdir}/TTF/luxi*.ttf
69 %{_datadir}/fontconfig/conf.avail/42-luxi-mono.conf
70 %config(noreplace,missingok) %verify(not link md5 mtime size) /etc/fonts/conf.d/42-luxi-mono.conf
This page took 0.0804 seconds and 3 git commands to generate.