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