SDL2_ttf-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: SDL2_ttf
  2. Version: 2.0.15
  3. Release: 1%{?_dist_release}
  4. Summary: TrueType font rendering library for SDL2
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. Packager: iwaim
  8. License: zlib
  9. URL: https://www.libsdl.org/projects/SDL_ttf/
  10. Source0: %{url}release/%{name}-%{version}.tar.gz
  11. BuildRequires: SDL2-devel
  12. BuildRequires: libGL-devel
  13. BuildRequires: freetype2-devel
  14. BuildRequires: zlib-devel
  15. %description
  16. This library allows you to use TrueType fonts to render text in SDL2
  17. applications.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
  21. Requires: SDL2-devel%{?_isa}
  22. %description devel
  23. The %{name}-devel package contains libraries and header files for
  24. developing applications that use %{name}.
  25. %prep
  26. %autosetup
  27. rm -rf external
  28. # Fix end-of-line encoding
  29. sed -i 's/\r//' README.txt CHANGES.txt COPYING.txt
  30. %build
  31. %configure --disable-dependency-tracking --disable-static
  32. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  33. %make_build
  34. %install
  35. %make_install
  36. find %{buildroot} -type f -name '*.la' -delete -print
  37. %post -p /sbin/ldconfig
  38. %postun -p /sbin/ldconfig
  39. %files
  40. %license COPYING.txt
  41. %doc README.txt CHANGES.txt
  42. %{_libdir}/lib*.so.*
  43. %files devel
  44. %{_libdir}/lib*.so
  45. %{_includedir}/SDL2/*
  46. %{_libdir}/pkgconfig/%{name}.pc
  47. %changelog
  48. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.15-1
  49. - new upstream release.
  50. - renamed specfile.
  51. * Sun Apr 16 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.14-1
  52. - initial build for Vine Linux
  53. * Tue Jul 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.14-2
  54. - add libGL-devel to BRs
  55. * Tue Feb 2 2016 Tom Callaway <spot@fedoraproject.org> - 2.0.14-1
  56. - update to 2.0.14
  57. * Sun Jan 10 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.0.13-1
  58. - Update to 2.0.13 (RHBZ #1296754)
  59. * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-5
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  61. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-4
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  63. * Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.12-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  65. * Thu Jan 2 2014 Tom Callaway <spot@fedoraproject.org> - 2.0.12-2
  66. - delete external directory to drop bundles
  67. - do not own /usr/include/SDL2
  68. - fix unused-direct-shlib-dependency
  69. * Mon Nov 25 2013 Tom Callaway <spot@fedoraproject.org> - 2.0.12-1
  70. - initial package