]> git.pld-linux.org Git - packages/fonts-TTF-Bitstream-Cyberfonts.git/blame - fonts-TTF-Bitstream-Cyberfonts.spec
- run script in %post
[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
044f7b09 14Release: 2%{?with_license_agreement:wla}
2b96597e 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
2b96597e 25BuildRequires: 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.
28BuildRequires: %{base_name}-installer
2b96597e 29Requires: %{_fontsdir}/TTF
30Requires(post,postun): fontpostinst
31%else
044f7b09
ER
32Source0: license-installer.sh
33Source1: %{base_name}-licence.txt
2b96597e 34Requires: unzip
35Requires: rpm-build-tools
36Requires: wget
37%endif
2b96597e 38BuildArch: noarch
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%define ttffontsdir %{_fontsdir}/TTF
42
43%description
44Bitstream Cyberfonts True Type font.
044f7b09 45%if %{without license_agreement}
2b96597e 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
2b96597e 52%endif
53
54%description -l pl
55Font True Type Cyberfonts firmy Bitstream.
044f7b09 56%if %{without license_agreement}
2b96597e 57