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