]> git.pld-linux.org Git - packages/fonts-TTF-Bitstream-Cyberfonts.git/blame - fonts-TTF-Bitstream-Cyberfonts.spec
- bcond header cleanup
[packages/fonts-TTF-Bitstream-Cyberfonts.git] / fonts-TTF-Bitstream-Cyberfonts.spec
CommitLineData
2b96597e 1#
2# Conditional build:
f167731c 3%bcond_with license_agreement # generates package
2b96597e 4#
5Summary: Bitstream Cyberfonts True Type font
6Summary(pl): Font True Type Cyberfonts firmy Bitstream
7%define base_name fonts-TTF-Bitstream-Cyberfonts
8%if %{with license_agreement}
9Name: %{base_name}
10%else
11Name: %{base_name}-installer
12%endif
13Version: 1.0
14Release: 1%{?with_license_agreement:wla}
15License: Nondistributable but free (See Bitstream-Cyberfonts-licence.txt)
16Group: Fonts
17%if %{with license_agreement}
18# also at http://dl.sourceforge.net/corefonts/
19Source0: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP
20# NoSource0-md5: 63a6f607ac5a78d34b67247b893faf5b
21Source1: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbase.ZIP
22# NoSource1-md5: 63a6f607ac5a78d34b67247b893faf5b
23Source2: ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/CyberCJK.ZIP
24# NoSource2-md5: 63a6f607ac5a78d34b67247b893faf5b
25Source3: %{base_name}-licence.txt
2b96597e 26BuildRequires: unzip
27Requires: %{_fontsdir}/TTF
28Requires(post,postun): fontpostinst
29%else
30Requires: unzip
31Requires: rpm-build-tools
32Requires: wget
33%endif
34Obsoletes: fonts-TTF-Bitstream-Cyberfonts
35BuildArch: noarch
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%define ttffontsdir %{_fontsdir}/TTF
39
40%description
41Bitstream Cyberfonts True Type font.
42%if ! %{with license_agreement}
43License issues made us not to include inherent files into this package
44by default. If you want to
45create full working package please build it with one of the following
46command:
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
53Font True Type Cyberfonts firmy Bitstream.
54%if ! %{with license_agreement}
55