Initial import
This commit is contained in:
parent
fa356454cf
commit
8eacf2b410
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/cantarell-fonts-0.0.1.tar.bz2
|
61
abattis-cantarell-fonts.spec
Normal file
61
abattis-cantarell-fonts.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
%global actualname cantarell
|
||||||
|
|
||||||
|
%global fontname abattis-%{actualname}
|
||||||
|
%global fontconf 57-cantarell.conf
|
||||||
|
|
||||||
|
%global archivename1 Cantarell-Bold
|
||||||
|
%global archivename2 Cantarell-Regular
|
||||||
|
|
||||||
|
Name: %{fontname}-fonts
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 2%{?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.bz2
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
BuildRequires: fontforge
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
|
%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
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
fontforge -lang=ff -c 'Open($1); Generate($2);' ./src/%{archivename1}.sfd %{archivename1}.otf
|
||||||
|
fontforge -lang=ff -c 'Open($1); Generate($2);' ./src/%{archivename2}.sfd %{archivename2}.otf
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
||||||
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
|
install -m 0644 -p fontconfig/%{fontconf} \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||||
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||||
|
|
||||||
|
%_font_pkg -f %{fontconf} *.otf
|
||||||
|
%doc COPYING NEWS README
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Feb 8 2011 Stephen Smoogen <ssmoogen@redhat.com> - 0.0.1-2
|
||||||
|
- Fixed to meet review standards
|
||||||
|
|
||||||
|
* Tue Feb 8 2011 Cosimo Cecchi <cosimoc@redhat.com> - 0.0.1-1
|
||||||
|
- Initial packaging of abattis-cantarell-fonts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user