Blame SPECS/smc-meera-fonts.spec

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