代码拉取完成,页面将自动刷新
Name: woff2
Version: 1.0.2
Release: 6
Summary: Web Open Font Format 2.0 library
License: MIT
URL: https://github.com/google/woff2
Source0: https://github.com/google/woff2/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: brotli-devel cmake gcc-c++
%description
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
1.0 with improved compression that is achieved by using the Brotli
algorithm. The primary purpose of the WOFF2 format is to
efficiently package fonts linked to Web documents by means of CSS
@font-face rules.
%package devel
Summary: Header files for woff2
Requires: %{name} = %{version}-%{release}
%description devel
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
1.0 with improved compression that is achieved by using the Brotli
algorithm. The primary purpose of the WOFF2 format is to
efficiently package fonts linked to Web documents by means of CSS
@font-face rules.
%prep
%autosetup -n %{name}-%{version} -p1
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake ..\
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DCMAKE_INSTALL_LIBDIR="%{_libdir}"
popd
%make_build -C %{_target_platform}
%install
%make_install -C %{_target_platform}
%files
%defattr(-,root,root)
%license LICENSE
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/woff2
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.2-6
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: Remove git dependency, restore license.
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.2-5
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。