diff --git a/.cvsignore b/.cvsignore index e69de29..716ccc9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +Accanthis-Cat.pdf +Accanthis-Std.zip diff --git a/adf-accanthis-fonts-fontconfig-2.conf b/adf-accanthis-fonts-fontconfig-2.conf new file mode 100644 index 0000000..e357a75 --- /dev/null +++ b/adf-accanthis-fonts-fontconfig-2.conf @@ -0,0 +1,28 @@ + + + + + serif + + Accanthis ADF Std No2 + + + + Accanthis ADF Std No2 + + serif + + + + Accanthis ADF Std + + Accanthis ADF Std No2 + + + + Accanthis ADF Std No3 + + Accanthis ADF Std No2 + + + diff --git a/adf-accanthis-fonts-fontconfig-3.conf b/adf-accanthis-fonts-fontconfig-3.conf new file mode 100644 index 0000000..42bbe02 --- /dev/null +++ b/adf-accanthis-fonts-fontconfig-3.conf @@ -0,0 +1,28 @@ + + + + + serif + + Accanthis ADF Std No3 + + + + Accanthis ADF Std No3 + + serif + + + + Accanthis ADF Std + + Accanthis ADF Std No3 + + + + Accanthis ADF Std No2 + + Accanthis ADF Std No3 + + + diff --git a/adf-accanthis-fonts-fontconfig.conf b/adf-accanthis-fonts-fontconfig.conf new file mode 100644 index 0000000..2544e46 --- /dev/null +++ b/adf-accanthis-fonts-fontconfig.conf @@ -0,0 +1,28 @@ + + + + + serif + + Accanthis ADF Std + + + + Accanthis ADF Std + + serif + + + + Accanthis ADF Std No2 + + Accanthis ADF Std + + + + Accanthis ADF Std No3 + + Accanthis ADF Std + + + diff --git a/adf-accanthis-fonts.spec b/adf-accanthis-fonts.spec new file mode 100644 index 0000000..4c383dc --- /dev/null +++ b/adf-accanthis-fonts.spec @@ -0,0 +1,135 @@ +%global fontname adf-accanthis +%global fontconf 60-%{fontname} + +%global archivename Accanthis-Std + +%global common_desc \ +A latin typeface published by Hirwen Harendal's Arkandis Digital Foundry, \ +Accanthis was inspired from the “Cloister Oldstyle” typeface found in the \ +“American Specimen Book of Typefaces Suplement”. Its medium contrast is \ +sufficient to be reader-frendly and deliver a elegant and refined experience.\ +\ +Its creator considers it as a “modernized” garaldic typeface. \ +\ +Accanthis is well suited to book typesetting and refined presentations. + + +Name: %{fontname}-fonts +# Use the main PS version (as documented in NOTICE) +Version: 1.6 +Release: 2%{?dist} +Summary: A “modernized” garaldic serif typeface, “Galliard” alternative + +Group: User Interface/X +License: GPLv2+ with exceptions +URL: http://arkandis.tuxfamily.org/adffonts.html +Source0: http://arkandis.tuxfamily.org/fonts/%{archivename}.zip +Source1: http://arkandis.tuxfamily.org/docs/Accanthis-Cat.pdf +Source11: %{name}-fontconfig.conf +Source12: %{name}-fontconfig-2.conf +Source13: %{name}-fontconfig-3.conf +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: fontpackages-devel + +%description +%common_desc + +It is intended to serve as alternative to the “Galliard” typeface. + +%_font_pkg -f %{fontconf}.conf AccanthisADFStd-*.otf + + +%package common +Summary: Common files of %{name} +Requires: fontpackages-filesystem + +%description common +%common_desc + +This package consists of files used by other %{name} packages. + + +%package -n adf-accanthis-2-fonts +Summary: A “modernized” garaldic serif, “Horley old style” alternative +Requires: %{name}-common = %{version}-%{release} + +%description -n adf-accanthis-2-fonts +%common_desc + +This variant is closer to the “Horley old style” typeface than the original \ +version. + +%_font_pkg -n 2 -f %{fontconf}-2.conf AccanthisADFStdNo2-*.otf + + +%package -n adf-accanthis-3-fonts +Summary: A “modernized” garaldic serif typeface +Requires: %{name}-common = %{version}-%{release} + +%description -n adf-accanthis-3-fonts +%common_desc + +This variant remixes a slightly modified Accanthis n°2 with elements from the +original Italic and changes to k, p, z and numbers. + + +%_font_pkg -n 3 -f %{fontconf}-3.conf AccanthisADFStdNo3-*.otf + + +%prep +%setup -q -n %{archivename} +install -m 0644 -p %{SOURCE1} . +for txt in NOTICE */COPYING ; do + fold -s $txt > $txt.new + sed -i 's/\r//' $txt.new + touch -r $txt $txt.new + mv $txt.new $txt +done + + +%build + + +%install +rm -fr %{buildroot} + +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE11} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE12} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-2.conf +install -m 0644 -p %{SOURCE13} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-3.conf + +for fconf in %{fontconf}.conf \ + %{fontconf}-2.conf \ + %{fontconf}-3.conf ; do + ln -s %{_fontconfig_templatedir}/$fconf \ + %{buildroot}%{_fontconfig_confdir}/$fconf +done + + +%clean +rm -fr %{buildroot} + + +%files common +%defattr(0644,root,root,0755) +%doc NOTICE OTF/COPYING *.pdf + + +%changelog +* Mon Jul 13 2009 +- 1.6-2 +— Use a macro construct friendlier to pre-F12 releases + +* Sun Jul 12 2009 +- 1.6-1 +– Initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..f65fe34 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +adf-accanthis-fonts-1_6-2_fc12:HEAD:adf-accanthis-fonts-1.6-2.fc12.src.rpm:1247768269 diff --git a/sources b/sources index e69de29..751f324 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +67d95f1e596cccae209c40b67062757d Accanthis-Cat.pdf +8db8f207b4c8dc248d84f7f8af017e51 Accanthis-Std.zip