Blame SPECS/abattis-cantarell-fonts.spec

e751eb
%global actualname cantarell
e751eb
e751eb
%global fontname abattis-%{actualname}
e751eb
%global fontconf 31-cantarell.conf
e751eb
e751eb
%global archivename1 Cantarell-Bold
e751eb
%global archivename2 Cantarell-Regular
e751eb
e751eb
Name: %{fontname}-fonts
e751eb
Version: 0.0.25
8a1394
Release: 6%{?dist}
e751eb
Summary: Cantarell, a Humanist sans-serif font family
e751eb
e751eb
Group: User Interface/X
e751eb
License: OFL
e751eb
URL: https://git.gnome.org/browse/cantarell-fonts/
e751eb
Source0: http://download.gnome.org/sources/%{actualname}-fonts/0.0/%{actualname}-fonts-%{version}.tar.xz
e751eb
Source1: %{fontname}.metainfo.xml
8a1394
Source2: cantarell-fontconfig.conf
e751eb
e751eb
BuildArch: noarch
e751eb
BuildRequires: fontpackages-devel
e751eb
BuildRequires: fontforge
e751eb
Requires: fontpackages-filesystem
e751eb
e751eb
%description
e751eb
Cantarell is a set of fonts designed by Dave Crossland.
e751eb
It is a sans-serif humanist typeface family.
e751eb
e751eb
%prep
e751eb
%autosetup -n %{actualname}-fonts-%{version}
e751eb
# Force regeneration
e751eb
rm otf/*.otf
e751eb
e751eb
%build
e751eb
%configure --enable-source-rebuild
e751eb
make %{?_smp_mflags}
e751eb
e751eb
%install
e751eb
install -m 0755 -d %{buildroot}%{_fontdir}
e751eb
install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir}
e751eb
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
e751eb
                   %{buildroot}%{_fontconfig_confdir}
8a1394
install -m 0644 -p %{SOURCE2} \
e751eb
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
e751eb
ln -s %{_fontconfig_templatedir}/%{fontconf} \
e751eb
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
e751eb
e751eb
# Add AppStream metadata
e751eb
install -Dm 0644 -p %{SOURCE1} \
e751eb
       %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
e751eb
e751eb
%_font_pkg -f %{fontconf} *.otf
e751eb
%license COPYING
e751eb
%doc NEWS README
e751eb
%{_datadir}/appdata/%{fontname}.metainfo.xml
e751eb
e751eb
%changelog
8a1394
* Wed Dec 23 2020 Akira TAGOH <tagoh@redhat.com> - 0.0.25-6
8a1394
- Backport fontconfig config file from Fedora.
8a1394
- Add System UI generic family alias
8a1394
  Resolves: rhbz#1865788
8a1394
e751eb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-4
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e751eb
e751eb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-3
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e751eb
e751eb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e751eb
e751eb
* Fri Aug 19 2016 Kalev Lember <klember@redhat.com> - 0.0.25-1
e751eb
- Update to 0.0.25
e751eb
e751eb
* Tue Mar 01 2016 Richard Hughes <rhughes@redhat.com> - 0.0.24-1
e751eb
- Update to 0.0.24
e751eb
e751eb
* Fri Feb 26 2016 Adam Williamson <awilliam@redhat.com> - 0.0.23-1
e751eb
- Update to 0.0.23
e751eb
e751eb
* Wed Feb 17 2016 Richard Hughes <rhughes@redhat.com> - 0.0.22-1
e751eb
- Update to 0.0.22
e751eb
e751eb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.21-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e751eb
e751eb
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 0.0.21-1
e751eb
- Update to 0.0.21
e751eb
e751eb
* Mon Jan 11 2016 Kalev Lember <klember@redhat.com> - 0.0.20.1-1
e751eb
- Update to 0.0.20.1
e751eb
e751eb
* Mon Nov 02 2015 Kalev Lember <klember@redhat.com> - 0.0.18-1
e751eb
- Update to 0.0.18
e751eb
e751eb
* Mon Oct 12 2015 Kalev Lember <klember@redhat.com> - 0.0.17.2-1
e751eb
- Update to 0.0.17.2
e751eb
e751eb
* Mon Oct 12 2015 Kalev Lember <klember@redhat.com> - 0.0.17.1-1
e751eb
- Update to 0.0.17.1
e751eb
e751eb
* Mon Oct 05 2015 Kalev Lember <klember@redhat.com> - 0.0.17-2
e751eb
- s: provide anchors for accents
e751eb
e751eb
* Sun Oct 04 2015 Kalev Lember <klember@redhat.com> - 0.0.17-1
e751eb
- Update to 0.0.17
e751eb
e751eb
* Tue Sep 08 2015 Kalev Lember <klember@redhat.com> - 0.0.16-4
e751eb
- Fix 'r' hinting
e751eb
- Use upstream build system rules when regenerating otf files
e751eb
- Use license macro
e751eb
e751eb
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-3
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e751eb
e751eb
* Mon Nov 17 2014 Pravin Satpute <psatpute@redhat.com> - 0.0.16-2
e751eb
- Added metainfo for gnome-software.
e751eb
e751eb
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 0.0.16-1
e751eb
- Update to 0.0.16
e751eb
e751eb
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.15-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e751eb
e751eb
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 0.0.15-1
e751eb
- Update to 0.0.15
e751eb
e751eb
* Fri Aug 23 2013 Kalev Lember <kalevlember@gmail.com> - 0.0.14-1
e751eb
- Update to 0.0.14
e751eb
e751eb
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.13-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e751eb
e751eb
* Thu Jun 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.0.13-1
e751eb
- Update to 0.0.13
e751eb
e751eb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e751eb
e751eb
* Thu Dec 20 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.12-1
e751eb
- Update to 0.0.12
e751eb
e751eb
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 0.0.11-1
e751eb
- Update to 0.0.11
e751eb
e751eb
* Tue Sep 25 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.10.1-1
e751eb
- Update to 0.0.10.1
e751eb
e751eb
* Tue Sep 18 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.10-1
e751eb
- Update to 0.0.10
e751eb
e751eb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e751eb
e751eb
* Mon Jun 11 2012 Richard Hughes <hughsient@gmail.com> - 0.0.9-1
e751eb
- Update to 0.0.9
e751eb
e751eb
* Wed Mar 28 2012 Richard Hughes <hughsient@gmail.com> - 0.0.8-1
e751eb
- Update to 0.0.8
e751eb
e751eb
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e751eb
e751eb
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.0.7-1
e751eb
- Update to 0.0.7
e751eb
e751eb
* Fri Oct 07 2011 Matěj Cepl <mcepl@redhat.com> - 0.0.6-2
e751eb
- Making the build EL-6 compatible.
e751eb
e751eb
* Wed Jul 6 2011 Matthias Clasen <mclasen@redhat.com> - 0.0.6-1
e751eb
- Update to 0.0.6
e751eb
e751eb
* Mon Feb 21 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.3-1
e751eb
- Update to 0.0.3
e751eb
e751eb
* Fri Feb 18 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.1-4
e751eb
- Include upstream patch for the fontconfig snippet
e751eb
e751eb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
e751eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e751eb
e751eb
* Tue Feb  8 2011 Stephen Smoogen <ssmoogen@redhat.com> - 0.0.1-2
e751eb
- Fixed to meet review standards
e751eb
e751eb
* Tue Feb  8 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.1-1
e751eb
- Initial packaging of abattis-cantarell-fonts
e751eb