7 Star 0 Fork 8

src-openEuler/ctags

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ctags.spec 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
sqfu 提交于 2024-11-29 14:24 . fix invalid soft links error
Name: ctags
Version: 5.8
Release: 30
Summary: A C programming language indexing and/or cross-reference tool
License: GPLv2+ and LGPLv2+ and Public Domain
URL: http://ctags.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
Patch0: 0001-ctags-5.7-destdir.patch
Patch1: 0002-ctags-5.7-segment-fault.patch
Patch2: 0003-ctags-5.8-css.patch
Patch3: 0004-ctags-5.8-ocaml-crash.patch
Patch4: 0005-ctags-5.8-cssparse.patch
Patch5: 0006-ctags-5.8-memmove.patch
Patch6: 0007-ctags-5.8-format-security.patch
Patch7: 0008-ctags-CVE-2014-7204.patch
Patch8: rename-the-local-__unused__-to-__ctags_unused__.patch
Patch9: 0009-ctags-CVE-2022-4515.patch
BuildRequires: gcc
Requires: chkconfig
Provides: ctags-etags
Obsoletes: ctags-etags
%description
Ctags generates an index (or tag) file of language objects found in source
files that allows these items to be quickly and easily located by a text
editor or other utility. A tag signifies a language object for which an
index entry is available (or, alternatively, the index entry created for
that object).
This package will also generate tags in a format which GNU Emacs understand,
it's a alternativ implementation of the GNU etags program.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
rm -rf %RPM_BUILD_ROOT
%make_install
cd %{buildroot}%{_bindir}
ln -s ctags etags.ctags
cd %{buildroot}%{_mandir}/man1
ln -s ctags.1 etags.ctags.1
%posttrans
/usr/sbin/alternatives --install /usr/bin/etags emacs.etags /usr/bin/etags.ctags 20 \
--slave /usr/share/man/man1/etags.1.gz emacs.etags.man /usr/share/man/man1/ctags.1.gz
%postun
/usr/sbin/alternatives --remove emacs.etags /usr/bin/etags.ctags || :
%files
%defattr(-,root,root)
%doc README COPYING
%{!?license: %license %%doc}
%license COPYING
%{_bindir}/ctags
%{_bindir}/etags.ctags
%files help
%doc NEWS FAQ EXTENDING.html
%{_mandir}/man1/ctags.1.gz
%{_mandir}/man1/etags.ctags.1.gz
%changelog
* Thu Nov 28 2024 sqfu <[email protected]> - 5.8-30
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix invalid soft links
* Thu Sep 21 2023 dillon chen <[email protected]> - 5.8-29
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:CVE-2022-4515
* Mon Aug 16 2021 yixiangzhike <[email protected]> - 5.8-28
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:rename the local __unused__ to __ctags_unused__
* Tue Sep 24 2019 shenyangyang<[email protected]> - 5.8-27
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise packages and help package
* Thu Sep 12 2019 shenyangyang<[email protected]> - 5.8-26
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix the alternative bug after uninstall ctags(bug 17)
* Mon Aug 12 2019 openEuler Builteam <[email protected]> - 5.8-25
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/ctags.git
[email protected]:src-openeuler/ctags.git
src-openeuler
ctags
ctags
master

搜索帮助