%description improvements

- no leading newline in %common_desc
- remove backslash from each package %description
- more natural linebreaks
This commit is contained in:
Jens Petersen 2019-09-13 11:48:39 +08:00
parent 543a816cdc
commit 079b1b5a4a

View File

@ -2,17 +2,15 @@
%global fontname liberation
%global fontconf %{priority}-%{fontname}
%global archivename %{name}-%{version}
%global common_desc \
The Liberation Fonts are intended to be replacements for the three most \
commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier \
New.
%global common_desc The Liberation Fonts are intended to be replacements for the 3 most commonly\
used fonts on Microsoft systems: Times New Roman, Arial, and Courier New.
%define catalogue %{_sysconfdir}/X11/fontpath.d
Name: %{fontname}-fonts
Summary: Fonts to replace commonly used Microsoft Windows fonts
Version: 2.00.5
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 1
License: OFL
URL: https://github.com/liberationfonts/liberation-fonts
@ -36,7 +34,7 @@ BuildRequires: python3-fonttools
%description
%common_desc
Meta-package of Liberation fonts which installs Sans, Serif, and Monospace \
Meta-package of Liberation fonts which installs Sans, Serif, and Monospace
families.
%package -n %{fontname}-fonts-common
@ -60,8 +58,9 @@ Summary: Monospace fonts to replace commonly used Microsoft Courier New
Requires: %{fontname}-fonts-common = %{epoch}:%{version}-%{release}
%description -n %{fontname}-mono-fonts
%common_desc
This is Monospace TrueType fonts that replaced commonly used Microsoft Courier \
New.
This package provides Monospace TrueType fonts that replace commonly used
Microsoft Courier New.
%files -n %{fontname}-mono-fonts
%{_fontdir}-mono
@ -77,7 +76,9 @@ Summary: Sans-serif fonts to replace commonly used Microsoft Arial
Requires: %{fontname}-fonts-common = %{epoch}:%{version}-%{release}
%description -n %{fontname}-sans-fonts
%common_desc
This is Sans-serif TrueType fonts that replaced commonly used Microsoft Arial.
This package provides Sans-serif TrueType fonts that replace commonly used
Microsoft Arial.
%files -n %{fontname}-sans-fonts
%{_fontdir}-sans
@ -93,8 +94,9 @@ Summary: Serif fonts to replace commonly used Microsoft Times New Roman
Requires: %{fontname}-fonts-common = %{epoch}:%{version}-%{release}
%description -n %{fontname}-serif-fonts
%common_desc
This is Serif TrueType fonts that replaced commonly used Microsoft Times New \
Roman.
This package provides Serif TrueType fonts that replace commonly used
Microsoft Times New Roman.
%files -n %{fontname}-serif-fonts
%{_fontdir}-serif
@ -178,6 +180,9 @@ appstream-util validate-relax --nonet \
%files
%changelog
* Fri Sep 13 2019 Jens Petersen <petersen@redhat.com> - 1:2.00.5-6
- improve descriptions
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.00.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild