]> git.pld-linux.org Git - packages/fonts-TTF-microsoft-tahoma.git/blame - fonts-TTF-microsoft-tahoma.spec
- run script in %post
[packages/fonts-TTF-microsoft-tahoma.git] / fonts-TTF-microsoft-tahoma.spec
CommitLineData
430dc27d
JB
1#
2# Conditional build:
ae605f45 3%bcond_with license_agreement # generates package (may require Windows license?)
430dc27d
JB
4#
5Summary: Microsoft Tahoma True Type font
6Summary(pl): Font True Type Tahoma firmy Microsoft
d9e263e2 7%define base_name fonts-TTF-microsoft-tahoma
8%if %{with license_agreement}
9Name: %{base_name}
10%else
11Name: %{base_name}-installer
12%endif
430dc27d 13Version: 20020525
5cb78f9a 14Release: 2%{?with_license_agreement:wla}
430dc27d
JB
15# part of IE update - may require Windows license to use
16License: ?
17Group: Fonts
d9e263e2 18%if %{with license_agreement}
430dc27d
JB
19# also at http://dl.sourceforge.net/corefonts/
20Source0: http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
21# NoSource0-md5: 358584cddb75ac90472c25f01b308ebe
430dc27d 22BuildRequires: cabextract
430dc27d 23Requires: %{_fontsdir}/TTF
d9e263e2 24Requires(post,postun): fontpostinst
25%else
5cb78f9a 26Source0: license-installer.sh
635688be 27Requires: cabextract
d9e263e2 28Requires: rpm-build-tools
29Requires: wget
30%endif
430dc27d
JB
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%define ttffontsdir %{_fontsdir}/TTF
35
36%description
37Microsoft Tahoma True Type font.
5cb78f9a 38%if %{without license_agreement}
d9e263e2 39License issues made us not to include inherent files into this package
40by default (it probably requires Windows license). If you want to
41create full working package please build it with one of the following
42command:
43
44%{base_name}.install --with license_agreement %{_datadir}/%{base_name}/%{base_name}.spec
d9e263e2 45%endif
430dc27d
JB
46
47%description -l pl
52dcd6e2 48Font True Type Tahoma firmy Microsoft.
5cb78f9a 49%if %{without license_agreement}
d9e263e2 50