30a49d7
%global fontname adf-accanthis
30a49d7
%global fontconf 60-%{fontname}
30a49d7
Paul Flo Williams 0381ea9
%global archivename Accanthis-Std-20101124
30a49d7
30a49d7
%global common_desc \
Paul Flo Williams 38de8d2
A Latin typeface published by Hirwen Harendal's Arkandis Digital Foundry, \
30a49d7
Accanthis was inspired from the “Cloister Oldstyle” typeface found in the \
30a49d7
“American Specimen Book of Typefaces Suplement”. Its medium contrast is \
Paul Flo Williams 38de8d2
sufficient to be reader-friendly and deliver an elegant and refined experience.\
30a49d7
\
30a49d7
Its creator considers it as a “modernized” garaldic typeface. \
30a49d7
\
30a49d7
Accanthis is well suited to book typesetting and refined presentations.
30a49d7
30a49d7
30a49d7
Name:      %{fontname}-fonts
30a49d7
# Use the main PS version (as documented in NOTICE)
Paul Flo Williams 0381ea9
Version:   1.8
66d7ed9
Release:   4%{?dist}
30a49d7
Summary:   A “modernized” garaldic serif typeface, “Galliard” alternative
30a49d7
30a49d7
Group:     User Interface/X
30a49d7
License:   GPLv2+ with exceptions
30a49d7
URL:       http://arkandis.tuxfamily.org/adffonts.html
30a49d7
Source0:   http://arkandis.tuxfamily.org/fonts/%{archivename}.zip
30a49d7
Source1:   http://arkandis.tuxfamily.org/docs/Accanthis-Cat.pdf
30a49d7
Source11:  %{name}-fontconfig.conf
30a49d7
Source12:  %{name}-fontconfig-2.conf
30a49d7
Source13:  %{name}-fontconfig-3.conf
5915183
30a49d7
30a49d7
BuildArch:     noarch
30a49d7
BuildRequires: fontpackages-devel
30a49d7
30a49d7
%description
30a49d7
%common_desc
30a49d7
30a49d7
It is intended to serve as alternative to the “Galliard” typeface.
30a49d7
30a49d7
%_font_pkg -f %{fontconf}.conf AccanthisADFStd-*.otf
30a49d7
30a49d7
30a49d7
%package common
30a49d7
Summary:  Common files of %{name}
30a49d7
Requires: fontpackages-filesystem
30a49d7
30a49d7
%description common
30a49d7
%common_desc
30a49d7
30a49d7
This package consists of files used by other %{name} packages.
30a49d7
30a49d7
30a49d7
%package -n adf-accanthis-2-fonts
30a49d7
Summary:  A “modernized” garaldic serif, “Horley old style” alternative
30a49d7
Requires: %{name}-common = %{version}-%{release}
30a49d7
30a49d7
%description -n adf-accanthis-2-fonts
30a49d7
%common_desc
30a49d7
Paul Flo Williams 38de8d2
This variant is closer to the “Horley old style” typeface than the original
30a49d7
version.
30a49d7
30a49d7
%_font_pkg -n 2 -f %{fontconf}-2.conf AccanthisADFStdNo2-*.otf
30a49d7
30a49d7
30a49d7
%package -n adf-accanthis-3-fonts
30a49d7
Summary:  A “modernized” garaldic serif typeface
30a49d7
Requires: %{name}-common = %{version}-%{release}
30a49d7
30a49d7
%description -n adf-accanthis-3-fonts
30a49d7
%common_desc
30a49d7
Paul Flo Williams 38de8d2
This variant remixes a slightly modified Accanthis nº2 with elements from the
30a49d7
original Italic and changes to k, p, z and numbers.
30a49d7
30a49d7
30a49d7
%_font_pkg -n 3 -f %{fontconf}-3.conf AccanthisADFStdNo3-*.otf
30a49d7
30a49d7
30a49d7
%prep
30a49d7
%setup -q -n %{archivename}
30a49d7
install -m 0644 -p %{SOURCE1} .
Paul Flo Williams 0381ea9
for txt in NOTICE.txt OTF/COPYING ; do
30a49d7
   fold -s $txt > $txt.new
30a49d7
   sed -i 's/\r//' $txt.new
30a49d7
   touch -r $txt $txt.new
30a49d7
   mv $txt.new $txt
30a49d7
done
30a49d7
30a49d7
30a49d7
%build
30a49d7
30a49d7
30a49d7
%install
30a49d7
rm -fr %{buildroot}
30a49d7
30a49d7
install -m 0755 -d %{buildroot}%{_fontdir}
30a49d7
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
30a49d7
30a49d7
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
30a49d7
                   %{buildroot}%{_fontconfig_confdir}
30a49d7
30a49d7
install -m 0644 -p %{SOURCE11} \
30a49d7
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
30a49d7
install -m 0644 -p %{SOURCE12} \
30a49d7
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-2.conf
30a49d7
install -m 0644 -p %{SOURCE13} \
30a49d7
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-3.conf
30a49d7
30a49d7
for fconf in %{fontconf}.conf \
30a49d7
             %{fontconf}-2.conf \
30a49d7
             %{fontconf}-3.conf ; do
30a49d7
  ln -s %{_fontconfig_templatedir}/$fconf \
30a49d7
        %{buildroot}%{_fontconfig_confdir}/$fconf
30a49d7
done
30a49d7
30a49d7
30a49d7
%clean
30a49d7
rm -fr %{buildroot}
30a49d7
30a49d7
30a49d7
%files common
30a49d7
%defattr(0644,root,root,0755)
Paul Flo Williams 0381ea9
%doc NOTICE.txt OTF/COPYING *.pdf
30a49d7
30a49d7
30a49d7
%changelog
66d7ed9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-4
66d7ed9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
66d7ed9
d600534
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
d600534
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d600534
Paul Flo Williams 38de8d2
* Wed Jul 25 2012 Paul Flo Williams <paul@frixxon.co.uk> - 1.8-2
Paul Flo Williams 38de8d2
- Correct some spellings
Paul Flo Williams 38de8d2
Paul Flo Williams 0381ea9
* Wed Jul 25 2012 Paul Flo Williams <paul@frixxon.co.uk> - 1.8-1
Paul Flo Williams 0381ea9
- New upstream release
Paul Flo Williams 0381ea9
2864393
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-7
2864393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2864393
fe98d83
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-6
fe98d83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe98d83
407861a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
407861a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
407861a
a261871
* Sun Sep 06 2009 <nicolas.mailhot at laposte.net>
a261871
- 1.6-4
a261871
— Stealth upstream update
a261871
a261871
a261871
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
a261871
— 1.6-3
6021d3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6021d3d
30a49d7
* Mon Jul 13 2009 <nicolas.mailhot at laposte.net>
30a49d7
- 1.6-2
30a49d7
— Use a macro construct friendlier to pre-F12 releases
30a49d7
30a49d7
* Sun Jul 12 2009 <nicolas.mailhot at laposte.net>
30a49d7
- 1.6-1
30a49d7
– Initial packaging