49 lines
1.3 KiB
RPMSpec
49 lines
1.3 KiB
RPMSpec
|
|
%global fontconf 65-0-gubbi.conf
|
||
|
|
|
||
|
|
Name: gubbi-fonts
|
||
|
|
Version: 1.3
|
||
|
|
Release: 3
|
||
|
|
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
|
||
|
|
|
||
|
|
%description
|
||
|
|
This package provides a free Kannada opentype serif font.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n Gubbi-1.3
|
||
|
|
|
||
|
|
%build
|
||
|
|
make
|
||
|
|
|
||
|
|
%install
|
||
|
|
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
|
||
|
|
%doc ChangeLog README
|
||
|
|
%license COPYING
|
||
|
|
%{_datadir}/appdata/gubbi.metainfo.xml
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Tue Nov 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3-3
|
||
|
|
- Package init
|