b38caf
Summary: Utility to create fonts.scale files for truetype fonts
b38caf
Name: ttmkfdir
b38caf
Version: 3.0.9
b38caf
Release: 42%{?dist}
b38caf
# This is a Red Hat maintained package which is specific to
b38caf
# our distribution.  Thus the source is only available from
b38caf
# within this srpm.
b38caf
Source0: %{name}-%{version}.tar.bz2
b38caf
Patch: ttmkfdir-3.0.9-cpp.patch
b38caf
Patch1: ttmkfdir-3.0.9-zlib.patch
b38caf
Patch2: ttmkfdir-3.0.9-fix-freetype217.patch
b38caf
Patch3: ttmkfdir-3.0.9-namespace.patch
b38caf
Patch4: ttmkfdir-3.0.9-fix-crash.patch
b38caf
Patch5: ttmkfdir-3.0.9-warnings.patch
b38caf
Patch6: ttmkfdir-3.0.9-segfaults.patch
b38caf
Patch7: ttmkfdir-3.0.9-encoding-dir.patch
b38caf
Patch8: ttmkfdir-3.0.9-font-scale.patch
b38caf
Patch9: ttmkfdir-3.0.9-bug434301.patch
b38caf
Source10: ttmkfdir.1
b38caf
# Only licensing attribution is in README, no version.
b38caf
License: LGPLv2+
b38caf
Group: Applications/System
b38caf
BuildRequires: freetype-devel >= 2.0
b38caf
BuildRequires: flex
b38caf
BuildRequires: bzip2-devel
b38caf
BuildRequires: zlib-devel
b38caf
BuildRequires: libtool
b38caf
b38caf
# ttmkfdir used to be in the following packages at one point
b38caf
Conflicts: XFree86-font-utils < 4.2.99.2-0.20021126.3
b38caf
Conflicts: freetype < 2.0.6-3
b38caf
b38caf
%description
b38caf
ttmkfdir is a utility used to create fonts.scale files in
b38caf
TrueType font directories in order to prepare them for use
b38caf
by the font server.
b38caf
b38caf
%prep
b38caf
%setup -q
b38caf
%patch -p1
b38caf
%patch1 -p1
b38caf
%patch2 -p1
b38caf
%patch3 -p1
b38caf
%patch4 -p1
b38caf
%patch5 -p1
b38caf
%patch6 -p1
b38caf
%patch7 -p1
b38caf
%patch8 -p1
b38caf
%patch9 -p1
b38caf
b38caf
%build
b38caf
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
b38caf
b38caf
%install
b38caf
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
b38caf
mkdir -p %{buildroot}%{_mandir}/man1/
b38caf
cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
b38caf
b38caf
%files
b38caf
%doc README
b38caf
%{_bindir}/ttmkfdir
b38caf
%{_mandir}/man1/ttmkfdir.1.gz
b38caf
b38caf
%changelog
b38caf
* Thu Aug 02 2014 Pravin Satpute <psatpute@redhat.com> 3.0.9-42
b38caf
- Resolves: rh#1125703 ttmkfdir fails to build on arch: ppc64le (Generic build failure)
b38caf
- Patch from Peter Robinson <pbrobinson@redhat.com>
b38caf
b38caf
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.0.9-41
b38caf
- Mass rebuild 2014-01-24
b38caf
b38caf
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0.9-40
b38caf
- Mass rebuild 2013-12-27
b38caf
b38caf
* Thu Mar 28 2013 Pravin Satpute <psatpute@redhat.com> - 3.0.9-39
b38caf
- added manpage (#928684)
b38caf
b38caf
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-38
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b38caf
b38caf
* Tue Nov 20 2012 Pravin Satpute <psatpute@redhat.com> - 3.0.9-37
b38caf
- Spec cleanup (#878321)
b38caf
b38caf
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-36
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b38caf
b38caf
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-35
b38caf
- Rebuilt for c++ ABI breakage
b38caf
b38caf
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-34
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b38caf
b38caf
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-33
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b38caf
b38caf
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-32
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b38caf
b38caf
* Wed Jun 24 2009 Jens Petersen <petersen@redhat.com> - 3.0.9-31
b38caf
- simplify ttmkfdir-3.0.9-encoding-dir.patch to drop X11R6/ check (#173705)
b38caf
b38caf
* Tue Mar 03 2009 Caolán McNamara <caolanm@redhat.com> - 3.0.9-30
b38caf
- fix ttmkfdir-3.0.9-segfaults.patch to include stdio.h for added printf
b38caf
b38caf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.9-29
b38caf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b38caf
b38caf
* Mon Dec 15 2008 Pravin Satpute <psatpute@redhat.com> - 3.0.9-28
b38caf
- modified spec file as per merge review suggestions bug 226506
b38caf
b38caf
* Mon Sep  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.0.9-27
b38caf
- fix license tag
b38caf
b38caf
* Wed Feb 27 2008 Lingning Zhang <lizhang@redhat.com> - 3.0.9-26
b38caf
- fix bug434301.
b38caf
b38caf
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.9-25
b38caf
- Autorebuild for GCC 4.3
b38caf
b38caf
* Thu Nov 30 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-24.fc7
b38caf
- add ttmkfdir-3.0.9-font-scale.patch to fix bug #209102.
b38caf
- Patch from Akira TAGOH.
b38caf
b38caf
* Wed Oct 18 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-23
b38caf
- rebuild
b38caf
b38caf
* Fri Sep 29 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-22
b38caf
- delete "%%post" and "Requires(post)" in ttmkfdir.spec
b38caf
b38caf
* Thu Sep 28 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-21
b38caf
- modify release
b38caf
b38caf
* Wed Sep 27 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.4
b38caf
- modify "%%post" and add "Requires(post)" in ttmkfdir.spec for fixing bug173591, bug207279, bug208122
b38caf
b38caf
* Wed Sep 06 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.3
b38caf
- add "%%post" in ttmkfdir.spec for fixing bug173591
b38caf
b38caf
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-20.2.1
b38caf
- rebuild
b38caf
b38caf
* Tue Jun 20 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.2
b38caf
- add "BuildRequires: libtool" in ttmkfdir.spec
b38caf
b38caf
* Mon Jun 19 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.1
b38caf
- remove the modifying part of ttmkfdir-3.0.9/Makefile, recover the old Makefile
b38caf
- modify ttmkfdir-3.0.9-encoding-dir.patch about Makefile
b38caf
b38caf
* Thu Jun 15 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20
b38caf
- add ttmkfdir-3.0.9-encoding-dir.patch to fix bug #173705
b38caf
- modify ttmkfdir-3.0.9/Makefile to delete the compiling flag of "ggdb"
b38caf
b38caf
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-19.2.1
b38caf
- bump again for double-long bug on ppc(64)
b38caf
b38caf
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-19.2
b38caf
- rebuilt for new gcc4.1 snapshot and glibc changes
b38caf
b38caf
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
b38caf
- rebuilt
b38caf
b38caf
* Sat Oct 8 2005 LingNing Zhang <lizhang@redhat.com> -3.0.9-19
b38caf
- add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
b38caf
b38caf
* Wed Aug  3 2005 Jens Petersen <petersen@redhat.com> - 3.0.9-17
b38caf
- replace ttmkfdir-3.0.9-defautl_enc_size.patch and
b38caf
  ttmkfdir-3.0.9-crashplus.patch with ttmkfdir-3.0.9-fix-crash.patch
b38caf
  to fix missing native encodings of fonts
b38caf
  (Akira Tagoh, #143941)
b38caf
- buildrequire flex
b38caf
- add ttmkfdir-3.0.9-warnings.patch to silence most of compiler warnings
b38caf
b38caf
* Sun Mar 20 2005 Yu Shao <yshao@redhat.com> 3.0.9-16
b38caf
- rebuild with GCC 4
b38caf
b38caf
* Fri Sep 10 2004 Yu Shao <yshao@redhat.com> 3.0.9-14
b38caf
- bug #100560, requires zlib-devel rather than zlib
b38caf
b38caf
* Tue Aug 17 2004 Elliot Lee <sopwith@redhat.com> 3.0.9-13
b38caf
- Follow-on fix for the issue detailed in #118713
b38caf
- Improve performance when checking if a font has a mapping present
b38caf
- Base font file selection on the magic at the start of the file, rather than the filename
b38caf
b38caf
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b38caf
- rebuilt
b38caf
b38caf
* Fri Mar 19 2004 Yu Shao <yshao@redhat.com> 3.0.9-11
b38caf
- set default encoding size to DEFAULT_SIZE, bug #118713
b38caf
b38caf
* Fri Mar 12 2004 Yu Shao <yshao@redhat.com> 3.0.9-10
b38caf
- patch suggested from law@redhat.com not to use semicolon in GCC3.4, 3.5
b38caf
b38caf
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b38caf
- rebuilt
b38caf
b38caf
* Wed Feb 12 2004 Yu Shao <yshao@redhat.com> 3.0.9-8
b38caf
- patch for building package against freetype-2.1.7
b38caf
- from kanagawa jigorou (jigorou3@mail.goo.ne.jp) #114682
b38caf
b38caf
* Mon Sep 15 2003 Yu Shao <yshao@redhat.com> 3.0.9-6
b38caf
- updated zlib patch from Nalin Dahyabhai #104331
b38caf
b38caf
* Thu Aug 21 2003 Yu Shao <yshao@redhat.com> 3.0.9-4
b38caf
- added zlib build requirement, partly releated to #100560
b38caf
- other fixes
b38caf
b38caf
* Thu Aug  7 2003 Elliot Lee <sopwith@redhat.com>
b38caf
- Fix compile error (cpp.patch)
b38caf
b38caf
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
b38caf
- rebuilt
b38caf
b38caf
* Thu Jan 23 2003 Yu Shao <yshao@redhat.com> 3.0.9-1
b38caf
- added freetype-devel build requirement #82468
b38caf
b38caf
* Mon Jan 20 2003 Yu Shao <yshao@redhat.com> 3.0.8-1
b38caf
- revert additional-entries to 0 #82125
b38caf
b38caf
* Wed Jan 15 2003 Yu Shao <yshao@redhat.com> 3.0.7-1
b38caf
- set default value of additional-entries to 1
b38caf
b38caf
* Mon Jan 13 2003 Yu Shao <yshao@redhat.com> 3.0.6-1
b38caf
- added iso8859-13 support from Nerijus Baliunas #77289
b38caf
- added README 
b38caf
b38caf
* Wed Jan 8 2003 Yu Shao <yshao@redhat.com> 3.0.5-1
b38caf
- encoding.l fix and ttc support patch 
b38caf
- default read system encodings.dir instead of the one
b38caf
- in current directory
b38caf
b38caf
* Wed Dec 18 2002 Yu Shao <yshao@redhat.com> 3.0.4-1
b38caf
- make ttmkfdir keep silent with FIRSTINDEX. #61769
b38caf
b38caf
* Wed Dec 18 2002 Yu Shao <yshao@redhat.com> 3.0.3-1
b38caf
- Applied new patches to make ttmkfdir provide more infomation when meets 
b38caf
- bad fonts
b38caf
b38caf
* Mon Dec  9 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.2-1
b38caf
- Changed the nonstandard RPM Group from System/Utilities to Applications/System
b38caf
- Added a new Makefile install target, and changed specfile to use makeinstall
b38caf
b38caf
* Mon Dec  9 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.1-1
b38caf
- Imported ttmkfdir into CVS on cvs.devel and applied all patches to CVS
b38caf
- Removed patches from spec file
b38caf
- Rewrote Makefile, now uses freetype-config to autodetect CFLAGS and libs,
b38caf
  allowing a lot of spec file cleanups.  Added new targets for tagging CVS,
b38caf
  making tarball, and making srpm.
b38caf
b38caf
* Mon Dec  2 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.0-2
b38caf
- Added Conflicts for prior packages which contained ttmkfdir
b38caf
b38caf
* Fri Nov 29 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.0-1
b38caf
- Initial build.  Basically just renamed our existing ttmkfdir to version
b38caf
  3.0.0 to differentiate it.  It's the same old thing as before, but is
b38caf
  likely going to move to CVS for easier development.