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