|
|
01aaf36 |
%define fontname silkscreen
|
|
|
01aaf36 |
%define fontdir %{_datadir}/fonts/%{fontname}
|
|
|
01aaf36 |
%define fontconfdir %{_sysconfdir}/fonts/conf.d
|
|
|
01aaf36 |
|
|
|
01aaf36 |
Name: %{fontname}-fonts
|
|
|
01aaf36 |
Summary: Silkscreen four member type family
|
|
|
01aaf36 |
Version: 1.0
|
|
|
01aaf36 |
Release: 1%{?dist}
|
|
|
01aaf36 |
# License attribution confirmed by author and Open Font Library
|
|
|
01aaf36 |
# http://openfontlibrary.org/media/files/jkottke/218
|
|
|
01aaf36 |
License: OFL
|
|
|
01aaf36 |
Group: User Interface/X
|
|
|
01aaf36 |
Source0: http://www.kottke.org/plus/type/silkscreen/download/silkscreen.tar.gz
|
|
|
01aaf36 |
URL: http://www.kottke.org/plus/type/silkscreen/
|
|
|
01aaf36 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
01aaf36 |
BuildArch: noarch
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%description
|
|
|
01aaf36 |
Silkscreen is a four member type family for your Web graphics created by Jason
|
|
|
01aaf36 |
Kottke. Silkscreen is best used in places where extremely small graphical
|
|
|
01aaf36 |
display type is needed. The primary use is for navigational items (nav bars,
|
|
|
01aaf36 |
menus, etc), but it works well wherever small type is needed. In order to
|
|
|
01aaf36 |
preserve the proper spacing and letterforms, Silkscreen should be used at 8pt.
|
|
|
01aaf36 |
multiples (8pt., 16pt., 24pt., etc.) with anti-aliasing turned off.
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%prep
|
|
|
01aaf36 |
%setup -q -c -n %{name}
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%build
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%install
|
|
|
01aaf36 |
rm -rf $RPM_BUILD_ROOT
|
|
|
01aaf36 |
install -m 0755 -d $RPM_BUILD_ROOT%{fontdir}
|
|
|
01aaf36 |
install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{fontdir}
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%clean
|
|
|
01aaf36 |
rm -rf $RPM_BUILD_ROOT
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%post
|
|
|
01aaf36 |
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
01aaf36 |
%{_bindir}/fc-cache -f %{fontdir} || :
|
|
|
01aaf36 |
fi
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%postun
|
|
|
01aaf36 |
if [ "$1" = "0" ]; then
|
|
|
01aaf36 |
if [ -x %{_bindir}/fc-cache ]; then
|
|
|
01aaf36 |
%{_bindir}/fc-cache -f %{fontdir} || :
|
|
|
01aaf36 |
fi
|
|
|
01aaf36 |
fi
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%files
|
|
|
01aaf36 |
%defattr(0644,root,root,0755)
|
|
|
01aaf36 |
%doc readme.txt
|
|
|
01aaf36 |
%dir %{fontdir}
|
|
|
01aaf36 |
%{fontdir}/*.ttf
|
|
|
01aaf36 |
|
|
|
01aaf36 |
%changelog
|
|
|
01aaf36 |
* Tue Dec 11 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.0-1
|
|
|
01aaf36 |
- Initial package for Fedora
|