Blame SPECS/abattis-cantarell-fonts.spec

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