Commit 2595a47a authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add cantarell fonts

parent e3235d8a
......@@ -38,7 +38,7 @@ PACKAGES = \
graphite2 harfbuzz libdatrie libthai pango atk at-spi2-core at-spi2-atk gdk-pixbuf2 gtk3 \
itstool yelp-xsl yelp-tools \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 \
$(NULL)
......
%global actualname cantarell
%global fontname abattis-%{actualname}
%global fontconf 31-cantarell.conf
%global archivename1 Cantarell-Bold
%global archivename2 Cantarell-Regular
Name: %{fontname}-fonts
Version: 0.0.16
Release: 1%{?dist}
Summary: Cantarell, a Humanist sans-serif font family
Group: User Interface/X
License: OFL
URL: http://abattis.org/cantarell/
Source0: http://download.gnome.org/sources/%{actualname}-fonts/0.0/%{actualname}-fonts-%{version}.tar.xz
BuildArch: noarch
%description
Cantarell is a set of fonts designed by Dave Crossland.
It is a sans-serif humanist typeface family.
%prep
%setup -q -n %{actualname}-fonts-%{version}
%build
%install
install -m 0755 -d %{buildroot}%{_datadir}/fonts/abattis-cantarell
install -m 0644 -p otf/*.otf %{buildroot}%{_datadir}/fonts/abattis-cantarell
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d \
%{buildroot}%{_datadir}/fontconfig/conf.avail
install -m 0644 -p fontconfig/31-cantarell.conf \
%{buildroot}%{_datadir}/fontconfig/conf.avail
ln -s %{_datadir}/fontconfig/conf.avail/31-cantarell.conf \
%{buildroot}%{_sysconfdir}/fonts/conf.d/31-cantarell.conf
%files
%defattr(0644,root,root,0755)
%doc COPYING NEWS README
%{_datadir}/fonts/abattis-cantarell
%{_datadir}/fontconfig/conf.avail/*
%{_sysconfdir}/fonts/conf.d/*
%changelog
* Mon Nov 24 2014 Alexander Larsson <alexl@redhat.com> - 0.0.16-1
- Add initial version
......@@ -12,6 +12,7 @@ Requires: gtk3 gtk3-immodules
Requires: hicolor-icon-theme
Requires: adwaita-icon-theme
Requires: dejavu-fonts
Requires: abattis-cantarell-fonts
Requires: dbus-libs
Requires: librsvg2
Requires: dbus-glib
......
......@@ -13,6 +13,7 @@ BuildRequires: gtk3 gtk3-immodules
BuildRequires: hicolor-icon-theme
BuildRequires: adwaita-icon-theme
BuildRequires: dejavu-fonts
BuildRequires: abattis-cantarell-fonts
BuildRequires: dbus-libs
BuildRequires: librsvg2
BuildRequires: dbus-glib
......@@ -61,6 +62,8 @@ Requires: pango-devel
Requires: pixman-devel
Requires: vala-devel
Requires: dejavu-fonts
Requires: abattis-cantarell-fonts
%description
Meta package for Gnome SDK dependencies
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment