]> git.pld-linux.org Git - packages/fonts-TTF-Bitstream-Cyberfonts.git/blobdiff - fonts-TTF-Bitstream-Cyberfonts.spec
- use rpmbuild(macros) virtual, not direct package name
[packages/fonts-TTF-Bitstream-Cyberfonts.git] / fonts-TTF-Bitstream-Cyberfonts.spec
index a92bdae33dcbb240a693735284e0dbbb258bb63b..8f0a1f0e521822d865b6b8b19aedb88e23fbe1ac 100644 (file)
@@ -2,16 +2,17 @@
 # Conditional build:
 %bcond_with    license_agreement       # generates package
 #
+%define                base_name               fonts-TTF-Bitstream-Cyberfonts
+%define                rel                     3
 Summary:       Bitstream Cyberfonts TrueType font
 Summary(pl.UTF-8):     Font TrueType Cyberfonts firmy Bitstream
-%define                base_name               fonts-TTF-Bitstream-Cyberfonts
 %if %{with license_agreement}
 Name:          %{base_name}
 %else
 Name:          %{base_name}-installer
 %endif
 Version:       1.0
-Release:       3%{?with_license_agreement:wla}
+Release:       %{rel}%{?with_license_agreement:wla}
 License:       Nondistributable but free (See Bitstream-Cyberfonts-licence.txt)
 Group:         Fonts
 %if %{with license_agreement}
@@ -26,15 +27,15 @@ BuildRequires:      unzip
 # we need the -installer package as otherwise can't make end-user
 # package to work. see also comments in %%prep section.
 BuildRequires: %{base_name}-installer
-Requires:      %{_fontsdir}/TTF
 Requires(post,postun): fontpostinst
+Requires:      %{_fontsdir}/TTF
 %else
 Source0:       http://svn.pld-linux.org/svn/license-installer/license-installer.sh
 # NoSource0-md5:       329c25f457fea66ec502b7ef70cb9ede
 Source1:       %{base_name}-licence.txt
-Requires:      unzip
-Requires:      rpm-build-macros >= 1.544
 Requires:      rpm-build-tools >= 4.4.37
+Requires:      rpmbuild(macros) >= 1.544
+Requires:      unzip
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This page took 0.108502 seconds and 4 git commands to generate.