initial import
This commit is contained in:
parent
b702661af0
commit
f8dd0e586d
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/gubbi-1.0.tar.gz
|
22
65-0-gubbi.conf
Normal file
22
65-0-gubbi.conf
Normal file
@ -0,0 +1,22 @@
|
||||
<?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>
|
52
gubbi-fonts.spec
Normal file
52
gubbi-fonts.spec
Normal file
@ -0,0 +1,52 @@
|
||||
%global fontname gubbi
|
||||
%global fontconf 65-0-%{fontname}.conf
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Kannada Opentype serif font
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: https://github.com/aravindavk/Gubbi
|
||||
Source0: http://sanchaya.net/downloads/fonts/%{fontname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontforge
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
Source1: 65-0-gubbi.conf
|
||||
|
||||
|
||||
%description
|
||||
This package provides a free Kannada opentype serif font.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{fontname}-%{version}
|
||||
|
||||
%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}
|
||||
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
|
||||
%doc ChangeLog COPYING README
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2012 Pravin Satpute <psatpute@redhat.com> - 1.0-1
|
||||
- Initial build
|
||||
|
Loading…
Reference in New Issue
Block a user