]>
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 | |
14 | Release: 1%{?with_license_agreement:wla} | |
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 | |
25 | Source3: %{base_name}-licence.txt | |
2b96597e | 26 | BuildRequires: unzip |
27 | Requires: %{_fontsdir}/TTF | |
28 | Requires(post,postun): fontpostinst | |
29 | %else | |
30 | Requires: unzip | |
31 | Requires: rpm-build-tools | |
32 | Requires: wget | |
33 | %endif | |
34 | Obsoletes: fonts-TTF-Bitstream-Cyberfonts | |
35 | BuildArch: noarch | |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %define ttffontsdir %{_fontsdir}/TTF | |
39 | ||
40 | %description | |
41 | Bitstream Cyberfonts True Type font. | |
42 | %if ! %{with license_agreement} | |
43 | License issues made us not to include inherent files into this package | |
44 | by default. If you want to | |
45 | create full working package please build it with one of the following | |
46 | command: | |
47 | ||
48 | %{base_name}.install --with license_agreement %{_datadir}/%{base_name}/%{base_name}.spec | |
49 | %{base_name}.install --with license_agreement ftp://ftp.pld-linux.org/dists/ac/PLD/<your_arch>/PLD/RPMS/%{base_name}-{version}-{release}.src.rpm | |
50 | %endif | |
51 | ||
52 | %description -l pl | |
53 | Font True Type Cyberfonts firmy Bitstream. | |
54 | %if ! %{with license_agreement} | |
55 |