12 Star 0 Fork 2

src-openEuler / woff2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
woff2.spec 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 11:19 . Package init
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
1
https://gitee.com/src-openeuler/woff2.git
git@gitee.com:src-openeuler/woff2.git
src-openeuler
woff2
woff2
openEuler-22.03-LTS

搜索帮助