Projects
openEuler:24.03:SP1:Everything:64G
cscope
_service:tar_scm:cscope.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:cscope.spec of Package cscope
Name: cscope Summary: a developer's tool for browsing source code Version: 15.9 Release: 7 Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz URL: http://cscope.sourceforge.net License: BSD and GPLv2+ BuildRequires: pkgconfig ncurses-devel flex bison m4 gcc autoconf automake Requires: emacs-filesystem %description Cscope is a developer's tool for browsing source code. It has an impeccable Unix pedigree, having been originally developed at Bell Labs back in the days of the PDP-11. Cscope was part of the official AT&T Unix distribution for many years, and has been used to manage projects involving 20 million lines of code %package_help %prep %autosetup -p1 autoreconf %build %configure %make_build %install %make_install install -d %{buildroot}/var/lib/cs install -d %{buildroot}%{_datadir}/%{name} cp -a contrib/xcscope/xcscope.el %{buildroot}%{_datadir}/%{name} install -m 755 contrib/xcscope/%{name}-indexer %{buildroot}%{_bindir} cp -a contrib/cctree.vim %{buildroot}%{_datadir}/%{name} for dir in %{_datadir}/xemacs/site-packages/lisp %{_datadir}/emacs/site-lisp ; do install -d %{buildroot}$dir ln -s %{_datadir}/%{name}/xcscope.el %{buildroot}$dir touch %{buildroot}$dir/xcscope.elc echo "%ghost $dir/xcscope.el*" >> %{name}-%{version}.files done %files -f %{name}-%{version}.files %doc COPYING %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/ %dir /var/lib/cs %files help %{_mandir}/man1/* %doc AUTHORS ChangeLog TODO README %doc contrib/cctree.txt %triggerin -- emacs, emacs-nox, emacs-lucid ln -sf %{_datadir}/%{name}/xcscope.el %{_datadir}/emacs/site-lisp/xcscope.el %triggerun -- emacs, emacs-nox, emacs-lucid if [ $2 -gt 0 ] then exit 0 fi rm -f %{_datadir}/emacs/site-lisp/xcscope.el %triggerin -- vim-filesystem ln -sf %{_datadir}/%{name}/cctree.vim %{_datadir}/vim/vimfiles/plugin/cctree.vim %triggerun -- vim-filesystem if [ $1 -eq 0 ] || [ $2 -gt 0 ] then rm -f %{_datadir}/vim/vimfiles/plugin/cctree.vim ||: fi %changelog * Wed Jul 31 2024 zhangruifang <zhangruifang@h-partners.com> - 15.9-7 - %%preun remove redundant symbolic links * Mon Oct 24 2022 yanglongkang<yanglongkang@h-partners.com> - 15.9-6 - rebuild for next release * Mon Mar 15 2021 liudabo<liudabo1@h-partners.com> - 15.9-5 - split help package from main package * Fri Dec 11 2020 shixuantong<shixuantong@huawei.com> - 15.9-4 - update Source0 and tarball from upstream * Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 15.9-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2