X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=fonts-TTF-Bitstream-Cyberfonts.spec;h=8f0a1f0e521822d865b6b8b19aedb88e23fbe1ac;hb=HEAD;hp=a92bdae33dcbb240a693735284e0dbbb258bb63b;hpb=6e59303e80b35d40331fc119eb4283ea65d61963;p=packages%2Ffonts-TTF-Bitstream-Cyberfonts.git diff --git a/fonts-TTF-Bitstream-Cyberfonts.spec b/fonts-TTF-Bitstream-Cyberfonts.spec index a92bdae..8f0a1f0 100644 --- a/fonts-TTF-Bitstream-Cyberfonts.spec +++ b/fonts-TTF-Bitstream-Cyberfonts.spec @@ -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)