3 # _with_license_agreement - generates package
5 Summary: Microsoft True Type fonts
6 Summary(pl): Fonty True Type firmy Microsoft
7 Name: fonts-TTF-microsoft
10 License: Microsoft EULA (for non-commercial use)
12 URL: http://www.microsoft.com/truetype/fontpack/
13 Source0: http://dl.sourceforge.net/corefonts/andale32.exe
14 # NoSource0-md5: cbdc2fdd7d2ed0832795e86a8b9ee19a
15 Source1: http://dl.sourceforge.net/corefonts/arial32.exe
16 # NoSource1-md5: 9637df0e91703179f0723ec095a36cb5
17 Source2: http://dl.sourceforge.net/corefonts/arialb32.exe
18 # NoSource2-md5: c9089ae0c3b3d0d8c4b0a95979bb9ff0
19 Source3: http://dl.sourceforge.net/corefonts/comic32.exe
20 # NoSource3-md5: 2b30de40bb5e803a0452c7715fc835d1
21 Source4: http://dl.sourceforge.net/corefonts/courie32.exe
22 # NoSource4-md5: 4e412c772294403ab62fb2d247d85c60
23 Source5: http://dl.sourceforge.net/corefonts/georgi32.exe
24 # NoSource5-md5: 4d90016026e2da447593b41a8d8fa8bd
25 Source6: http://dl.sourceforge.net/corefonts/impact32.exe
26 # NoSource6-md5: 7907c7dd6684e9bade91cff82683d9d7
27 Source7: http://dl.sourceforge.net/corefonts/times32.exe
28 # NoSource7-md5: ed39c8ef91b9fb80f76f702568291bd5
29 Source8: http://dl.sourceforge.net/corefonts/trebuc32.exe
30 # NoSource8-md5: 0d7ea16cac6261f8513a061fbfcdb2b5
31 Source9: http://dl.sourceforge.net/corefonts/verdan32.exe
32 # NoSource9-md5: 12d2a75f8156e10607be1eaa8e8ef120
33 Source10: http://dl.sourceforge.net/corefonts/webdin32.exe
34 # NoSource10-md5: 230a1d13a365b22815f502eb24d9149b
35 %if %{!?_with_license_agreement:1}%{?_with_license_agreement:0}
48 BuildRequires: cabextract
49 Requires(post,postun): fontpostinst
50 Requires: %{_fontsdir}/TTF
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 %define ttffontsdir %{_fontsdir}/TTF
57 Microsoft free True Type fonts collection.
60 Kolekcja darmowych fontów True Type firmy Microsoft.
64 /usr/bin/cabextract -L %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} \
65 %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} \
68 %if %{!?_with_license_agreement:1}%{?_with_license_agreement:0}
74 rpm -ba --with license_agreement <specfile>
75 to rebuild the package if you accept the above license.
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT%{ttffontsdir}
84 install *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
87 rm -rf $RPM_BUILD_ROOT
96 %defattr(644,root,root,755)