import gnu-free-fonts-20120503-18.el8

This commit is contained in:
CentOS Sources 2019-05-07 06:01:30 -04:00 committed by Andrew Lukoshko
commit a8dfdb719e
11 changed files with 500 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
SOURCES/freefont-src-20120503.tar.gz

1
.gnu-free-fonts.metadata Normal file
View File

@ -0,0 +1 @@
db724016287db0ce06c4c51b79b4339ba11dfbb3 SOURCES/freefont-src-20120503.tar.gz

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>FreeMono</family>
</prefer>
</alias>
<alias>
<family>FreeMono</family>
<default>
<family>monospace</family>
</default>
</alias>
</fontconfig>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>FreeSans</family>
</prefer>
</alias>
<alias>
<family>FreeSans</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<match target="scan">
<test name="family">
<string>FreeSans</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>bho</string>
<string>brx</string>
<string>doi</string>
<string>hi</string>
<string>hne</string>
<string>kok</string>
<string>mai</string>
<string>mr</string>
<string>sa</string>
<string>sat</string>
<string>as</string>
<string>bn</string>
<string>pa</string>
</langset>
</minus>
</edit>
</match>
</fontconfig>

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>FreeSerif</family>
</prefer>
</alias>
<alias>
<family>FreeSerif</family>
<default>
<family>serif</family>
</default>
</alias>
<match target="scan">
<test name="family">
<string>FreeSerif</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>bho</string>
<string>brx</string>
<string>doi</string>
<string>hi</string>
<string>hne</string>
<string>kok</string>
<string>mai</string>
<string>mr</string>
<string>sa</string>
<string>sat</string>
<string>as</string>
<string>bn</string>
<string>pa</string>
</langset>
</minus>
</edit>
</match>
</fontconfig>

View File

@ -0,0 +1,40 @@
--- freefont-20120503/sfd/FreeSansBold.sfd 2012-05-03 18:53:49.000000000 +0530
+++ freefont-20120503/sfd/FreeSansBold.sfd 2013-05-16 12:39:06.399829387 +0530
@@ -59117,6 +59117,7 @@ Substitution2: "Substitute rakaar.blf fo
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
LCarets2: 1 0
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
EndChar
StartChar: dev_ha_rrvocalic.blws
--- freefont-20120503/sfd/FreeSans.sfd 2012-05-03 18:53:49.000000000 +0530
+++ freefont-20120503/sfd/FreeSans.sfd 2013-05-16 12:42:00.215227977 +0530
@@ -83796,6 +83796,7 @@ EndSplineSet
Validated: 3073
LCarets2: 1 0
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
EndChar
StartChar: dev_ra_anusvara.rphf
--- freefont-20120503/sfd/FreeSerifBold.sfd 2012-05-03 18:53:49.000000000 +0530
+++ freefont-20120503/sfd/FreeSerifBold.sfd 2013-05-16 13:37:31.159274925 +0530
@@ -112581,6 +112581,7 @@ EndSplineSet
Validated: 3073
LCarets2: 1 0
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf
EndChar
--- freefont-20120503/sfd/FreeSerif.sfd 2012-05-03 18:53:49.000000000 +0530
+++ freefont-20120503/sfd/FreeSerif.sfd 2013-05-16 13:36:04.382132354 +0530
@@ -328421,6 +328421,7 @@ Validated: 1
LCarets2: 1 0
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf
EndChar

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>gnu-free-mono</id>
<metadata_license>CC-BY-3.0</metadata_license>
<extends>gnu-free</extends>
</component>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>gnu-free-sans</id>
<metadata_license>CC-BY-3.0</metadata_license>
<extends>gnu-free</extends>
</component>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>gnu-free-serif</id>
<metadata_license>CC-BY-3.0</metadata_license>
<extends>gnu-free</extends>
</component>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>gnu-free</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Freefont</name>
<summary>Free UCS Outline Fonts</summary>
<description>
<p>
Gnu FreeFont is a free family of scalable outline fonts, suitable for general
use on computers and for desktop publishing. It is Unicode-encoded for
compatibility with all modern operating systems.
Besides a full set of characters for writing systems based on the Latin
alphabet, FreeFont contains large selection of characters from other writing
systems some of which are hard to find elsewhere.
FreeFont also contains a large set of symbol characters, both technical and
decorative. We are especially pleased with the Mathematical Operators range,
with which most of the glyphs used in LaTeX can be displayed.
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
<url type="homepage">http://www.gnu.org/software/freefont/</url>
</component>

308
SPECS/gnu-free-fonts.spec Normal file
View File

@ -0,0 +1,308 @@
%global fontname gnu-free
%global fontconf 69-%{fontname}
Name: %{fontname}-fonts
Version: 20120503
Release: 18%{?dist}
Summary: Free UCS Outline Fonts
# Standard font exception
License: GPLv3+ with exceptions
URL: http://www.gnu.org/software/freefont/
Source0: http://ftp.gnu.org/gnu/freefont/freefont-src-%{version}.tar.gz
Source2: %{fontconf}-mono.conf
Source3: %{fontconf}-sans.conf
Source4: %{fontconf}-serif.conf
Source5: %{fontname}.metainfo.xml
Source6: %{fontname}-mono.metainfo.xml
Source7: %{fontname}-sans.metainfo.xml
Source8: %{fontname}-serif.metainfo.xml
Patch0: gnu-free-fonts-devanagari-rendering.patch
BuildArch: noarch
BuildRequires: fontpackages-devel fontforge
# following is needed as we are calling /usr/bin/2to3
BuildRequires: /usr/bin/2to3
%global common_desc \
Gnu FreeFont is a free family of scalable outline fonts, suitable for general \
use on computers and for desktop publishing. It is Unicode-encoded for \
compatibility with all modern operating systems. \
\
Besides a full set of characters for writing systems based on the Latin \
alphabet, FreeFont contains large selection of characters from other writing \
systems some of which are hard to find elsewhere. \
\
FreeFont also contains a large set of symbol characters, both technical and \
decorative. We are especially pleased with the Mathematical Operators range, \
with which most of the glyphs used in LaTeX can be displayed.
%description
%common_desc
%package common
Summary: Common files for freefont (documentation…)
Requires: fontpackages-filesystem
Obsoletes: gnu-free-fonts-compat < 20120503
%description common
%common_desc
This package consists of files used by other %{name} packages.
%package -n %{fontname}-mono-fonts
Summary: GNU FreeFont Monospaced Font
Requires: %{name}-common = %{version}-%{release}
%description -n %{fontname}-mono-fonts
%common_desc
This package contains the GNU FreeFont monospaced font.
%package -n %{fontname}-sans-fonts
Summary: GNU FreeFont Sans-Serif Font
Requires: %{name}-common = %{version}-%{release}
%description -n %{fontname}-sans-fonts
%common_desc
This package contains the GNU FreeFont sans-serif font.
%package -n %{fontname}-serif-fonts
Summary: GNU FreeFont Serif Font
Requires: %{name}-common = %{version}-%{release}
%description -n %{fontname}-serif-fonts
%common_desc
This package contains the GNU FreeFont serif font.
%prep
%setup -qn freefont-%{version}
%patch0 -p1 -b .devanagari
# move build scripts to python3 compatible code
pushd tools
pushd generate
# Following for loop should not be used on pyc files
# better remove pre-compiled buildutils.pyc file
rm *.pyc
for item in `ls`;do
2to3 -w $item
done
popd
popd
%build
make
%install
pushd sfd
install -m 0755 -d %{buildroot}%{_fontdir}
install -p -m 644 *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE2} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-mono.conf
install -m 0644 -p %{SOURCE3} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans.conf
install -m 0644 -p %{SOURCE4} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-serif.conf
for fconf in %{fontconf}-mono.conf \
%{fontconf}-sans.conf \
%{fontconf}-serif.conf ; do
ln -s %{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
# Add AppStream metadata
install -Dm 0644 -p %{SOURCE5} \
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
install -Dm 0644 -p %{SOURCE6} \
%{buildroot}%{_datadir}/appdata/%{fontname}-mono.metainfo.xml
install -Dm 0644 -p %{SOURCE7} \
%{buildroot}%{_datadir}/appdata/%{fontname}-sans.metainfo.xml
install -Dm 0644 -p %{SOURCE8} \
%{buildroot}%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
%_font_pkg -n mono -f %{fontconf}-mono.conf FreeMono*.ttf
%{_datadir}/appdata/%{fontname}-mono.metainfo.xml
%_font_pkg -n sans -f %{fontconf}-sans.conf FreeSans*.ttf
%{_datadir}/appdata/%{fontname}-sans.metainfo.xml
%_font_pkg -n serif -f %{fontconf}-serif.conf FreeSerif*.ttf
%{_datadir}/appdata/%{fontname}-serif.metainfo.xml
%files common
%doc AUTHORS ChangeLog CREDITS README
%license COPYING
%{_datadir}/appdata/%{fontname}.metainfo.xml
%changelog
* Wed May 02 2018 Gwyn Ciesla <limburgher@gmail.com> - 20120503-18
- BR fix.
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120503-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Nov 03 2017 Karsten Hopp <karsten@redhat.com> - 20120503-16
- 2to3 moved to python3-tools
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120503-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Mar 09 2017 Parag Nemade <pnemade AT redhat DOT com> - 20120503-14
- Use 2to3 tool to make build scripts compatible with python3
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120503-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20120503-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120503-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Nov 06 2014 Parag Nemade <pnemade AT redhat DOT com> - 20120503-10
- Add metainfo file to show this font in gnome-software
- Remove %%clean section which is optional now
- Remove buildroot which is optional now
- Remove removal of buildroot in %%install
- Remove %%defattr
- Remove group tag
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120503-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120503-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jun 24 2013 Jon Ciesla <limburgher@gmail.com> 20120503-7
- Patch for devanagari rendering, BZ 961298.
* Wed May 15 2013 Jon Ciesla <limburgher@gmail.com> 20120503-6
- Additional Indic rendering fix, BZ 871252.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120503-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jan 11 2013 Jon Ciesla <limburgher@gmail.com> 20120503-4
- Fix Indic rendering, BZ 871252.
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 20120503-3
- Update source url and license tag, BZ 873508.
* Tue Oct 23 2012 Jon Ciesla <limburgher@gmail.com> 20120503-2
- Drop fontconfig priority to 69, BZ 869224.
* Fri Sep 28 2012 Jon Ciesla <limburgher@gmail.com> 20120503-1
- New upstream.
- Dropped compat package.
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 30 2010 Jon Ciesla <limb@jcomserv.net> 20100919-3
- Fixed URL.
* Sun Dec 12 2010 Jon Ciesla <limb@jcomserv.net> 20100919-2
- Fixed license tag, URL, BZ 644992.
* Tue Oct 05 2010 Jon Ciesla <limb@jcomserv.net> 20100919-1
- New upstream.
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> 20090104-12
- Moved priority from 60 to 67, BZ 621498.
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090104-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon Mar 23 2009 Jon Ciesla <limb@jcomserv.net> 20090104-10
- Moved closer to template in effort to correct symlinks.
* Fri Mar 20 2009 Jon Ciesla <limb@jcomserv.net> 20090104-9
- Fixed compat requires.
- Fixed symlinks.
* Wed Mar 18 2009 Jon Ciesla <limb@jcomserv.net> 20090104-8
- Changed fontname, fixed symlinks, typos.
* Mon Mar 09 2009 Jon Ciesla <limb@jcomserv.net> 20090104-7
- Tidied Requires and Obsoletes.
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-6
- Converted last define to global.
- Dropped -common group declaration.
- Dropped free from package names.
- Dropped unneccessary requires and obsoletes.
- Dropped fontdir from -common.
- Fixed conf install and names.
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-5
- Added -lang=ff to build script.
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-4
- Changed define to global.
- Dropped main package, created compat package.
- Dropped freefont-ttf Obsoletes.
- Fixed subpackage requires.
- Dropped subpackage Groups.
- Fixed font_pkg syntax.
- Buildrequire fontforge.
- Added fontconfig rules.
- Minor spec order corrections.
* Tue Feb 17 2009 Jon Ciesla <limb@jcomserv.net> 20090104-3
- For BZ 477336:
- Renamed from freefont to gnu-free-fonts.
- Build from sfd now.
- Removed Requires for fontconfig.
- Drop old Provides.
* Mon Feb 09 2009 Jon Ciesla <limb@jcomserv.net> 20090104-2
- Implemented font_pkg.
- Corrected subpackage names.
* Mon Jan 12 2009 Orion Poplawski <orion@cora.nwra.com> 20090104-1
- update to 20090104
- conform to font package guidelines
* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080323-1
- fix license tag
- update to 20080323
* Fri Jan 5 2007 Orion Poplawski <orion@cora.nwra.com> 20060126-4
- Require fontconfig, not /usr/share/fonts
* Tue Oct 31 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-3
- BOO!
- Make Provides/Osoletes versioned
- Make setup quiet
* Wed Oct 25 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-2
- Remove fonts.cache refs
- fc-cache /usr/share/fonts/freefont
* Thu Oct 12 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-1
- freefont-ttf-20060126
* Tue Dec 06 2005 Rex Dieter 20051206-1
- freefont-ttf-20051206