123 Star 0 Fork 19

src-openEuler / aspell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
aspell.spec 3.88 KB
一键复制 编辑 原始数据 按行查看 历史
starlet_dx 提交于 2021-09-28 17:40 . fix CVE-2019-20433
Name: aspell
Version: 0.60.6.1
Release: 29
Summary: Spell checker
Epoch: 12
License: LGPLv2+ and LGPLv2 and GPLv2+ and BSD
URL: http://aspell.net/
Source: http://mirrors.ustc.edu.cn/gnu/aspell/aspell-%{version}.tar.gz
Patch0000: aspell-0.60.3-install_info.patch
Patch0001: aspell-0.60.5-fileconflict.patch
Patch0002: aspell-0.60.5-pspell_conf.patch
Patch0003: aspell-0.60.6-zero.patch
Patch0004: aspell-0.60.6-mp.patch
Patch0005: aspell-0.60.6.1-dump-personal-abort.patch
Patch0006: aspell-0.60.6.1-aarch64.patch
Patch0007: aspell-0.60.6.1-gcc7-fixes.patch
Patch0008: aspell-0.60.6.1-fix-back-on-empty-vector.patch
Patch0009: CVE-2019-17544.patch
Patch0010: CVE-2019-25051.patch
Patch0011: CVE-2019-20433-1.patch
Patch0012: CVE-2019-20433-2.patch
BuildRequires: chrpath gettext ncurses-devel pkgconfig perl-interpreter gcc-c++
%description
GNU Aspell is a spell checker intended to replace Ispell.
It can be used as a library and spell checker. Its main
feature is that it provides much better suggestions than
other inspectors, including Ispell and Microsoft Word.
It also has many other technical enhancements to Ispell,
such as the use of shared memory to store dictionaries,
and intelligent processing of personal dictionaries when
multiple Aspell processes are opened at one time.
%package devel
Summary: Libraries and header files for Aspell development
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
%description devel
The aspell-devel package includes libraries
and header files needed for Aspell development.
%package help
Summary: Introduce how to use aspell
%description help
User's Manual for aspell
%prep
%autosetup -n %{name}-%{version} -p1
iconv -f iso-8859-2 -t utf-8 < manual/aspell.info > manual/aspell.info.aux
mv manual/aspell.info.aux manual/aspell.info
%build
%configure --disable-rpath
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build
cp scripts/aspell-import examples/aspell-import
chmod 644 examples/aspell-import
cp manual/aspell-import.1 examples/aspell-import.1
%install
%makeinstall
install -d ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60
mv ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60/{ispell,spell} ${RPM_BUILD_ROOT}%{_bindir}
for path in nroff-filter.so sgml-filter.so context-filter.so email-filter.so tex-filter.so texinfo-filter.so;
do
chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60//$path;
done
chrpath --delete ${RPM_BUILD_ROOT}%{_bindir}/aspell
chrpath --delete ${RPM_BUILD_ROOT}%{_libdir}/libpspell.so.*
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man1/aspell-import.1
%find_lang %{name}
%files -f %{name}.lang
%doc COPYING examples/aspell-import examples/aspell-import.1
%dir %{_libdir}/aspell-0.60
%{_bindir}/a*
%{_bindir}/ispell
%{_bindir}/pr*
%{_bindir}/run-with-aspell
%{_bindir}/spell
%{_bindir}/word-list-compress
%{_libdir}/lib*.so.*
%{_libdir}/aspell-0.60/*
%{_infodir}/aspell.*
%exclude %{_libdir}/libaspell.la
%exclude %{_libdir}/libpspell.la
%exclude %{_libdir}/aspell-0.60/*-filter.la
%exclude %{_bindir}/aspell-import
%files devel
%dir %{_includedir}/pspell
%{_bindir}/pspell-config
%{_includedir}/aspell.h
%{_includedir}/pspell/pspell.h
%{_libdir}/lib*spell.so
%{_libdir}/pkgconfig/*
%{_infodir}/aspell-dev.*
%files help
%doc README TODO
%{_mandir}/man1/aspell.1.*
%{_mandir}/man1/run-with-aspell.1*
%{_mandir}/man1/word-list-compress.1*
%{_mandir}/man1/prezip-bin.1.*
%{_mandir}/man1/pspell-config.1*
%changelog
* Tue Sep 28 2021 yaoxin<yaoxin30@huawei.com> - 12:0.60.6.1-29
- fix CVE-2019-20433
* Thu Sep 23 2021 liwu<liwu13@huawei.com> - 12:0.60.6.1-28
- fix CVE-2019-25051
* Thu Jul 27 2021 houyingchao<houyingchao@huawei.com> - 12:0.60.6.1-27
- fix CVE-2019-17544
* Thu Dec 24 2020 Ge Wang<wangge20@huawei.com> - 12:0.60.6.1-26
- Modify Source0 url
* Wed Nov 27 2019 yangjian<yangjian79@huawei.com> - 12:0.60.6.1-25
- Package init
1
https://gitee.com/src-openeuler/aspell.git
git@gitee.com:src-openeuler/aspell.git
src-openeuler
aspell
aspell
openEuler-20.03-LTS

搜索帮助