Blame SPECS/lohit-marathi-fonts.spec

Packit 8114b2
%global fontname lohit-marathi
Packit 8114b2
%global fontconf 65-0-%{fontname}.conf
Packit 8114b2
%global metainfo io.pagure.lohit.marathi.font.metainfo
Packit 8114b2
Packit 8114b2
Name:           %{fontname}-fonts
Packit 8114b2
Version:        2.94.2
Packit 8114b2
Release:        5%{?dist}
Packit 8114b2
Summary:        Free truetype font for Marathi language
Packit 8114b2
Packit 8114b2
License:        OFL
Packit 8114b2
URL:            https://pagure.io/lohit
Packit 8114b2
Source0:        https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz
Packit 8114b2
BuildArch:      noarch
Packit 8114b2
BuildRequires:  fontforge
Packit 8114b2
BuildRequires:  fontpackages-devel
Packit 8114b2
BuildRequires:  python3-devel
Packit 8114b2
Requires:       fontpackages-filesystem
Packit 8114b2
Packit 8114b2
%description
Packit 8114b2
This package provides a free Marathi truetype/opentype font.
Packit 8114b2
Packit 8114b2
Packit 8114b2
%prep
Packit 8114b2
%setup -q -n %{fontname}-%{version}
Packit 8114b2
Packit 8114b2
%build
Packit 8114b2
make ttf %{?_smp_mflags}
Packit 8114b2
Packit 8114b2
%install
Packit 8114b2
install -m 0755 -d %{buildroot}%{_fontdir}
Packit 8114b2
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
Packit 8114b2
Packit 8114b2
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
Packit 8114b2
                   %{buildroot}%{_fontconfig_confdir}
Packit 8114b2
Packit 8114b2
install -m 0644 -p %{fontconf} \
Packit 8114b2
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
Packit 8114b2
ln -s %{_fontconfig_templatedir}/%{fontconf} \
Packit 8114b2
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
Packit 8114b2
Packit 8114b2
# Add AppStream metadata
Packit 8114b2
install -Dm 0644 -p %{metainfo}.xml \
Packit 8114b2
       %{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
Packit 8114b2
Packit 8114b2
Packit 8114b2
%_font_pkg -f %{fontconf} *.ttf
Packit 8114b2
%doc ChangeLog COPYRIGHT AUTHORS README test-marathi.txt
Packit 8114b2
%license OFL.txt
Packit 8114b2
%{_datadir}/metainfo/%{metainfo}.xml
Packit 8114b2
Packit 8114b2
%changelog
Packit 8114b2
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.94.2-5
Packit 8114b2
- Rebuilt for Python 3.7
Packit 8114b2
Packit 8114b2
* Fri Mar 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.94.2-4
Packit 8114b2
- Remove BR on python-tools
Packit 8114b2
Packit 8114b2
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-3
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-2
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Tue May 30 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.2-1
Packit 8114b2
- Upstream new release 2.94.2
Packit 8114b2
- Update metainfo file with latest specifications
Packit 8114b2
- Changed location of metainfo to /usr/share/metainfo
Packit 8114b2
Packit 8114b2
* Tue Mar 14 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.1-1
Packit 8114b2
- Upstream new release 2.94.1 with python3 support.
Packit 8114b2
- Resolves: #1423906 - FTBFS in rawhide
Packit 8114b2
- Migrated from fedorahosted.org to pagure.io.
Packit 8114b2
Packit 8114b2
Packit 8114b2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-8
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Thu Apr 21 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.94.0-7
Packit 8114b2
- Fix the apply_featurefile.py to use fontforge python3 module
Packit 8114b2
- use %%license
Packit 8114b2
- Drop obsolete Group tag
Packit 8114b2
Packit 8114b2
* Thu Apr 21 2016 Pravin Satpute <psatpute@redhat.com> - 2.94.0-6
Packit 8114b2
- Resolves #1325493 - Marathi font rendering issues.
Packit 8114b2
Packit 8114b2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-5
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-4
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Mon Oct 20 2014 Pravin Satpute <psatpute@redhat.com> - 2.91.0-3
Packit 8114b2
- Added metainfo for gnome-software
Packit 8114b2
Packit 8114b2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-2
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Thu May 15 2014 Pravin Satpute <psatpute@redhat.com> - 2.94.0-1
Packit 8114b2
- upstream release 2.94.0
Packit 8114b2
- Positioning lookup clean-up.
Packit 8114b2
- Improved grid fitting(GASP) table.
Packit 8114b2
- Renamed anchors to DVAnchor.
Packit 8114b2
- Using glyph reference (copy reference) instead of whole glyph points.
Packit 8114b2
- Auto test integrated with Makefile ($make test).
Packit 8114b2
- Resolved #32: "सर्व्हिस does not render correctly"
Packit 8114b2
- Resolved #33: "improper rendering for word : "मञ्यांच्या""
Packit 8114b2
Packit 8114b2
* Mon Dec 30 2013 Pravin Satpute <psatpute@redhat.com> - 2.93.0-1
Packit 8114b2
- upstream release 2.93.0
Packit 8114b2
Packit 8114b2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
Packit 8114b2
- upstream release 2.5.3
Packit 8114b2
Packit 8114b2
* Thu Nov 22 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.2-1
Packit 8114b2
- upstream release 2.5.2
Packit 8114b2
Packit 8114b2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
Packit 8114b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Packit 8114b2
Packit 8114b2
* Wed Apr 04 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-1
Packit 8114b2
- first release after lohit-devanagari split into marathi specific shapes