remove unwanted xml and conf files

This commit is contained in:
bingo2008 2020-01-19 14:57:36 +08:00
parent d237000488
commit bd047f6680
3 changed files with 8 additions and 55 deletions

View File

@ -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>

View File

@ -1,14 +1,10 @@
%global fontconf 65-0-gubbi.conf
Name: gubbi-fonts Name: gubbi-fonts
Version: 1.3 Version: 1.3
Release: 3 Release: 4
Summary: Free Kannada Opentype serif font Summary: Free Kannada Opentype serif font
License: GPLv3+ with exceptions License: GPLv3+ with exceptions
URL: https://github.com/aravindavk/Gubbi URL: https://github.com/aravindavk/Gubbi
Source0: https://github.com/aravindavk/Gubbi/archive/v1.3.tar.gz#/gubbi-1.3.tar.gz 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 BuildArch: noarch
BuildRequires: fontforge fontpackages-devel BuildRequires: fontforge fontpackages-devel
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
@ -26,23 +22,16 @@ make
install -m 0755 -d %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %_font_pkg *.ttf
%{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
%doc ChangeLog README %doc ChangeLog README
%license COPYING %license COPYING
%{_datadir}/appdata/gubbi.metainfo.xml
%changelog %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 * Tue Nov 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3-3
- Package init - Package init

View File

@ -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>