[global] Install exuberant-ctags.so (#801562)
Pavel Zhukov
landgraf at fedoraproject.org
Thu Nov 21 20:31:34 UTC 2013
commit c6203d27670a79081e08104c928fff937e2eb4a7
Author: Pavel Zhukov <pzhukov at redhat.com>
Date: Thu Nov 21 20:31:21 2013 +0100
Install exuberant-ctags.so (#801562)
global.spec | 25 ++++++++++++++++++++-----
1 files changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/global.spec b/global.spec
index e79b833..68381c4 100644
--- a/global.spec
+++ b/global.spec
@@ -1,12 +1,12 @@
Name: global
Version: 6.2.9
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Source code tag system
Group: Development/Tools
License: GPLv2+ and BSD
URL: http://www.gnu.org/software/global
Source: ftp://ftp.gnu.org/pub/gnu/global/global-%{version}.tar.gz
-BuildRequires: ncurses-devel
+BuildRequires: ncurses-devel, ctags-etags
%description
GNU GLOBAL is a source code tag system that works the same way across
@@ -32,12 +32,19 @@ Requires: emacs-global = %{version}-%{release}
%description -n emacs-global-el
%{summary}.
+%package ctags
+Summary: Integration of exuberant ctags with global
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}, ctags-etags
+
+%description ctags
+%{summary}.
%prep
%setup -q
%build
-%configure --with-posix-sort=/bin/sort
+%configure --with-posix-sort=/bin/sort --with-exuberant-ctags=/bin/ctags
make %{?_smp_mflags}
%{_emacs_bytecompile} gtags.el
@@ -46,8 +53,9 @@ make install DESTDIR=%{buildroot}
# Remove empty useless directory
rm -f %{buildroot}%{_infodir}/dir
-# Remove example plug-in
-rm -rf %{buildroot}%{_libdir}/gtags
+
+rm -f %{buildroot}%{_libdir}/gtags/*.*a
+rm -f %{buildroot}%{_libdir}/gtags/user-custom.*
rm %{buildroot}/%{_datadir}/gtags/{gtags.el,gtags.conf}
rm %{buildroot}/%{_datadir}/gtags/{AUTHORS,BOKIN_MODEL,BOKIN_MODEL_FAQ,COPYING,ChangeLog,DONORS,FAQ,INSTALL,LICENSE,NEWS,README,THANKS}
@@ -85,7 +93,14 @@ fi
%files -n emacs-global-el
%{_emacs_sitelispdir}/*.el
+%files ctags
+%dir %{_libdir}/gtags
+%{_libdir}/gtags/*
+
%changelog
+* Wed Oct 30 2013 Sjoerd Mullender <sjoerd at acm.org> - 6.2.9-4
+- Install exuberant-ctags.so (#801562).
+
* Tue Oct 08 2013 Pavel Zhukov <landgraf at fedoraproject.org> - 6.2.9-3
- Remove deprecated defattr
- Cosmetic changes after review
More information about the scm-commits
mailing list