Blame SPECS/abattis-cantarell-fonts.spec

ffedd5
%global actualname cantarell
ffedd5
ffedd5
%global fontname abattis-%{actualname}
ffedd5
%global fontconf 31-cantarell.conf
ffedd5
ffedd5
%global archivename1 Cantarell-Bold
ffedd5
%global archivename2 Cantarell-Regular
ffedd5
ffedd5
Name: %{fontname}-fonts
ffedd5
Version: 0.0.12
407386
Release: 3%{?dist}
ffedd5
Summary: Cantarell, a Humanist sans-serif font family
ffedd5
ffedd5
Group: User Interface/X
ffedd5
License: OFL
ffedd5
URL: http://abattis.org/cantarell/
ffedd5
Source0: http://download.gnome.org/sources/%{actualname}-fonts/0.0/%{actualname}-fonts-%{version}.tar.xz
ffedd5
ffedd5
BuildArch: noarch
ffedd5
BuildRequires: fontpackages-devel
ffedd5
BuildRequires: fontforge
ffedd5
Requires: fontpackages-filesystem
ffedd5
ffedd5
%description
ffedd5
Cantarell is a set of fonts designed by Dave Crossland.
ffedd5
It is a sans-serif humanist typeface family.
ffedd5
ffedd5
%prep
ffedd5
%setup -q -n %{actualname}-fonts-%{version}
ffedd5
ffedd5
%build
ffedd5
%configure
ffedd5
make %{?_smp_mflags}
ffedd5
ls -l ./src/
ffedd5
fontforge -lang=ff -c 'Open($1); Generate($2);' src/%{archivename1}.sfd %{archivename1}.otf
ffedd5
fontforge -lang=ff -c 'Open($1); Generate($2);' src/%{archivename2}.sfd %{archivename2}.otf
ffedd5
ffedd5
%install
ffedd5
install -m 0755 -d %{buildroot}%{_fontdir}
ffedd5
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
ffedd5
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
ffedd5
                   %{buildroot}%{_fontconfig_confdir}
ffedd5
install -m 0644 -p fontconfig/%{fontconf} \
ffedd5
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ffedd5
ln -s %{_fontconfig_templatedir}/%{fontconf} \
ffedd5
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
ffedd5
ffedd5
%_font_pkg -f %{fontconf} *.otf
ffedd5
%doc COPYING NEWS README
ffedd5
ffedd5
%changelog
407386
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.0.12-3
407386
- Mass rebuild 2013-12-27
407386
ffedd5
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-2
ffedd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ffedd5
ffedd5
* Thu Dec 20 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.12-1
ffedd5
- Update to 0.0.12
ffedd5
ffedd5
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 0.0.11-1
ffedd5
- Update to 0.0.11
ffedd5
ffedd5
* Tue Sep 25 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.10.1-1
ffedd5
- Update to 0.0.10.1
ffedd5
ffedd5
* Tue Sep 18 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.10-1
ffedd5
- Update to 0.0.10
ffedd5
ffedd5
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
ffedd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ffedd5
ffedd5
* Mon Jun 11 2012 Richard Hughes <hughsient@gmail.com> - 0.0.9-1
ffedd5
- Update to 0.0.9
ffedd5
ffedd5
* Wed Mar 28 2012 Richard Hughes <hughsient@gmail.com> - 0.0.8-1
ffedd5
- Update to 0.0.8
ffedd5
ffedd5
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
ffedd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ffedd5
ffedd5
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 0.0.7-1
ffedd5
- Update to 0.0.7
ffedd5
ffedd5
* Fri Oct 07 2011 Matěj Cepl <mcepl@redhat.com> - 0.0.6-2
ffedd5
- Making the build EL-6 compatible.
ffedd5
ffedd5
* Wed Jul 6 2011 Matthias Clasen <mclasen@redhat.com> - 0.0.6-1
ffedd5
- Update to 0.0.6
ffedd5
ffedd5
* Mon Feb 21 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.3-1
ffedd5
- Update to 0.0.3
ffedd5
ffedd5
* Fri Feb 18 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.1-4
ffedd5
- Include upstream patch for the fontconfig snippet
ffedd5
ffedd5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
ffedd5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ffedd5
ffedd5
* Tue Feb  8 2011 Stephen Smoogen <ssmoogen@redhat.com> - 0.0.1-2
ffedd5
- Fixed to meet review standards
ffedd5
ffedd5
* Tue Feb  8 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.1-1
ffedd5
- Initial packaging of abattis-cantarell-fonts
ffedd5