ftdumps-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Summary: TrueType infomation dump util
  2. Name: ftdumps
  3. Version: 0.1.1
  4. Release: 4%{?_dist_release}
  5. Group: User Interface/X
  6. Distribution: Vine Linux
  7. Vendor: Project Vine
  8. License: GPL
  9. Source: ftdumps-%{version}.tgz
  10. Patch0: ftdumps-0.1.1-remove-extra-token.patch
  11. Patch1: ftdumps-0.1.1-iconv-arg-type.patch
  12. Patch2: ftdumps-0.1.1-sfnt.patch
  13. Patch3: ftdumps-0.1.1-freetype-2.5.x.patch
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: freetype2-devel
  16. %description
  17. TrueType infomation dump util
  18. %prep
  19. %setup -q
  20. %patch0 -p1 -b .token
  21. %patch1 -p1 -b .iconv
  22. %patch2 -p0 -b .sfnt
  23. %patch3 -p1 -b .ft2
  24. %build
  25. FREETYPE_CFLAGS=$(pkg-config --cflags freetype2)
  26. make CFLAGS="%{optflags} $FREETYPE_CFLAGS -I%{_includedir}/freetype2/freetype"
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  30. for i in ftdumpnames ftdumpall ftdumpxlfd ; do
  31. install -m 755 $i $RPM_BUILD_ROOT%{_bindir}/$i
  32. done
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root)
  37. %{_bindir}/*
  38. %changelog
  39. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.1-4
  40. - rebuilt with current environment.
  41. * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-3
  42. - rebuild with VineSeed environment
  43. - add Patch3 (ftdumps-0.1.1-freetype-2.5.x.patch)
  44. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.1-2
  45. - rebuilt with rpm-4.8.1-3
  46. * Tue Sep 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.1-1vl5
  47. - applied new versioning policy
  48. - added ftdumps-0.1.1-sfnt.patch
  49. * Thu Aug 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.1.1-0vl3
  50. - add patches
  51. - remove-extra-tokens.patch (patch0)
  52. - iconv-arg-type.patch (patch1)
  53. * Fri Jan 28 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.1-0vl2
  54. - rebuild with new toolchains
  55. - s/Copyright/License/
  56. * Mon Mar 18 2002 Shoji Matsumoto <shom@vinelinux.org> 0.1.1-0vl1
  57. - update to 0.1.1 (fixed ftdumpxlfd)
  58. * Sun Mar 10 2002 Shoji Matsumoto <shom@vinelinux.org> 0.1-0vl1
  59. - create