]>
Commit | Line | Data |
---|---|---|
edf24343 | 1 | Summary: GohaTibebZemen Ethiopic font |
eaae955e | 2 | Summary(pl.UTF-8): Font etiopski GohaTibebZemen |
edf24343 | 3 | Name: xorg-font-font-misc-ethiopic |
6afc46cb JB |
4 | Version: 1.0.4 |
5 | Release: 1 | |
edf24343 JB |
6 | License: MIT |
7 | Group: Fonts | |
6afc46cb JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/font/font-misc-ethiopic-%{version}.tar.bz2 |
9 | # Source0-md5: 4ee18ab6c1edf636b8e75b73e6037371 | |
10 | URL: https://xorg.freedesktop.org/ | |
edf24343 JB |
11 | BuildRequires: autoconf >= 2.57 |
12 | BuildRequires: automake | |
13 | BuildRequires: fontconfig | |
edf24343 JB |
14 | BuildRequires: xorg-app-mkfontdir |
15 | BuildRequires: xorg-app-mkfontscale | |
daa641e7 | 16 | BuildRequires: xorg-font-font-util >= 1.2 |
be27aeb1 | 17 | BuildRequires: xorg-util-util-macros >= 1.3 |
edf24343 JB |
18 | Requires(post,postun): fontpostinst |
19 | Requires: %{_fontsdir}/OTF | |
20 | Requires: %{_fontsdir}/TTF | |
81d154ca | 21 | Obsoletes: XFree86-fonts-Ethiopic |
cb31da75 | 22 | BuildArch: noarch |
edf24343 JB |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | GohaTibebZemen Ethiopic font in OTF and TTF formats. | |
27 | ||
7429e776 | 28 | %description -l pl.UTF-8 |
edf24343 JB |
29 | Font etiopski GohaTibebZemen w formatach OTF i TTF. |
30 | ||
31 | %prep | |
32 | %setup -q -n font-misc-ethiopic-%{version} | |
33 | ||
edf24343 JB |
34 | %build |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__automake} | |
38 | %configure \ | |
be27aeb1 JB |
39 | --build=%{_host} \ |
40 | --host=%{_host} \ | |
edf24343 JB |
41 | --with-otf-fontdir=%{_fontsdir}/OTF \ |
42 | --with-ttf-fontdir=%{_fontsdir}/TTF | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
6afc46cb JB |
50 | DESTDIR=$RPM_BUILD_ROOT \ |
51 | MKFONTSCALE=/bin/true \ | |
52 | MKFONTDIR=/bin/true | |
edf24343 JB |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %post | |
58 | fontpostinst OTF | |
59 | fontpostinst TTF | |
60 | ||
61 | %postun | |
62 | fontpostinst OTF | |
63 | fontpostinst TTF | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
6afc46cb | 67 | %doc COPYING ChangeLog README.md |
edf24343 JB |
68 | %{_fontsdir}/OTF/GohaTibebZemen.otf |
69 | %{_fontsdir}/TTF/GohaTibebZemen.ttf |