remove unwanted xml and conf files
This commit is contained in:
parent
d237000488
commit
bd047f6680
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<match>
|
||||
<test name="lang" compare="contains">
|
||||
<string>kn</string>
|
||||
</test>
|
||||
<test name="family">
|
||||
<string>serif</string>
|
||||
</test>
|
||||
<edit name="family" mode="prepend">
|
||||
<string>Gubbi</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<alias>
|
||||
<family>Gubbi</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
@ -1,14 +1,10 @@
|
||||
%global fontconf 65-0-gubbi.conf
|
||||
|
||||
Name: gubbi-fonts
|
||||
Version: 1.3
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Free Kannada Opentype serif font
|
||||
License: GPLv3+ with exceptions
|
||||
URL: https://github.com/aravindavk/Gubbi
|
||||
Source0: https://github.com/aravindavk/Gubbi/archive/v1.3.tar.gz#/gubbi-1.3.tar.gz
|
||||
Source1: 65-0-gubbi.conf
|
||||
Source2: gubbi.metainfo.xml
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontforge fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
@ -26,23 +22,16 @@ make
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
install -Dm 0644 -p %{SOURCE2} \
|
||||
%{buildroot}%{_datadir}/appdata/gubbi.metainfo.xml
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%_font_pkg *.ttf
|
||||
%doc ChangeLog README
|
||||
%license COPYING
|
||||
%{_datadir}/appdata/gubbi.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 19 2020 fengbing <fengbing7@huawei.com> - 1.3-4
|
||||
- Type:N/A
|
||||
- ID:N/A
|
||||
- SUG:N/A
|
||||
- DESC:remove unwanted xml and conf files
|
||||
|
||||
* Tue Nov 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3-3
|
||||
- Package init
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gubbi</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<name>Gubbi</name>
|
||||
<summary>Free Kannada opentype serif font</summary>
|
||||
<description>
|
||||
<p>
|
||||
This package provides a free Kannada serif opentype font.
|
||||
</p>
|
||||
</description>
|
||||
<updatecontact>psatpute_at_redhat_dot_com</updatecontact>
|
||||
<url type="homepage">https://github.com/aravindavk/Gubbi</url>
|
||||
</component>
|
||||
Loading…
x
Reference in New Issue
Block a user