]> git.pld-linux.org Git - packages/fonts-TTF-microsoft-tahoma.git/blame - fonts-TTF-microsoft-tahoma.spec
- new bcond type
[packages/fonts-TTF-microsoft-tahoma.git] / fonts-TTF-microsoft-tahoma.spec
CommitLineData
430dc27d
JB
1#
2# Conditional build:
74b4a564 3%bcond_with license_agreement
430dc27d
JB
4# _with_license_agreement - generates package (may require Windows license?)
5#
6Summary: Microsoft Tahoma True Type font
7Summary(pl): Font True Type Tahoma firmy Microsoft
8Name: fonts-TTF-microsoft-tahoma
9Version: 20020525
10Release: 1
11# part of IE update - may require Windows license to use
12License: ?
13Group: Fonts
14# also at http://dl.sourceforge.net/corefonts/
15Source0: http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
16# NoSource0-md5: 358584cddb75ac90472c25f01b308ebe
74b4a564 17%if ! %{with license_agreement}
430dc27d
JB
18NoSource: 0
19%endif
20BuildRequires: cabextract
21Requires(post,postun): fontpostinst
22Requires: %{_fontsdir}/TTF
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%define ttffontsdir %{_fontsdir}/TTF
27
28%description
29Microsoft Tahoma True Type font.
30
31%description -l pl
52dcd6e2 32Font True Type Tahoma firmy Microsoft.
430dc27d
JB
33
34%prep
35%setup -q -c -T
74b4a564 36%if ! %{with license_agreement}
430dc27d
JB
37exit 1
38%endif
39/usr/bin/cabextract -L %{SOURCE0}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{ttffontsdir}
44install *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post
50fontpostinst TTF
51
52%postun
53fontpostinst TTF
54
55%files
56%defattr(644,root,root,755)
57%{ttffontsdir}/*
This page took 0.038746 seconds and 4 git commands to generate.