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