Blame SPECS/gnu-free-fonts.spec

ce0141
%global fontname gnu-free
ce0141
%global fontconf 69-%{fontname}
ce0141
ce0141
Name:      %{fontname}-fonts
ce0141
Version:   20120503
ce0141
Release:   8%{?dist}
ce0141
Summary:   Free UCS Outline Fonts
ce0141
Group:     User Interface/X
ce0141
# Standard font exception
ce0141
License:   GPLv3+ with exceptions
ce0141
URL:       http://www.gnu.org/software/freefont/ 
ce0141
Source0:   http://ftp.gnu.org/gnu/freefont/freefont-src-%{version}.tar.gz
ce0141
Source2:   %{fontconf}-mono.conf
ce0141
Source3:   %{fontconf}-sans.conf
ce0141
Source4:   %{fontconf}-serif.conf
ce0141
Patch0:    gnu-free-fonts-devanagari-rendering.patch
ce0141
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ce0141
BuildArch: noarch
ce0141
BuildRequires: fontpackages-devel fontforge
ce0141
ce0141
%global common_desc \
ce0141
Gnu FreeFont is a free family of scalable outline fonts, suitable for general \
ce0141
use on computers and for desktop publishing. It is Unicode-encoded for \
ce0141
compatibility with all modern operating systems. \
ce0141
 \
ce0141
Besides a full set of characters for writing systems based on the Latin \
ce0141
alphabet, FreeFont contains large selection of characters from other writing \
ce0141
systems some of which are hard to find elsewhere. \
ce0141
 \
ce0141
FreeFont also contains a large set of symbol characters, both technical and \
ce0141
decorative. We are especially pleased with the Mathematical Operators range, \
ce0141
with which most of the glyphs used in LaTeX can be displayed.
ce0141
ce0141
%description
ce0141
%common_desc
ce0141
ce0141
ce0141
%package common
ce0141
Summary:  Common files for freefont (documentation…)
ce0141
Requires: fontpackages-filesystem
ce0141
Obsoletes: gnu-free-fonts-compat < 20120503
ce0141
ce0141
%description common
ce0141
%common_desc
ce0141
ce0141
This package consists of files used by other %{name} packages.
ce0141
ce0141
ce0141
%package -n %{fontname}-mono-fonts
ce0141
Summary:  GNU FreeFont Monospaced Font
ce0141
Requires: %{name}-common = %{version}-%{release}
ce0141
ce0141
%description -n %{fontname}-mono-fonts
ce0141
%common_desc
ce0141
ce0141
This package contains the GNU FreeFont monospaced font.
ce0141
ce0141
ce0141
%package -n %{fontname}-sans-fonts
ce0141
Summary:  GNU FreeFont Sans-Serif Font
ce0141
Requires: %{name}-common = %{version}-%{release}
ce0141
ce0141
%description -n %{fontname}-sans-fonts
ce0141
%common_desc
ce0141
ce0141
This package contains the GNU FreeFont sans-serif font.
ce0141
ce0141
ce0141
%package -n %{fontname}-serif-fonts
ce0141
Summary:  GNU FreeFont Serif Font
ce0141
Requires: %{name}-common = %{version}-%{release}
ce0141
ce0141
%description -n %{fontname}-serif-fonts
ce0141
%common_desc
ce0141
ce0141
This package contains the GNU FreeFont serif font.
ce0141
ce0141
ce0141
%prep
ce0141
%setup -qn freefont-%{version}
ce0141
ce0141
%patch0 -p1 -b .devanagari
ce0141
ce0141
%build
ce0141
make
ce0141
ce0141
%install
ce0141
rm -rf %{buildroot}
ce0141
ce0141
pushd sfd
ce0141
install -m 0755 -d %{buildroot}%{_fontdir}
ce0141
install -p -m 644 *.ttf  %{buildroot}%{_fontdir}
ce0141
ce0141
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
ce0141
                   %{buildroot}%{_fontconfig_confdir}
ce0141
ce0141
install -m 0644 -p %{SOURCE2} \
ce0141
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-mono.conf
ce0141
ce0141
install -m 0644 -p %{SOURCE3} \
ce0141
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans.conf
ce0141
ce0141
install -m 0644 -p %{SOURCE4} \
ce0141
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-serif.conf
ce0141
ce0141
ce0141
for fconf in %{fontconf}-mono.conf \
ce0141
                %{fontconf}-sans.conf \
ce0141
                %{fontconf}-serif.conf ; do
ce0141
  ln -s %{_fontconfig_templatedir}/$fconf \
ce0141
        %{buildroot}%{_fontconfig_confdir}/$fconf
ce0141
done
ce0141
ce0141
%clean
ce0141
rm -rf %{buildroot}
ce0141
ce0141
%_font_pkg -n mono -f %{fontconf}-mono.conf FreeMono*.ttf
ce0141
%_font_pkg -n sans -f %{fontconf}-sans.conf FreeSans*.ttf
ce0141
%_font_pkg -n serif -f %{fontconf}-serif.conf FreeSerif*.ttf
ce0141
ce0141
%files common
ce0141
%defattr(0644,root,root,0755)
ce0141
%doc AUTHORS ChangeLog CREDITS COPYING README
ce0141
ce0141
%changelog
ce0141
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 20120503-8
ce0141
- Mass rebuild 2013-12-27
ce0141
ce0141
* Mon Jun 24 2013 Jon Ciesla <limburgher@gmail.com> 20120503-7
ce0141
- Patch for devanagari rendering, BZ 961298.
ce0141
ce0141
* Wed May 15 2013 Jon Ciesla <limburgher@gmail.com> 20120503-6
ce0141
- Additional Indic rendering fix, BZ 871252.
ce0141
ce0141
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120503-5
ce0141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ce0141
ce0141
* Fri Jan 11 2013 Jon Ciesla <limburgher@gmail.com> 20120503-4
ce0141
- Fix Indic rendering, BZ 871252.
ce0141
ce0141
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 20120503-3
ce0141
- Update source url and license tag, BZ 873508.
ce0141
ce0141
* Tue Oct 23 2012 Jon Ciesla <limburgher@gmail.com> 20120503-2
ce0141
- Drop fontconfig priority to 69, BZ 869224.
ce0141
ce0141
* Fri Sep 28 2012 Jon Ciesla <limburgher@gmail.com> 20120503-1
ce0141
- New upstream.
ce0141
- Dropped compat package.
ce0141
ce0141
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-6
ce0141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ce0141
ce0141
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-5
ce0141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ce0141
ce0141
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100919-4
ce0141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ce0141
ce0141
* Thu Dec 30 2010 Jon Ciesla <limb@jcomserv.net> 20100919-3
ce0141
- Fixed URL.
ce0141
ce0141
* Sun Dec 12 2010 Jon Ciesla <limb@jcomserv.net> 20100919-2
ce0141
- Fixed license tag, URL, BZ 644992.
ce0141
ce0141
* Tue Oct 05 2010 Jon Ciesla <limb@jcomserv.net> 20100919-1
ce0141
- New upstream.
ce0141
ce0141
* Tue Aug 10 2010 Jon Ciesla <limb@jcomserv.net> 20090104-12
ce0141
- Moved priority from 60 to 67, BZ 621498.
ce0141
ce0141
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090104-11
ce0141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ce0141
ce0141
* Mon Mar 23 2009 Jon Ciesla <limb@jcomserv.net> 20090104-10
ce0141
- Moved closer to template in effort to correct symlinks.
ce0141
ce0141
* Fri Mar 20 2009 Jon Ciesla <limb@jcomserv.net> 20090104-9
ce0141
- Fixed compat requires.
ce0141
- Fixed symlinks.
ce0141
ce0141
* Wed Mar 18 2009 Jon Ciesla <limb@jcomserv.net> 20090104-8
ce0141
- Changed fontname, fixed symlinks, typos.
ce0141
ce0141
* Mon Mar 09 2009 Jon Ciesla <limb@jcomserv.net> 20090104-7
ce0141
- Tidied Requires and Obsoletes.
ce0141
ce0141
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-6
ce0141
- Converted last define to global.
ce0141
- Dropped -common group declaration.
ce0141
- Dropped free from package names.
ce0141
- Dropped unneccessary requires and obsoletes.
ce0141
- Dropped fontdir from -common.
ce0141
- Fixed conf install and names.
ce0141
ce0141
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-5
ce0141
- Added -lang=ff to build script.
ce0141
ce0141
* Thu Mar 05 2009 Jon Ciesla <limb@jcomserv.net> 20090104-4
ce0141
- Changed define to global.
ce0141
- Dropped main package, created compat package.
ce0141
- Dropped freefont-ttf Obsoletes.
ce0141
- Fixed subpackage requires.
ce0141
- Dropped subpackage Groups.
ce0141
- Fixed font_pkg syntax.
ce0141
- Buildrequire fontforge.
ce0141
- Added fontconfig rules.
ce0141
- Minor spec order corrections.
ce0141
ce0141
* Tue Feb 17 2009 Jon Ciesla <limb@jcomserv.net> 20090104-3
ce0141
- For BZ 477336:
ce0141
- Renamed from freefont to gnu-free-fonts.
ce0141
- Build from sfd now.
ce0141
- Removed Requires for fontconfig.
ce0141
- Drop old Provides.
ce0141
ce0141
* Mon Feb 09 2009 Jon Ciesla <limb@jcomserv.net> 20090104-2
ce0141
- Implemented font_pkg.
ce0141
- Corrected subpackage names.
ce0141
ce0141
* Mon Jan 12 2009 Orion Poplawski <orion@cora.nwra.com> 20090104-1
ce0141
- update to 20090104
ce0141
- conform to font package guidelines
ce0141
ce0141
* Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> 20080323-1
ce0141
- fix license tag
ce0141
- update to 20080323
ce0141
ce0141
* Fri Jan  5 2007 Orion Poplawski <orion@cora.nwra.com> 20060126-4
ce0141
- Require fontconfig, not /usr/share/fonts
ce0141
ce0141
* Tue Oct 31 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-3
ce0141
- BOO!
ce0141
- Make Provides/Osoletes versioned
ce0141
- Make setup quiet
ce0141
ce0141
* Wed Oct 25 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-2
ce0141
- Remove fonts.cache refs
ce0141
- fc-cache /usr/share/fonts/freefont
ce0141
ce0141
* Thu Oct 12 2006 Orion Poplawski <orion@cora.nwra.com> 20060126-1
ce0141
- freefont-ttf-20060126
ce0141
ce0141
* Tue Dec 06 2005 Rex Dieter 20051206-1
ce0141
- freefont-ttf-20051206