]> git.pld-linux.org Git - packages/fonts-TTF-Bitstream-Cyberfonts.git/blame_incremental - fonts-TTF-Bitstream-Cyberfonts.spec
- support for disabling distfiles
[packages/fonts-TTF-Bitstream-Cyberfonts.git] / fonts-TTF-Bitstream-Cyberfonts.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with license_agreement # generates package
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: 2%{?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
25BuildRequires: unzip
26# we need the -installer package as otherwise can't make end-user
27# package to work. see also comments in %%prep section.
28BuildRequires: %{base_name}-installer
29Requires: %{_fontsdir}/TTF
30Requires(post,postun): fontpostinst
31%else
32Source0: license-installer.sh
33Source1: %{base_name}-licence.txt
34Requires: unzip
35Requires: rpm-build-tools
36Requires: wget
37%endif
38BuildArch: noarch
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%define ttffontsdir %{_fontsdir}/TTF
42
43%description
44Bitstream Cyberfonts True Type font.
45%if %{without license_agreement}
46License issues made us not to include inherent files into this package
47by default. If you want to
48create full working package please build it with one of the following
49command:
50
51%{base_name}.install --with license_agreement %{_datadir}/%{base_name}/%{base_name}.spec
52%endif
53
54%description -l pl
55Font True Type Cyberfonts firmy Bitstream.
56%if %{without license_agreement}
57