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