Delete blank line in description,add version for provides and obsoletes
This commit is contained in:
parent
c749a03f2a
commit
c862f931ad
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: thai-scalable-fonts
|
Name: thai-scalable-fonts
|
||||||
Version: 0.7.3
|
Version: 0.7.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Thai TrueType fonts
|
Summary: Thai TrueType fonts
|
||||||
License: GPLv2+ and Bitstream Vera
|
License: GPLv2+ and Bitstream Vera
|
||||||
URL: http://linux.thai.net/projects/thaifonts-scalable
|
URL: http://linux.thai.net/projects/thaifonts-scalable
|
||||||
@ -15,7 +15,6 @@ BuildArch: noarch
|
|||||||
BuildRequires: fontforge >= 20071110 fontpackages-devel
|
BuildRequires: fontforge >= 20071110 fontpackages-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
Thai scalable fonts included here are:
|
Thai scalable fonts included here are:
|
||||||
- Kinnari, Garuda and Norasi from the National Font project
|
- Kinnari, Garuda and Norasi from the National Font project
|
||||||
- DB Thai Text from DearBook
|
- DB Thai Text from DearBook
|
||||||
@ -24,12 +23,12 @@ Thai scalable fonts included here are:
|
|||||||
%package common
|
%package common
|
||||||
Summary: Common files of %{name}
|
Summary: Common files of %{name}
|
||||||
Requires: fontpackages-filesystem
|
Requires: fontpackages-filesystem
|
||||||
Provides: thai-scalable-garuda-fonts thai-scalable-kinnari-fonts thai-scalable-loma-fonts thai-scalable-norasi-fonts thai-scalable-purisa-fonts
|
Provides: thai-scalable-garuda-fonts = %{version}-%{release} thai-scalable-kinnari-fonts = %{version}-%{release} thai-scalable-loma-fonts = %{version}-%{release} thai-scalable-norasi-fonts = %{version}-%{release} thai-scalable-purisa-fonts = %{version}-%{release}
|
||||||
Obsoletes: thai-scalable-garuda-fonts thai-scalable-kinnari-fonts thai-scalable-loma-fonts thai-scalable-norasi-fonts thai-scalable-purisa-fonts
|
Obsoletes: thai-scalable-garuda-fonts < %{version}-%{release} thai-scalable-kinnari-fonts < %{version}-%{release} thai-scalable-loma-fonts < %{version}-%{release} thai-scalable-norasi-fonts < %{version}-%{release} thai-scalable-purisa-fonts < %{version}-%{release}
|
||||||
Provides: thai-scalable-sawasdee-fonts thai-scalable-tlwgmono-fonts thai-scalable-tlwgtypewriter-fonts thai-scalable-tlwgtypist-fonts
|
Provides: thai-scalable-sawasdee-fonts = %{version}-%{release} thai-scalable-tlwgmono-fonts = %{version}-%{release} thai-scalable-tlwgtypewriter-fonts = %{version}-%{release} thai-scalable-tlwgtypist-fonts = %{version}-%{release}
|
||||||
Obsoletes: thai-scalable-sawasdee-fonts thai-scalable-tlwgmono-fonts thai-scalable-tlwgtypewriter-fonts thai-scalable-tlwgtypist-fonts
|
Obsoletes: thai-scalable-sawasdee-fonts < %{version}-%{release} thai-scalable-tlwgmono-fonts < %{version}-%{release} thai-scalable-tlwgtypewriter-fonts < %{version}-%{release} thai-scalable-tlwgtypist-fonts < %{version}-%{release}
|
||||||
Provides: thai-scalable-tlwgtypo-fonts thai-scalable-umpush-fonts thai-scalable-laksaman-fonts thai-scalable-waree-fonts
|
Provides: thai-scalable-tlwgtypo-fonts = %{version}-%{release} thai-scalable-umpush-fonts = %{version}-%{release} thai-scalable-laksaman-fonts = %{version}-%{release} thai-scalable-waree-fonts = %{version}-%{release}
|
||||||
Obsoletes: thai-scalable-tlwgtypo-fonts thai-scalable-umpush-fonts thai-scalable-laksaman-fonts thai-scalable-waree-fonts
|
Obsoletes: thai-scalable-tlwgtypo-fonts < %{version}-%{release} thai-scalable-umpush-fonts < %{version}-%{release} thai-scalable-laksaman-fonts < %{version}-%{release} thai-scalable-waree-fonts < %{version}-%{release}
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
|
|
||||||
@ -56,7 +55,7 @@ install -m 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/fontconfig/conf.avail/%{fo
|
|||||||
for fconf in %{fontconf}-garuda.conf \
|
for fconf in %{fontconf}-garuda.conf \
|
||||||
%{fontconf}-kinnari.conf \
|
%{fontconf}-kinnari.conf \
|
||||||
%{fontconf}-umpush.conf \
|
%{fontconf}-umpush.conf \
|
||||||
%{fontconf}-laksaman.conf ; do
|
%{fontconf}-laksaman.conf ; do
|
||||||
ln -s %{_datadir}/fontconfig/conf.avail/$fconf \
|
ln -s %{_datadir}/fontconfig/conf.avail/$fconf \
|
||||||
%{buildroot}%{_sysconfdir}/fonts/conf.d/$fconf
|
%{buildroot}%{_sysconfdir}/fonts/conf.d/$fconf
|
||||||
done
|
done
|
||||||
@ -80,6 +79,9 @@ rm -rf %{buildroot}%{_datadir}/fonts/thai-scalable-fonts/
|
|||||||
%{_datadir}/fontconfig/conf.avail/*.conf
|
%{_datadir}/fontconfig/conf.avail/*.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 01 2024 lingsheng <lingsheng1@h-partners.com> - 0.7.3-2
|
||||||
|
- Delete blank line in description,add version for provides and obsoletes
|
||||||
|
|
||||||
* Sat Oct 29 2022 wangkerong <wangkeorng@h-partners.com> - 0.7.3-1
|
* Sat Oct 29 2022 wangkerong <wangkeorng@h-partners.com> - 0.7.3-1
|
||||||
- Upgrade to 0.7.3
|
- Upgrade to 0.7.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user