]> git.pld-linux.org Git - packages/xorg-font-font-misc-ethiopic.git/blob - xorg-font-font-misc-ethiopic.spec
- updated to 1.0.4
[packages/xorg-font-font-misc-ethiopic.git] / xorg-font-font-misc-ethiopic.spec
1 Summary:        GohaTibebZemen Ethiopic font
2 Summary(pl.UTF-8):      Font etiopski GohaTibebZemen
3 Name:           xorg-font-font-misc-ethiopic
4 Version:        1.0.4
5 Release:        1
6 License:        MIT
7 Group:          Fonts
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/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  fontconfig
14 BuildRequires:  xorg-app-mkfontdir
15 BuildRequires:  xorg-app-mkfontscale
16 BuildRequires:  xorg-font-font-util >= 1.2
17 BuildRequires:  xorg-util-util-macros >= 1.3
18 Requires(post,postun):  fontpostinst
19 Requires:       %{_fontsdir}/OTF
20 Requires:       %{_fontsdir}/TTF
21 Obsoletes:      XFree86-fonts-Ethiopic
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 GohaTibebZemen Ethiopic font in OTF and TTF formats.
27
28 %description -l pl.UTF-8
29 Font etiopski GohaTibebZemen w formatach OTF i TTF.
30
31 %prep
32 %setup -q -n font-misc-ethiopic-%{version}
33
34 %build
35 %{__aclocal}
36 %{__autoconf}
37 %{__automake}
38 %configure \
39         --build=%{_host} \
40         --host=%{_host} \
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 \
50         DESTDIR=$RPM_BUILD_ROOT \
51         MKFONTSCALE=/bin/true \
52         MKFONTDIR=/bin/true
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)
67 %doc COPYING ChangeLog README.md
68 %{_fontsdir}/OTF/GohaTibebZemen.otf
69 %{_fontsdir}/TTF/GohaTibebZemen.ttf
This page took 0.061748 seconds and 3 git commands to generate.