|
|
6221429 |
%global fontname shobhika
|
|
|
6221429 |
%global fontconf 68-%{fontname}.conf
|
|
|
6221429 |
|
|
|
6221429 |
Name: %{fontname}-fonts
|
|
|
6221429 |
Version: 1.04
|
|
|
1108517 |
Release: 6%{?dist}
|
|
|
6221429 |
Summary: Free Indian truetype/open type fonts
|
|
|
6221429 |
License: OFL
|
|
|
6221429 |
URL: https://github.com/Sandhi-IITBombay/Shobhika
|
|
|
6221429 |
Source0: %{url}/releases/download/v%{version}/Shobhika-%{version}.zip
|
|
|
6221429 |
Source1: %{name}-fontconfig.conf
|
|
|
6221429 |
Source2: %{fontname}.metainfo.xml
|
|
|
6221429 |
BuildArch: noarch
|
|
|
6221429 |
BuildRequires: fontpackages-devel
|
|
|
6221429 |
BuildRequires: libappstream-glib
|
|
|
6221429 |
Requires: fontpackages-filesystem
|
|
|
6221429 |
|
|
|
6221429 |
%description
|
|
|
6221429 |
Shobhika is a free, open source, Unicode compliant, OpenType font with support \
|
|
|
6221429 |
for Devanagari, Latin, and Cyrillic scripts.\
|
|
|
6221429 |
It is available in two weights—regular and bold.\
|
|
|
6221429 |
The font is designed with over 1600 Devanāgarī glyphs, including support \
|
|
|
6221429 |
for over 1100 conjunct consonants, as well as vedic accents.
|
|
|
6221429 |
|
|
|
6221429 |
%prep
|
|
|
6221429 |
%autosetup -n Shobhika-%{version}
|
|
|
6221429 |
chmod 644 *.txt
|
|
|
6221429 |
|
|
|
6221429 |
%build
|
|
|
6221429 |
|
|
|
6221429 |
%install
|
|
|
6221429 |
|
|
|
6221429 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
6221429 |
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
|
|
6221429 |
|
|
|
6221429 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
6221429 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
6221429 |
|
|
|
6221429 |
install -m 0644 -p %{SOURCE1} \
|
|
|
6221429 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
6221429 |
|
|
|
6221429 |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
6221429 |
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
6221429 |
|
|
|
6221429 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
6221429 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
6221429 |
|
|
|
6221429 |
%check
|
|
|
6221429 |
appstream-util validate-relax --nonet \
|
|
|
6221429 |
%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
6221429 |
|
|
|
6221429 |
%_font_pkg -f %{fontconf} *.otf
|
|
|
6221429 |
%doc AUTHORS.txt README.md CONTRIBUTORS.txt
|
|
|
6221429 |
%license OFL.txt Copyright.txt
|
|
|
6221429 |
%{_datadir}/metainfo/%{fontname}.metainfo.xml
|
|
|
6221429 |
|
|
|
6221429 |
%changelog
|
|
|
1108517 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-6
|
|
|
1108517 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1108517 |
|
|
vvijayra |
e24ffd6 |
* Wed Jul 24 2019 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 1.04-5
|
|
vvijayra |
e24ffd6 |
- Font CI test added
|
|
vvijayra |
e24ffd6 |
|
|
|
c1c74a3 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-4
|
|
|
c1c74a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c1c74a3 |
|
|
|
6221429 |
* Thu Jun 07 2018 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 1.04-3
|
|
|
6221429 |
- Updated fontconfig.
|
|
|
6221429 |
|
|
|
6221429 |
* Tue May 29 2018 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 1.04-2
|
|
|
6221429 |
- Added metainfo.xml file.
|
|
|
6221429 |
|
|
|
6221429 |
* Mon May 28 2018 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 1.04-1
|
|
|
6221429 |
- first release of shobhika fonts
|