代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/opencc 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: opencc
Version: 1.0.5
Release: 5
Summary: Simplified Chinese Traditional Conversion Library
License: ASL 2.0
URL: https://github.com/BYVoid/OpenCC
Source0: https://github.com/BYVoid/OpenCC/archive/ver.%{version}.tar.gz#/OpenCC-ver.%{version}.tar.gz
Patch0001: opencc-fixes-cmake.patch
Patch0002: opencc-check-bounds.patch
Patch0003: opencc-stop-copy.patch
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
BuildRequires: gcc-c++ gettext cmake doxygen python3
%description
Opencc is for between Traditional Chinese and Simplified Chinese characters and phrases conversion library.
%package devel
Summary: Development files for OpenCC
Requires: %{name} = %{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use opencc.
%package help
Summary: Documentation for opencc
Requires: %{name} = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
This package provides documentation for opencc.
%prep
%autosetup -n OpenCC-ver.%{version} -p1
%build
%cmake . -DENABLE_GETTEXT:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON
%make_build VERBOSE=1
%install
%make_install
%check
ctest
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS LICENSE README.md
%{_libdir}/lib*.so.*
%{_datadir}/opencc/
%{_bindir}/*
%exclude %{_datadir}/opencc/doc
%exclude %{_libdir}/*.a
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files help
%{_datadir}/opencc/doc
%changelog
* Mon Jun 29 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.5-5
- Fix build error
* Thu Dec 12 2019 fengbing <fengbing7@huawei.com> - 1.0.5-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。