woff2-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Summary: Web Open Font Format 2.0 library
  2. Name: woff2
  3. Version: 1.0.2
  4. Release: 6%{?_dist_release}
  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. * Tue Aug 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-6
  50. - rebuilt with current environment.
  51. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.2-5
  52. - initial build for Vine Linux.
  53. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  55. * Mon Mar 05 2018 Tomas Popela <tpopela@redhat.com> - 1.0.2-3
  56. - Rebuild for brotli update
  57. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  59. * Tue Nov 14 2017 Tomas Popela <tpopela@redhat.com> 1.0.2-1
  60. - Update to 1.0.2
  61. * Mon Oct 09 2017 Tomas Popela <tpopela@redhat.com> 1.0.1-1
  62. - Initial import (rhbz#1499676)