|
 |
f4772a |
%global fontname comic-neue
|
|
 |
f4772a |
%global fontconf 63-%{fontname}
|
|
 |
f4772a |
|
|
 |
f4772a |
%global common_desc \
|
|
 |
f4772a |
Comic Neue is a font created by Craig Rozynski that takes inspiration\
|
|
 |
f4772a |
from Comic Sans. It is perfect as a display face, for marking up comments,\
|
|
 |
f4772a |
and writing passive aggressive office memos.
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
Name: %{fontname}-fonts
|
|
 |
f4772a |
Version: 2.2
|
|
 |
f4772a |
Release: 6%{?dist}
|
|
 |
f4772a |
Summary: A typeface family inspired by Comic Sans
|
|
 |
f4772a |
|
|
 |
f4772a |
Group: User Interface/X
|
|
 |
f4772a |
License: OFL
|
|
 |
f4772a |
URL: http://comicneue.com/
|
|
 |
f4772a |
Source0: http://comicneue.com/%{fontname}-%{version}.zip
|
|
 |
f4772a |
Source1: %{fontname}-fontconfig.conf
|
|
 |
f4772a |
Source2: %{fontname}-angular-fontconfig.conf
|
|
 |
f4772a |
|
|
 |
f4772a |
BuildArch: noarch
|
|
 |
f4772a |
BuildRequires: fontpackages-devel
|
|
 |
f4772a |
|
|
 |
f4772a |
Requires: %{name}-common = %{version}-%{release}
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%description
|
|
 |
f4772a |
%common_desc
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%package common
|
|
 |
f4772a |
Summary: Common files of %{name}
|
|
 |
f4772a |
Requires: fontpackages-filesystem
|
|
 |
f4772a |
|
|
 |
f4772a |
%description common
|
|
 |
f4772a |
%common_desc
|
|
 |
f4772a |
|
|
 |
f4772a |
This package consists of files used by other %{name} packages.
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%package -n %{fontname}-angular-fonts
|
|
 |
f4772a |
Summary: A typeface family inspired by Comic Sans, angular variant
|
|
 |
f4772a |
Requires: %{name}-common = %{version}-%{release}
|
|
 |
f4772a |
|
|
 |
f4772a |
%description -n %{fontname}-angular-fonts
|
|
 |
f4772a |
%common_desc
|
|
 |
f4772a |
|
|
 |
f4772a |
The Comic Neue Angular variant features angular terminals rather than round.
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%prep
|
|
 |
f4772a |
%setup -q -n %{fontname}-%{version}
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%build
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%install
|
|
 |
f4772a |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
 |
f4772a |
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
|
 |
f4772a |
|
|
 |
f4772a |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
 |
f4772a |
%{buildroot}%{_fontconfig_confdir}
|
|
 |
f4772a |
|
|
 |
f4772a |
# Repeat for every font family
|
|
 |
f4772a |
install -m 0644 -p %{SOURCE1} \
|
|
 |
f4772a |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
 |
f4772a |
install -m 0644 -p %{SOURCE2} \
|
|
 |
f4772a |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-angular.conf
|
|
 |
f4772a |
|
|
 |
f4772a |
for fconf in %{fontconf}.conf \
|
|
 |
f4772a |
%{fontconf}-angular.conf ; do
|
|
 |
f4772a |
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
 |
f4772a |
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
 |
f4772a |
done
|
|
 |
f4772a |
|
|
 |
f4772a |
%_font_pkg -f %{fontconf}.conf ComicNeue-Regular.otf ComicNeue_*.otf
|
|
 |
f4772a |
%_font_pkg -n angular -f %{fontconf}-angular.conf ComicNeue-Angular-Regular.otf ComicNeue-Angular_*.otf
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%files common
|
|
 |
f4772a |
%doc Booklet-ComicNeue.pdf FONTLOG.txt
|
|
 |
f4772a |
%license SIL-License.txt OFL-FAQ.txt
|
|
 |
f4772a |
|
|
 |
f4772a |
|
|
 |
f4772a |
%changelog
|
|
 |
f4772a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-6
|
|
 |
f4772a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
f4772a |
|
|
 |
f4772a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-5
|
|
 |
f4772a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
f4772a |
|
|
 |
f4772a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
|
 |
f4772a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
f4772a |
|
|
 |
f4772a |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
|
|
 |
f4772a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
f4772a |
|
|
 |
f4772a |
* Wed Dec 02 2015 Karel Volný <kvolny@redhat.com> 2.2-2
|
|
 |
f4772a |
- fixes as per review RHBZ#1271787#c3
|
|
 |
f4772a |
- removed %%clean
|
|
 |
f4772a |
- removed %%defattr
|
|
 |
f4772a |
- moved %%_font_pkg to %%install section
|
|
 |
f4772a |
|
|
 |
f4772a |
* Wed Oct 14 2015 Karel Volný <kvolny@redhat.com> 2.2-1
|
|
 |
f4772a |
- Initial release
|