Blame SPECS/smc-rachana-fonts.spec

e7b6af
%global fontname smc-rachana
e7b6af
%global fontconf 65-0-%{fontname}.conf
e7b6af
e7b6af
Name:		%{fontname}-fonts
e7b6af
Version:	7.0.3
e7b6af
Release:	5%{?dist}
e7b6af
Summary:	Open Type Fonts for Malayalam script
e7b6af
License:	OFL
e7b6af
URL:		https://gitlab.com/smc/fonts/rachana
e7b6af
Source0:	%{url}/-/archive/Version%{version}/rachana-Version%{version}.tar.gz
e7b6af
Source1:	%{fontname}-fontconfig.conf
e7b6af
Source2:	%{fontname}.metainfo.xml
e7b6af
BuildArch:	noarch
e7b6af
BuildRequires: make
e7b6af
BuildRequires:	fontpackages-devel
e7b6af
BuildRequires:	libappstream-glib
e7b6af
BuildRequires:	brotli-devel
e7b6af
BuildRequires:	fontforge-devel
e7b6af
BuildRequires:	python3
e7b6af
BuildRequires:	python3-fonttools
e7b6af
Requires:	fontpackages-filesystem
e7b6af
Obsoletes:	smc-fonts-common < 6.1-11
e7b6af
e7b6af
%description
e7b6af
Rachana is Malayalam font designed by Hussain K H. 
e7b6af
The project was part of Rachana Aksharavedi for the original script 
e7b6af
of Malayalam in the digital computing.
e7b6af
e7b6af
%prep
e7b6af
%autosetup -n rachana-Version%{version}
e7b6af
chmod 644 *.txt
e7b6af
rm -rf ttf
e7b6af
e7b6af
%build
e7b6af
make PY=python3
e7b6af
e7b6af
%install
e7b6af
e7b6af
install -m 0755 -d %{buildroot}%{_fontdir}
e7b6af
install -m 0644 -p build/*.ttf %{buildroot}%{_fontdir}
e7b6af
e7b6af
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
e7b6af
	%{buildroot}%{_fontconfig_confdir}
e7b6af
e7b6af
install -m 0644 -p %{SOURCE1} \
e7b6af
	%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
e7b6af
e7b6af
install -Dm 0644 -p %{SOURCE2} \
e7b6af
	%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
e7b6af
e7b6af
ln -s %{_fontconfig_templatedir}/%{fontconf} \
e7b6af
	%{buildroot}%{_fontconfig_confdir}/%{fontconf}
e7b6af
e7b6af
%check
e7b6af
appstream-util validate-relax --nonet \
e7b6af
	%{buildroot}%{_datadir}/metainfo/%{fontname}.metainfo.xml
e7b6af
e7b6af
%_font_pkg -f %{fontconf} *.ttf
e7b6af
%doc README.md
e7b6af
%license LICENSE.txt
e7b6af
%{_datadir}/metainfo/%{fontname}.metainfo.xml
e7b6af
e7b6af
%changelog
e7b6af
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 7.0.3-5
e7b6af
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e7b6af
  Related: rhbz#1991688
e7b6af
e7b6af
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 7.0.3-4
e7b6af
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e7b6af
e7b6af
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-3
e7b6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e7b6af
e7b6af
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-2
e7b6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e7b6af
e7b6af
* Mon Feb 17 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 7.0.3-1
e7b6af
- New release smc-rachana-fonts-7.0.3
e7b6af
e7b6af
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-6
e7b6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e7b6af
e7b6af
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-5
e7b6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e7b6af
e7b6af
* Wed Jul 24 2019 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-4
e7b6af
- Font CI test added
e7b6af
e7b6af
* Mon Feb 25 2019 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-3
e7b6af
- Build font from sources
e7b6af
e7b6af
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
e7b6af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e7b6af
e7b6af
* Wed Nov 28 2018 Vishal Vijayraghavan <vishalvijayraghavan@gmail.com> - 7.0.1-1
e7b6af
- first release of smc-rachana fonts
e7b6af