woff2-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Name: woff2
  2. Version: 1.0.2
  3. Release: 5%{?_dist_release}
  4. Summary: Web Open Font Format 2.0 library
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: MIT
  8. URL: https://github.com/google/woff2
  9. Source0: https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz
  10. BuildRequires: cmake
  11. BuildRequires: gcc-c++
  12. BuildRequires: brotli-devel >= 1.0
  13. %description
  14. Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0 with
  15. improved compression that is achieved by using the Brotli algorithm. The primary
  16. purpose of the WOFF2 format is to efficiently package fonts linked to Web
  17. documents by means of CSS @font-face rules.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Requires: %{name}%{?_isa} = %{version}-%{release}
  21. %description devel
  22. Development files and utils for %{name}
  23. %prep
  24. %autosetup -n %{name}-%{version}
  25. %build
  26. mkdir -p %{_target_platform}
  27. pushd %{_target_platform}
  28. %cmake .. \
  29. -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
  30. -DCMAKE_INSTALL_LIBDIR="%{_libdir}"
  31. popd
  32. make %{?_smp_mflags} -C %{_target_platform}
  33. %install
  34. %make_install -C %{_target_platform}
  35. %files
  36. %license LICENSE
  37. %{_libdir}/libwoff2common.so.*
  38. %{_libdir}/libwoff2dec.so.*
  39. %{_libdir}/libwoff2enc.so.*
  40. %files devel
  41. %{_includedir}/woff2
  42. %{_libdir}/libwoff2common.so
  43. %{_libdir}/libwoff2dec.so
  44. %{_libdir}/libwoff2enc.so
  45. %{_libdir}/pkgconfig/libwoff2common.pc
  46. %{_libdir}/pkgconfig/libwoff2dec.pc
  47. %{_libdir}/pkgconfig/libwoff2enc.pc
  48. %changelog
  49. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-5
  50. - initial build for Vine Linux.
  51. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  53. * Mon Mar 05 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
  54. - Rebuild for brotli update
  55. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  57. * Tue Nov 14 2017 Tomas Popela <tpopela@redhat.com> 1.0.2-1
  58. - Update to 1.0.2
  59. * Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> 1.0.1-1
  60. - Initial import (rhbz#1499676)