Blame SPECS/cscope.spec

579198
Summary: C source code tree search and browse tool 
579198
Name: cscope
579198
Version: 15.9
2ec332
Release: 6%{?dist}
579198
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
579198
URL: http://cscope.sourceforge.net
579198
License: BSD and GPLv2+
579198
Group: Development/Tools 
579198
BuildRequires: pkgconf-pkg-config ncurses-devel flex bison m4
579198
BuildRequires: autoconf automake
579198
Requires: emacs-filesystem
579198
%if !0%{?rhel}
579198
Requires: xemacs-filesystem
579198
%endif
579198
579198
Patch0:	cscope-coverity-fixes.patch
579198
Patch1: cscope-selftest.patch
579198
Patch2: cscope-selftest-repoint.patch
579198
Patch3: cscope-version.patch
2ec332
Patch4: cscope-cscope-indexer-help.patch
579198
579198
%define cscope_share_path %{_datadir}/cscope
579198
%define xemacs_lisp_path %{_datadir}/xemacs/site-packages/lisp
579198
%define emacs_lisp_path %{_datadir}/emacs/site-lisp
579198
%define vim_plugin_path %{_datadir}/vim/vimfiles/plugin
579198
579198
579198
%description
579198
cscope is a mature, ncurses based, C source code tree browsing tool.  It 
579198
allows users to search large source code bases for variables, functions,
579198
macros, etc, as well as perform general regex and plain text searches.  
579198
Results are returned in lists, from which the user can select individual 
579198
matches for use in file editing.
579198
579198
%prep
579198
%autosetup -p1
579198
579198
%build
579198
aclocal
579198
autoheader
579198
autoconf
579198
automake --add-missing
579198
%configure
579198
make
579198
make check
579198
579198
%install
579198
rm -rf $RPM_BUILD_ROOT %{name}-%{version}.files
579198
make DESTDIR=$RPM_BUILD_ROOT install 
579198
mkdir -p $RPM_BUILD_ROOT/var/lib/cs
579198
mkdir -p $RPM_BUILD_ROOT%{cscope_share_path}
579198
cp -a contrib/xcscope/xcscope.el $RPM_BUILD_ROOT%{cscope_share_path}
579198
install -m 755 contrib/xcscope/cscope-indexer $RPM_BUILD_ROOT%{_bindir}
579198
cp -a contrib/cctree.vim $RPM_BUILD_ROOT%{cscope_share_path}
579198
for dir in %{xemacs_lisp_path} %{emacs_lisp_path} ; do
579198
  mkdir -p $RPM_BUILD_ROOT$dir
579198
  ln -s %{cscope_share_path}/xcscope.el $RPM_BUILD_ROOT$dir
579198
  touch $RPM_BUILD_ROOT$dir/xcscope.elc
579198
  echo "%ghost $dir/xcscope.el*" >> %{name}-%{version}.files
579198
done
579198
579198
579198
579198
%files -f %{name}-%{version}.files
579198
%defattr(-,root,root,-)
579198
%{_bindir}/*
579198
%dir %{cscope_share_path}
579198
%{cscope_share_path}/
579198
%{_mandir}/man1/*
579198
%dir /var/lib/cs
579198
%doc AUTHORS COPYING ChangeLog README TODO contrib/cctree.txt
579198
579198
%if !0%{?rhel}
579198
%triggerin -- xemacs
579198
ln -sf %{cscope_share_path}/xcscope.el %{xemacs_lisp_path}/xcscope.el
579198
%endif
579198
579198
%triggerin -- emacs, emacs-nox, emacs-lucid
579198
ln -sf %{cscope_share_path}/xcscope.el %{emacs_lisp_path}/xcscope.el
579198
579198
%triggerin -- vim-filesystem
579198
ln -sf %{cscope_share_path}/cctree.vim %{vim_plugin_path}/cctree.vim
579198
579198
%if !0%{?rhel}
579198
%triggerun -- xemacs
579198
[ $2 -gt 0 ] && exit 0
579198
rm -f %{xemacs_lisp_path}/xcscope.el
579198
%endif
579198
579198
%triggerun -- emacs, emacs-nox, emacs-lucid
579198
[ $2 -gt 0 ] && exit 0
579198
rm -f %{emacs_lisp_path}/xcscope.el
579198
579198
%triggerun -- vim-filesystem
579198
[ $2 -gt 0 ] && exit 0
579198
rm -f %{vim_plugin_path}/cctree.vim
579198
579198
%changelog
2ec332
* Tue Jun 25 2019 Neil Horman <nhorman@redhat.com> - 15.9-6
2ec332
- Fix covscan warning (bz 1722404)
2ec332
2ec332
* Mon Jun 24 2019 Neil Horman <nhorman@redhat.com> - 15.9-5
2ec332
- update help for cscope-indexer (bz 1722404)
2ec332
579198
* Mon Jun 03 2019 Neil Horman <nhorman@redhat.com> - 15.9-4
579198
- Fix cscope version (bz 1685920)
579198
579198
* Thu Feb 28 2019 Neil Horman <nhorman@redhat.com> - 15.9-3
579198
- Add CI test harness (bz 1682353)
579198
579198
* Fri Oct 12 2018 Neil Horman <nhorman@redhat.com> - 15.9-2
579198
- Fix up some coverity scan issues (bz 1602468)
579198
579198
* Tue Jul 24 2018 Neil Horman <nhorman@redhat.com> - 15.9-1
579198
- Update to latest upstream with coverity fixes (bz 1602468)
579198
579198
* Thu Mar 01 2018 Josh Boyer <jwboyer@fedoraproject.org> - 15.8b-8
579198
- Conditionalize xemacs
579198
579198
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 15.8b-7
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
579198
579198
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15.8b-6
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
579198
579198
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15.8b-5
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
579198
579198
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 15.8b-4
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
579198
579198
* Mon Nov 28 2016 Neil Horman <nhorman@redhat.com> - 15.8b-3
579198
- Changed permissions on cscope-indexer (bz 1399108)
579198
579198
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.8b-2
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
579198
579198
* Wed Aug 05 2015 Neil Horman <nhorman@redhat.com> - 15.8b-1
579198
- Update to latest upstream
579198
579198
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> -
579198
* 15.8-12
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
579198
579198
* Tue Sep 30 2014 Neil Horman <nhorman@redhat.com> - 15.8-11
579198
- Added triggerin support for emacs-nox (bz 961709)
579198
579198
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.8-10
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
579198
579198
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.8-9
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
579198
579198
* Tue Apr 15 2014 Neil Horman <nhorman@redhat.com> - 15.8-8
579198
- Fixed formatting issue with empty function array (bz 1087940)
579198
579198
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.8-7
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
579198
579198
* Mon Mar 25 2013 Neil Horman <nhorman@redhat.com> - 15.8-6
579198
- Fixed build break
579198
579198
* Mon Mar 25 2013 Neil Horman <nhorman@redhat.com> - 15.8-5
579198
- Updated to run autoreconf for impending aarch64 introduction (bz 925201)
579198
579198
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.8-4
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
579198
579198
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.8-3
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
579198
579198
* Tue Jul 10 2012 Neil Horman <nhorman@redhat.com> - 15.8-2
579198
- Fix inverted index sizing
579198
579198
* Mon Jun 18 2012 Neil Horman <nhorman@redhat.com> - 15.8
579198
- Update to latest upstream
579198
579198
* Mon Mar 12 2012 Neil Horman <nhorman@redhat.com> -15.7a-10
579198
- Fixed a segfault in invlib construction ( bz 786523)
579198
579198
* Mon Mar 05 2012 Neil Horman <nhorman@redhat.com> 15.7a-9
579198
- Fixed a segfault in the symbol assignment search (bz 799643)
579198
579198
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.7a-8
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
579198
579198
* Thu Jun 30 2011 Neil Horman <nhorman@redhat.com> - 15.7a-7
579198
- Added LEXERR token to catch bad parsing before we crash (bz717545)
579198
579198
* Fri Jun 24 2011 Neil Horman <nhorman@redhat.com> - 15.7a-6
579198
- Fixed licensing for xcscope.el (bz 715898)
579198
- Fixed xemacs pkg. dependency (bz 719523)
579198
579198
* Wed Jun 01 2011 Neil Horman <nhorman@redhat.com> - 15.7a-5
579198
- Fix scriptles macro expansion (bz 708499)
579198
579198
* Thu May 26 2011 Neil Horman <nhorman@redhat.com> - 15.7a-4
579198
- Added cctree.vim vi plugin
579198
579198
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.7a-3
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
579198
579198
* Thu Sep 30 2010 Neil Horman 
579198
- Ignore SIGPIPE in line mode (bz 638756)
579198
579198
* Mon Mar 1 2010 Neil Horman <nhorman@redhat.com> - 15.7a-1
579198
- Update to latest upstream release (bz 569043)
579198
579198
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.6-5
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
579198
579198
* Fri Jun 12 2009 Neil Horman <nhorman@redhat.com>
579198
- Fix some buffer overflows (bz 505605)
579198
579198
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.6-3
579198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
579198
579198
* Tue Jul 08 2008 Neil Horman <nhorman@redhat.com> -15.6-2.dist
579198
- Grab upstream patch for -q rebuld (bz 436648)
579198
579198
* Tue Mar 27 2007 Neil Horman <nhorman@redhat.com> -15.6-1.dist
579198
- Rebase to version 15.6
579198
579198
* Mon Mar 05 2007 Neil Horman <nhorman@redhat.com> -15.5-15.4.dist
579198
- Make sigwinch handler only register for curses mode (bz 230862)
579198
579198
* Mon Feb 05 2007 Neil Horman <nhorman@redhat.com> -15.5-15.3.dist
579198
- Fixing dist label in release tag.
579198
579198
* Thu Feb 01 2007 Neil Horman <nhorman@redhat.com> -15.5-15.2.dist
579198
- Fixing changelog to not have macro in release
579198
579198
* Wed Aug 23 2006 Neil Horman <nhorman@redhat.com> -15.5-15.1
579198
- fixed overflows per bz 203651
579198
- start using {dist} tag to make release numbering easier
579198
579198
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 15.5-14
579198
- rebuild
579198
579198
* Fri Jun 23 2006 Neil Horman <nhorman@redhat.com>
579198
- Fix putstring overflow (bz 189666)
579198
579198
* Fri Jun 23 2006 Neil Horman <nhorman@redhat.com>
579198
- Fix putstring overflow (bz 189666)
579198
579198
* Fri May 5  2006 Neil Horman <nhorman@redhat.com>
579198
- Adding fix to put SYSDIR in right location (bz190580)
579198
579198
* Fri Apr 21 2006 Neil Horman <nhorman@redhat.com> - 15.5-13.4
579198
- adding inverted index overflow patch
579198
579198
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 15.5-13.2
579198
- bump again for double-long bug on ppc(64)
579198
579198
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 15.5-13.1
579198
- rebuilt for new gcc4.1 snapshot and glibc changes
579198
579198
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
579198
- rebuild on new gcc
579198
579198
* Tue Nov 30 2004 Neil Horman <nhorman@redhat.com>
579198
- added tempsec patch to fix bz140764/140765
579198
579198
* Mon Nov 29 2004 Neil Horman <nhorman@redhat.com>
579198
- updated cscope resize patch to do less work in
579198
  signal handler and synced version nr. on dist.
579198
579198
* Mon Nov 22 2004 Neil Horman <nhorman@redhat.com>
579198
- added cscope-1.5.-resize patch to allow terminal
579198
  resizing while cscope is running
579198
579198
* Tue Oct 5  2004 Neil Horman <nhorman@redhat.com>
579198
- modified cscope-15.5.-inverted patch to be upstream
579198
  friendly
579198
579198
* Tue Sep 28 2004 Neil Horman <nhorman@redhat.com>
579198
- fixed inverted index bug (bz 133942)
579198
 
579198
* Mon Sep 13 2004 Frank Ch. Eigler <fche@redhat.com>
579198
- bumped release number to a plain "1"
579198
579198
* Fri Jul 16 2004 Neil Horman <nhorman@redhat.com>
579198
- Added cscope-indexer helper and xcscope lisp addon
579198
- Added man page for xcscope
579198
- Added triggers to add xcscope.el pkg to (x)emacs
579198
- Thanks to Ville, Michael and Jens for thier help :)
579198
579198
* Fri Jul 2 2004 Neil Horman <nhorman@redhat.com>
579198
- Added upstream ocs fix
579198
- Added feature to find symbol assignments
579198
- Changed default SYSDIR directory to /var/lib/cs
579198
- Incoproated M. Schwendt's fix for ocs -s 
579198
579198
* Fri Jun 18 2004 Neil Horman <nhorman@redhat.com>
579198
- built the package