]>
Commit | Line | Data |
---|---|---|
2b96597e | 1 | # |
2 | # Conditional build: | |
f167731c | 3 | %bcond_with license_agreement # generates package |
2b96597e | 4 | # |
5 | Summary: Bitstream Cyberfonts True Type font | |
6 | Summary(pl): Font True Type Cyberfonts firmy Bitstream | |
7 | %define base_name fonts-TTF-Bitstream-Cyberfonts | |
8 | %if %{with license_agreement} | |
9 | Name: %{base_name} | |
10 | %else | |
11 | Name: %{base_name}-installer | |
12 | %endif | |
13 | Version: 1.0 | |
044f7b09 | 14 | Release: 2%{?with_license_agreement:wla} |
2b96597e | 15 | License: Nondistributable but free (See Bitstream-Cyberfonts-licence.txt) |
16 | Group: Fonts | |
17 | %if %{with license_agreement} | |
18 | # also at http://dl.sourceforge.net/corefonts/ | |
19 | Source0: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP | |
20 | # NoSource0-md5: 63a6f607ac5a78d34b67247b893faf5b | |
21 | Source1: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbase.ZIP | |
22 | # NoSource1-md5: 63a6f607ac5a78d34b67247b893faf5b | |
23 | Source2: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/CyberCJK.ZIP | |
24 | # NoSource2-md5: 63a6f607ac5a78d34b67247b893faf5b | |
2b96597e | 25 | BuildRequires: unzip |
044f7b09 ER |
26 | # we need the -installer package as otherwise can't make end-user |
27 | # package to work. see also comments in %%prep section. | |
28 | BuildRequires: %{base_name}-installer | |
2b96597e | 29 | Requires: %{_fontsdir}/TTF |
30 | Requires(post,postun): fontpostinst | |
31 | %else | |
044f7b09 ER |
32 | Source0: license-installer.sh |
33 | Source1: %{base_name}-licence.txt | |
2b96597e | 34 | Requires: unzip |
35 | Requires: rpm-build-tools | |
36 | Requires: wget | |
37 | %endif | |
2b96597e | 38 | BuildArch: noarch |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | %define ttffontsdir %{_fontsdir}/TTF | |
42 | ||
43 | %description | |
44 | Bitstream Cyberfonts True Type font. | |
69729c55 | 45 | %if !%{with license_agreement} |
2b96597e | 46 | License issues made us not to include inherent files into this package |
47 | by default. If you want to | |
48 | create full working package please build it with one of the following | |
49 | command: | |
50 | ||
51 | %{base_name}.install --with license_agreement %{_datadir}/%{base_name}/%{base_name}.spec | |
2b96597e | 52 | %endif |
53 | ||
54 | %description -l pl | |
55 | Font True Type Cyberfonts firmy Bitstream. | |
69729c55 | 56 | %if !%{with license_agreement} |
2b96597e | 57 |