diff --git a/.gitignore b/.gitignore index e69de29..d9a81a7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Gillius-Collection.zip diff --git a/adf-gillius-2-fontconfig.conf b/adf-gillius-2-fontconfig.conf new file mode 100644 index 0000000..40fc54b --- /dev/null +++ b/adf-gillius-2-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Sans + + Gillius ADF No2 + + + + Gillius ADF No2 + + Sans + + + diff --git a/adf-gillius-fontconfig.conf b/adf-gillius-fontconfig.conf new file mode 100644 index 0000000..d85f4a6 --- /dev/null +++ b/adf-gillius-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + Sans + + Gillius ADF + + + + Gillius ADF + + Sans + + + diff --git a/adf-gillius-fonts.spec b/adf-gillius-fonts.spec new file mode 100644 index 0000000..f638fb1 --- /dev/null +++ b/adf-gillius-fonts.spec @@ -0,0 +1,97 @@ +%global fontname adf-gillius +%global fontconf 69-%{fontname} + +%global common_desc \ +The Gillius family from the Arkandis Digital Foundry is a set of sans-serif \ +typefaces intended as an alternative to Gill Sans. Its two widths, regular and \ +condensed, both feature a roman and an italic, and each includes a regular and \ +bold weight. + +Name: %{fontname}-fonts +Version: 1.008 +Release: 3%{?dist} +Summary: Gillius ADF sans-serif typeface family + +Group: User Interface/X +License: GPLv2+ with exceptions +URL: http://arkandis.tuxfamily.org/adffonts.html +Source0: http://arkandis.tuxfamily.org/fonts/Gillius-Collection.zip +Source1: %{fontname}-fontconfig.conf +Source2: %{fontname}-2-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel + +Requires: %{name}-common = %{version}-%{release} +%description +%common_desc + +This is the base variant. + +%_font_pkg -f %{fontconf}.conf GilliusADF-*.otf + + +%package common +Summary: Common files of %{fontname} +Requires: fontpackages-filesystem + +%description common +%common_desc + +This package consists of files used by other %{fontname} packages + + +%package -n %{fontname}-2-fonts +Summary: Gillius ADF No2 sans-serif typeface family +Requires: %{name}-common = %{version}-%{release} + +%description -n %{fontname}-2-fonts +%common_desc + +A slightly rounder variant, which features the same set of weights, +widths, and slopes. + +%_font_pkg -n 2 -f %{fontconf}-2.conf GilliusADFNo2-*.otf + +%prep +%setup -q -n Gillius-Collection +for file in NOTICE OTF/COPYING; do + sed "s|\r||g" $file > $file.new && \ + touch -r $file $file.new && \ + mv $file.new $file +done + + +%build + + +%install +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 %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +ln -s %{_fontconfig_templatedir}/%{fontconf}.conf \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE2} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-2.conf +ln -s %{_fontconfig_templatedir}/%{fontconf}-2.conf \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf}-2.conf + + +%files common +%defattr(0644,root,root,0755) +%doc NOTICE OTF/COPYING + +%changelog +* Mon Nov 15 2010 Michael J Gruber - 1.008-3 +- split into subpackages + +* Mon Nov 15 2010 Michael J Gruber - 1.008-2 +- Add fontconfig rules for Gillius ADF No2 + +* Sun Nov 14 2010 Michael J Gruber - 1.008-1 +- Initial packaging for Fedora diff --git a/sources b/sources index e69de29..cd19f16 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4939391ae6189a93d9d7d7f90a539f06 Gillius-Collection.zip