From f4772aa8e2dd629a96b53e75059323edd7ea1e47 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 04:10:02 +0000 Subject: import comic-neue-fonts-2.2-6.el8 --- diff --git a/.comic-neue-fonts.metadata b/.comic-neue-fonts.metadata new file mode 100644 index 0000000..66e11d1 --- /dev/null +++ b/.comic-neue-fonts.metadata @@ -0,0 +1 @@ +bb8ad55db7955188e1e8d9ccbb5f884137aee13a SOURCES/comic-neue-2.2.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e71f8b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/comic-neue-2.2.zip diff --git a/SOURCES/comic-neue-angular-fontconfig.conf b/SOURCES/comic-neue-angular-fontconfig.conf new file mode 100644 index 0000000..baa5726 --- /dev/null +++ b/SOURCES/comic-neue-angular-fontconfig.conf @@ -0,0 +1,22 @@ + + + + + sans-serif + + Comic Neue Angular + + + + Comic Neue Angular + + sans-serif + + + + Comic Sans + + Comic Neue Angular + + + diff --git a/SOURCES/comic-neue-fontconfig.conf b/SOURCES/comic-neue-fontconfig.conf new file mode 100644 index 0000000..b96bf41 --- /dev/null +++ b/SOURCES/comic-neue-fontconfig.conf @@ -0,0 +1,22 @@ + + + + + sans-serif + + Comic Neue + + + + Comic Neue + + sans-serif + + + + Comic Sans + + Comic Neue + + + diff --git a/SPECS/comic-neue-fonts.spec b/SPECS/comic-neue-fonts.spec new file mode 100644 index 0000000..6a84390 --- /dev/null +++ b/SPECS/comic-neue-fonts.spec @@ -0,0 +1,108 @@ +%global fontname comic-neue +%global fontconf 63-%{fontname} + +%global common_desc \ +Comic Neue is a font created by Craig Rozynski that takes inspiration\ +from Comic Sans. It is perfect as a display face, for marking up comments,\ +and writing passive aggressive office memos. + + +Name: %{fontname}-fonts +Version: 2.2 +Release: 6%{?dist} +Summary: A typeface family inspired by Comic Sans + +Group: User Interface/X +License: OFL +URL: http://comicneue.com/ +Source0: http://comicneue.com/%{fontname}-%{version}.zip +Source1: %{fontname}-fontconfig.conf +Source2: %{fontname}-angular-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel + +Requires: %{name}-common = %{version}-%{release} + + +%description +%common_desc + + +%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 %{fontname}-angular-fonts +Summary: A typeface family inspired by Comic Sans, angular variant +Requires: %{name}-common = %{version}-%{release} + +%description -n %{fontname}-angular-fonts +%common_desc + +The Comic Neue Angular variant features angular terminals rather than round. + + + +%prep +%setup -q -n %{fontname}-%{version} + + +%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} + +# Repeat for every font family +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE2} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-angular.conf + +for fconf in %{fontconf}.conf \ + %{fontconf}-angular.conf ; do + ln -s %{_fontconfig_templatedir}/$fconf \ + %{buildroot}%{_fontconfig_confdir}/$fconf +done + +%_font_pkg -f %{fontconf}.conf ComicNeue-Regular.otf ComicNeue_*.otf +%_font_pkg -n angular -f %{fontconf}-angular.conf ComicNeue-Angular-Regular.otf ComicNeue-Angular_*.otf + + +%files common +%doc Booklet-ComicNeue.pdf FONTLOG.txt +%license SIL-License.txt OFL-FAQ.txt + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Dec 02 2015 Karel Volný 2.2-2 +- fixes as per review RHBZ#1271787#c3 +- removed %%clean +- removed %%defattr +- moved %%_font_pkg to %%install section + +* Wed Oct 14 2015 Karel Volný 2.2-1 +- Initial release