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