6ce7fee
%global fontname woodardworks-laconic
6ce7fee
%global fontconf 60-%{fontname}
6ce7fee
6ce7fee
Name:		%{fontname}-fonts
6ce7fee
Summary:	An artistic and minimal sans-serif font family
6ce7fee
Version:	001.001
bf6679d
Release:	4%{?dist}
6ce7fee
License:	OFL
6ce7fee
Group:		User Interface/X
6ce7fee
Source0:	http://www.woodardworks.com/laconic.zip
6ce7fee
Source1:	%{name}-fontconfig.conf
6ce7fee
Source2:	%{fontname}-shadow-fonts-fontconfig.conf
6ce7fee
URL:		http://www.woodardworks.com/type13.html
6ce7fee
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6ce7fee
BuildRequires:	fontpackages-devel
6ce7fee
Requires:	fontpackages-filesystem
6ce7fee
BuildArch:	noarch
6ce7fee
6ce7fee
%description
6ce7fee
Laconic is a typeface font design meant to be dry without quite seeming 
6ce7fee
parched. Curves and diagonals are kept to a bare minimum without sacrificing
6ce7fee
legibility. What it lacks in design features are more than made up for in 
6ce7fee
OpenType features. All the weights contain small caps, proportial figures,
6ce7fee
old style figures, tabular figures, ligatures and stylistic alternates.
6ce7fee
6ce7fee
%package -n %{fontname}-shadow-fonts
6ce7fee
Summary:	A shadowed version of the Laconic sans-serif font family
6ce7fee
Group:		User Interface/X
6ce7fee
Requires:	fontpackages-filesystem
6ce7fee
6ce7fee
%description -n %{fontname}-shadow-fonts
6ce7fee
Laconic is a typeface font design meant to be dry without quite seeming
6ce7fee
parched. Curves and diagonals are kept to a bare minimum without sacrificing
6ce7fee
legibility. What it lacks in design features are more than made up for in
6ce7fee
OpenType features. All the weights contain small caps, proportial figures,
6ce7fee
old style figures, tabular figures, ligatures and stylistic alternates.
6ce7fee
This package contains the Laconic Shadow font face.
6ce7fee
6ce7fee
%prep
6ce7fee
%setup -q -c -T -n laconic
6ce7fee
# We have to do this to avoid leaving a stray __MACOSX dir in the buildroot
6ce7fee
unzip -j -L -q %{SOURCE0}
6ce7fee
# Get rid of junk files
6ce7fee
rm -rf ._*
6ce7fee
6ce7fee
%build
6ce7fee
# Nothing to do here, already in OTF.
6ce7fee
6ce7fee
%install
6ce7fee
rm -rf %{buildroot}
6ce7fee
install -m 0755 -d %{buildroot}%{_fontdir}
6ce7fee
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
6ce7fee
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
6ce7fee
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
6ce7fee
install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-shadow.conf
6ce7fee
ln -s %{_fontconfig_templatedir}/%{fontconf}.conf %{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf
6ce7fee
ln -s %{_fontconfig_templatedir}/%{fontconf}-shadow.conf %{buildroot}%{_fontconfig_confdir}/%{fontconf}-shadow.conf
6ce7fee
6ce7fee
%clean
6ce7fee
rm -rf %{buildroot}
6ce7fee
6ce7fee
%_font_pkg -f %{fontconf}.conf Laconic_Bold.otf Laconic_Light.otf Laconic_Regular.otf
6ce7fee
%doc laconic_eula.pdf
6ce7fee
6ce7fee
%_font_pkg -n shadow -f %{fontconf}-shadow.conf Laconic_Shadow.otf
6ce7fee
%doc laconic_eula.pdf
6ce7fee
6ce7fee
%changelog
bf6679d
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 001.001-4
bf6679d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bf6679d
6ce7fee
* Tue May 26 2009 Tom "spot" Callaway <tcallawa@redhat.com> 001.001-3
6ce7fee
- fix shadow fontconfig file
6ce7fee
6ce7fee
* Tue May 26 2009 Tom "spot" Callaway <tcallawa@redhat.com> 001.001-2
6ce7fee
- unzip manually to avoid leaving stray directories
6ce7fee
- split off shadow fontface into subpackage
6ce7fee
- mark fontconfig files as sans-serif
6ce7fee
6ce7fee
* Wed Apr 1 2009 Tom "spot" Callaway <tcallawa@redhat.com> 001.001-1
6ce7fee
- Initial package for Fedora