diff --git a/abattis-cantarell-fonts.spec b/abattis-cantarell-fonts.spec index 80c61aa..ef18a38 100644 --- a/abattis-cantarell-fonts.spec +++ b/abattis-cantarell-fonts.spec @@ -1,14 +1,14 @@ %global actualname cantarell %global fontname abattis-%{actualname} -%global fontconf 57-cantarell.conf +%global fontconf 31-cantarell.conf %global archivename1 Cantarell-Bold %global archivename2 Cantarell-Regular Name: %{fontname}-fonts Version: 0.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cantarell, a Humanist sans-serif font family Group: User Interface/X @@ -22,6 +22,8 @@ BuildRequires: fontpackages-devel BuildRequires: fontforge Requires: fontpackages-filesystem +Patch1: cantarell-fontconfig.patch + %description Cantarell is a set of fonts designed by Dave Crossland. It is a sans-serif humanist typeface family. @@ -29,6 +31,8 @@ sans-serif humanist typeface family. %prep %setup -q -n %{actualname}-fonts-%{version} +%patch1 -p1 -b .fontconfig + %build %configure make %{?_smp_mflags} @@ -53,6 +57,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \ rm -rf %{buildroot} %changelog +* Fri Feb 18 2011 Cosimo Cecchi - 0.0.1-4 +- Include upstream patch for the fontconfig snippet + * Wed Feb 09 2011 Fedora Release Engineering - 0.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/cantarell-fontconfig.patch b/cantarell-fontconfig.patch new file mode 100644 index 0000000..7e23874 --- /dev/null +++ b/cantarell-fontconfig.patch @@ -0,0 +1,65 @@ +diff --git a/fontconfig/31-cantarell.conf b/fontconfig/31-cantarell.conf +new file mode 100644 +index 0000000..2b3ab09 +--- /dev/null ++++ b/fontconfig/31-cantarell.conf +@@ -0,0 +1,18 @@ ++ ++ ++ ++ ++ ++ ++ ++ Cantarell ++ ++ ++ Cantarell ++ ++ ++ +diff --git a/fontconfig/57-cantarell.conf b/fontconfig/57-cantarell.conf +deleted file mode 100644 +index 03efec1..0000000 +--- a/fontconfig/57-cantarell.conf ++++ /dev/null +@@ -1,23 +0,0 @@ +- +- +- +- +- +- +- Cantarell +- +- sans-serif +- +- +- +- +- sans-serif +- +- Cantarell +- +- +- +diff --git a/fontconfig/Makefile.am b/fontconfig/Makefile.am +index 335a682..a6fb360 100644 +--- a/fontconfig/Makefile.am ++++ b/fontconfig/Makefile.am +@@ -1,6 +1,6 @@ + configdir = $(datadir)/fontconfig/conf.avail/ + config_DATA = \ +- 57-cantarell.conf ++ 31-cantarell.conf + + EXTRA_DIST = $(config_DATA) +