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