Blame SPECS/abattis-cantarell-fonts.spec

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