3 %bcond_with license_agreement
4 # _with_license_agreement - generates package (may require Windows license?)
6 Summary: Microsoft Tahoma True Type font
7 Summary(pl): Font True Type Tahoma firmy Microsoft
8 Name: fonts-TTF-microsoft-tahoma
11 # part of IE update - may require Windows license to use
14 # also at http://dl.sourceforge.net/corefonts/
15 Source0: http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
16 # NoSource0-md5: 358584cddb75ac90472c25f01b308ebe
17 %if ! %{with license_agreement}
20 BuildRequires: cabextract
21 Requires(post,postun): fontpostinst
22 Requires: %{_fontsdir}/TTF
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define ttffontsdir %{_fontsdir}/TTF
29 Microsoft Tahoma True Type font.
32 Font True Type Tahoma firmy Microsoft.
36 %if ! %{with license_agreement}
39 /usr/bin/cabextract -L %{SOURCE0}
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{ttffontsdir}
44 install *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
47 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)