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