]> git.pld-linux.org Git - packages/fonts-TTF-microsoft.git/blame - fonts-TTF-microsoft.spec
- use w32codec instalation mechanism
[packages/fonts-TTF-microsoft.git] / fonts-TTF-microsoft.spec
CommitLineData
ad7883a7 1#
2# Conditional build:
e9cdd5ee 3%bcond_with license_agreement # generates package
ad7883a7 4#
c9e67209
TP
5Summary: Microsoft True Type fonts
6Summary(pl): Fonty True Type firmy Microsoft
7152a5cf 7%define base_name fonts-TTF-microsoft
8%if %{with license_agreement}
9Name: %{base_name}
10%else
11Name: %{base_name}-installer
12%endif
5e6fde32 13Version: 20020525
7152a5cf 14Release: 4%{?with_license_agreement:wla}
ad7883a7 15License: Microsoft EULA (for non-commercial use)
0dd2af23 16Group: Fonts
7152a5cf 17%if %{with license_agreement}
46c3747c 18Source0: http://dl.sourceforge.net/corefonts/andale32.exe
4ef462eb 19# NoSource0-md5: cbdc2fdd7d2ed0832795e86a8b9ee19a
46c3747c 20Source1: http://dl.sourceforge.net/corefonts/arial32.exe
4ef462eb 21# NoSource1-md5: 9637df0e91703179f0723ec095a36cb5
46c3747c 22Source2: http://dl.sourceforge.net/corefonts/arialb32.exe
4ef462eb 23# NoSource2-md5: c9089ae0c3b3d0d8c4b0a95979bb9ff0
46c3747c 24Source3: http://dl.sourceforge.net/corefonts/comic32.exe
4ef462eb 25# NoSource3-md5: 2b30de40bb5e803a0452c7715fc835d1
46c3747c 26Source4: http://dl.sourceforge.net/corefonts/courie32.exe
4ef462eb 27# NoSource4-md5: 4e412c772294403ab62fb2d247d85c60
46c3747c 28Source5: http://dl.sourceforge.net/corefonts/georgi32.exe
4ef462eb 29# NoSource5-md5: 4d90016026e2da447593b41a8d8fa8bd
46c3747c 30Source6: http://dl.sourceforge.net/corefonts/impact32.exe
4ef462eb 31# NoSource6-md5: 7907c7dd6684e9bade91cff82683d9d7
46c3747c 32Source7: http://dl.sourceforge.net/corefonts/times32.exe
4ef462eb 33# NoSource7-md5: ed39c8ef91b9fb80f76f702568291bd5
46c3747c 34Source8: http://dl.sourceforge.net/corefonts/trebuc32.exe
4ef462eb 35# NoSource8-md5: 0d7ea16cac6261f8513a061fbfcdb2b5
46c3747c 36Source9: http://dl.sourceforge.net/corefonts/verdan32.exe
4ef462eb 37# NoSource9-md5: 12d2a75f8156e10607be1eaa8e8ef120
46c3747c 38Source10: http://dl.sourceforge.net/corefonts/webdin32.exe
4ef462eb 39# NoSource10-md5: 230a1d13a365b22815f502eb24d9149b
7152a5cf 40%else
41# extracted from one of the above
42Source20: Microsoft-EULA.txt
ad7883a7 43%endif
d9d5f319 44URL: http://corefonts.sourceforge.net/
7152a5cf 45%if %{with license_agreement}
5e6fde32 46BuildRequires: cabextract
c9e67209 47Requires: %{_fontsdir}/TTF
7152a5cf 48Requires(post,postun): fontpostinst
49%else
50Requires: rpm-build-tools
51Requires: wget
52%endif
fb613dbd 53BuildArch: noarch
5e6fde32 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56%define ttffontsdir %{_fontsdir}/TTF
57
5e6fde32 58%description
c9e67209 59Microsoft free True Type fonts collection.
7152a5cf 60%if ! %{with license_agreement}
61License issues made us not to include inherent files into this package
62by default. If you want to create full working package please build it
63with one of the following command:
64
65%{base_name}.install --with license_agreement %{_datadir}/%{base_name}/%{base_name}.spec
66%{base_name}.install --with license_agreement ftp://ftp.pld-linux.org/dists/ac/PLD/<your_arch>/PLD/RPMS/%{base_name}-{version}-{release}.src.rpm
67%endif
1ed1a3e7 68
5e6fde32 69%description -l pl
c9e67209 70