|
|
eb792c4 |
Name: global
|
|
|
d9430a4 |
Version: 6.5.1
|
|
|
d9430a4 |
Release: 1%{?dist}
|
|
|
eb792c4 |
Summary: Source code tag system
|
|
|
eb792c4 |
Group: Development/Tools
|
|
|
d9430a4 |
# The entire source code is GPLv3+ except
|
|
|
d9430a4 |
# libltdl/ and libglibc/ which are LGPLv2+
|
|
|
d9430a4 |
# gtags-cscope/ which is BSD
|
|
|
d9430a4 |
# libparser/ which is GPLv2+
|
|
|
d9430a4 |
# jquery/ which is MIT
|
|
|
d9430a4 |
License: GPLv3+ and LGPLv2+ and BSD and GPLv2+ and MIT
|
|
|
eb792c4 |
URL: http://www.gnu.org/software/global
|
|
|
eb792c4 |
Source: ftp://ftp.gnu.org/pub/gnu/global/global-%{version}.tar.gz
|
|
|
c6203d2 |
BuildRequires: ncurses-devel, ctags-etags
|
|
|
d9430a4 |
BuildRequires: emacs, xemacs
|
|
|
d9430a4 |
Requires: emacs-filesystem >= %{_emacs_version}
|
|
|
d9430a4 |
Requires: xemacs-filesystem >= %{_xemacs_version}
|
|
|
d9430a4 |
Obsoletes: emacs-global <= 6.5.1-1
|
|
|
d9430a4 |
Obsoletes: emacs-global-el <= 6.5.1-1
|
|
|
d9430a4 |
Provides: emacs-global = %{version}-%{release}
|
|
|
d9430a4 |
Provides: emacs-global-el = %{version}-%{release}
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%description
|
|
|
eb792c4 |
GNU GLOBAL is a source code tag system that works the same way across
|
|
|
eb792c4 |
diverse environments. It supports C, C++, Yacc, Java, PHP and
|
|
|
eb792c4 |
assembler source code.
|
|
|
eb792c4 |
|
|
|
d9430a4 |
%package ctags
|
|
|
d9430a4 |
Summary: Integration of Exuberant Ctags and Pygments with GLOBAL
|
|
|
d9430a4 |
License: GPLv3+
|
|
|
d9430a4 |
Group: Development/Tools
|
|
|
d9430a4 |
Requires: %{name} = %{version}-%{release}, ctags-etags, python-pygments
|
|
|
c6203d2 |
|
|
|
d9430a4 |
%description ctags
|
|
|
d9430a4 |
This package contains plug-ins that provides support for more languages
|
|
|
d9430a4 |
through Pygments and Exuberant Ctags.
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%prep
|
|
|
eb792c4 |
%setup -q
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%build
|
|
|
5b8b6c8 |
%configure --with-posix-sort=/bin/sort --with-exuberant-ctags=/bin/ctags --localstatedir=/var/tmp/
|
|
|
eb792c4 |
make %{?_smp_mflags}
|
|
|
d9430a4 |
# BZ#1268763
|
|
|
d9430a4 |
sed -i -E 's:%{_prefix}/lib(.*)\.la:%{_libdir}\1.so:g' gtags.conf
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%install
|
|
|
eb792c4 |
make install DESTDIR=%{buildroot}
|
|
|
eb792c4 |
|
|
|
eb792c4 |
# Remove empty useless directory
|
|
|
eb792c4 |
rm -f %{buildroot}%{_infodir}/dir
|
|
|
c6203d2 |
|
|
|
c6203d2 |
rm -f %{buildroot}%{_libdir}/gtags/*.*a
|
|
|
c6203d2 |
rm -f %{buildroot}%{_libdir}/gtags/user-custom.*
|
|
|
eb792c4 |
|
|
|
eb792c4 |
rm %{buildroot}/%{_datadir}/gtags/{gtags.el,gtags.conf}
|
|
|
eb792c4 |
rm %{buildroot}/%{_datadir}/gtags/{AUTHORS,BOKIN_MODEL,BOKIN_MODEL_FAQ,COPYING,ChangeLog,DONORS,FAQ,INSTALL,LICENSE,NEWS,README,THANKS}
|
|
|
eb792c4 |
|
|
|
d9430a4 |
# fix rpmlint error
|
|
|
d9430a4 |
chmod +x %{buildroot}/%{_datadir}/gtags/{global,completion}.cgi.tmpl
|
|
|
d9430a4 |
|
|
|
eb792c4 |
mkdir -p %{buildroot}%{_sysconfdir}
|
|
|
eb792c4 |
install gtags.conf -t %{buildroot}%{_sysconfdir}
|
|
|
eb792c4 |
|
|
|
eb792c4 |
mkdir -p %{buildroot}%{_emacs_sitelispdir}
|
|
|
d9430a4 |
install gtags.el -p -t %{buildroot}%{_emacs_sitelispdir}
|
|
|
d9430a4 |
%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/gtags.el
|
|
|
d9430a4 |
chmod -x %{buildroot}%{_emacs_sitelispdir}/gtags.el
|
|
|
d9430a4 |
mkdir -p %{buildroot}%{_xemacs_sitelispdir}
|
|
|
d9430a4 |
install gtags.el -p -t %{buildroot}%{_xemacs_sitelispdir}
|
|
|
d9430a4 |
%{_xemacs_bytecompile} %{buildroot}%{_xemacs_sitelispdir}/gtags.el
|
|
|
d9430a4 |
chmod -x %{buildroot}%{_xemacs_sitelispdir}/gtags.el
|
|
|
eb792c4 |
|
|
|
eb792c4 |
## Remove executable flag
|
|
|
eb792c4 |
chmod -x %{buildroot}/%{_sysconfdir}/gtags.conf
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%post
|
|
|
eb792c4 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%preun
|
|
|
eb792c4 |
if [ $1 -eq 0 ]; then
|
|
|
eb792c4 |
/sbin/install-info --delete %{_infodir}/%{name}.info \
|
|
|
eb792c4 |
%{_infodir}/dir 2>/dev/null || :
|
|
|
eb792c4 |
fi
|
|
|
eb792c4 |
|
|
|
eb792c4 |
%files
|
|
|
d9430a4 |
%doc README THANKS AUTHORS FAQ NEWS BOKIN_MODEL
|
|
|
eb792c4 |
%doc BOKIN_MODEL_FAQ DONORS ChangeLog
|
|
|
d9430a4 |
%license LICENSE COPYING
|
|
|
eb792c4 |
%config(noreplace) %{_sysconfdir}/gtags.conf
|
|
|
eb792c4 |
%{_bindir}/*
|
|
|
eb792c4 |
%{_infodir}/global.info*
|
|
|
eb792c4 |
%{_mandir}/man*/*
|
|
|
eb792c4 |
%{_datadir}/gtags
|
|
|
d9430a4 |
%{_emacs_sitelispdir}/gtags.el*
|
|
|
d9430a4 |
%{_xemacs_sitelispdir}/gtags.el*
|
|
|
eb792c4 |
|
|
|
eb792c4 |
|
|
|
c6203d2 |
%files ctags
|
|
|
c6203d2 |
%dir %{_libdir}/gtags
|
|
|
c6203d2 |
%{_libdir}/gtags/*
|
|
|
c6203d2 |
|
|
|
eb792c4 |
%changelog
|
|
|
d9430a4 |
* Thu Nov 12 2015 Robin Lee <cheeselee@fedoraproject.org> - 6.5.1-1
|
|
|
d9430a4 |
- Update 6.5.1
|
|
|
d9430a4 |
- Dropped global-6.3.3-format-security.patch
|
|
|
d9430a4 |
- Fix plug-ins' paths (BZ#1268763)
|
|
|
d9430a4 |
- Dropped emacs subpackages (BZ#1234559)
|
|
|
d9430a4 |
- Include elisp addon also for XEmacs
|
|
|
d9430a4 |
- Fix some rpmlint errors
|
|
|
d9430a4 |
- Revised summary and description for ctags subpackage
|
|
|
d9430a4 |
- Revised license tags and use %%license to install LICENSE and COPYING
|
|
|
d9430a4 |
|
|
|
42d42e0 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.3-2
|
|
|
42d42e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
42d42e0 |
|
|
|
5b8b6c8 |
* Wed Nov 26 2014 Pavel Zhukov <landgraf@fedoraproject.org> - 6.3.3-1
|
|
|
5b8b6c8 |
- New version
|
|
|
5b8b6c8 |
|
|
|
238dca7 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.12-4
|
|
|
238dca7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
238dca7 |
|
|
|
d8242a5 |
* Fri Aug 08 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 6.2.12-3
|
|
|
d8242a5 |
- Fix FTBFS with -Werror=format-security (#1106647)
|
|
|
d8242a5 |
|
|
|
50c9d52 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.12-2
|
|
|
50c9d52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
50c9d52 |
|
|
|
7e50319 |
* Sat May 17 2014 Pavel Zhukov <landgraf@fedoraproject.org> - 6.2.12-1
|
|
|
7e50319 |
- New release
|
|
|
7e50319 |
|
|
|
c6203d2 |
* Wed Oct 30 2013 Sjoerd Mullender <sjoerd@acm.org> - 6.2.9-4
|
|
|
c6203d2 |
- Install exuberant-ctags.so (#801562).
|
|
|
c6203d2 |
|
|
|
eb792c4 |
* Tue Oct 08 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 6.2.9-3
|
|
|
eb792c4 |
- Remove deprecated defattr
|
|
|
eb792c4 |
- Cosmetic changes after review
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Oct 07 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 6.2.9-1
|
|
|
eb792c4 |
- Unorphan package
|
|
|
eb792c4 |
- New release 6.2.9
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.3-5
|
|
|
eb792c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.3-4
|
|
|
eb792c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.3-3
|
|
|
eb792c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed Dec 8 2010 Karel Klic <kklic@redhat.com> - 5.9.3-2
|
|
|
eb792c4 |
- Added --with-posix-sort=/bin/sort to %%configure to speed up
|
|
|
eb792c4 |
indexing.
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed Dec 8 2010 Karel Klic <kklic@redhat.com> - 5.9.3-1
|
|
|
eb792c4 |
- Newest upstream release.
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed Dec 8 2010 Karel Klic <kklic@redhat.com> - 5.7.5-2
|
|
|
eb792c4 |
- Build gtags.elc and package it in the new emacs-global package.
|
|
|
eb792c4 |
- Package gtags.el in the new emacs-global-el package.
|
|
|
eb792c4 |
- Removed docs from /usr/share/gtags.
|
|
|
eb792c4 |
- Added more docs to %%doc.
|
|
|
eb792c4 |
- Install default gtags.conf into /etc.
|
|
|
eb792c4 |
- Removed deprecated %%clean section.
|
|
|
eb792c4 |
- Removed unused BuildRoot tag.
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7.5-2
|
|
|
eb792c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Tue Jun 16 2009 Gerard Milmeister <gemi@bluewin.ch> - 5.7.5-1
|
|
|
eb792c4 |
- new release 5.7.5
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Fri Nov 21 2008 Gerard Milmeister <gemi@bluewin.ch> - 5.7.3-1
|
|
|
eb792c4 |
- new release 5.7.3
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sun Oct 19 2008 Gerard Milmeister <gemi@bluewin.ch> - 5.7.2-1
|
|
|
eb792c4 |
- new release 5.7.2
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Aug 2 2008 Gerard Milmeister <gemi@bluewin.ch> - 5.7.1-1
|
|
|
eb792c4 |
- new release 5.7.1
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.4-3
|
|
|
eb792c4 |
- fix license tag
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.4-2
|
|
|
eb792c4 |
- Autorebuild for GCC 4.3
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Feb 24 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.4-1
|
|
|
eb792c4 |
- new version 5.4
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Dec 2 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.3-1
|
|
|
eb792c4 |
- new version 5.3
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed Aug 30 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.2-1
|
|
|
eb792c4 |
- new version 5.2
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.0-2
|
|
|
eb792c4 |
- Rebuild for FE6
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sun Apr 30 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.0-1
|
|
|
eb792c4 |
- new version 5.0
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 4.8.7-3
|
|
|
eb792c4 |
- Rebuild for Fedora Extras 5
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed Oct 5 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.8.7-2
|
|
|
eb792c4 |
- Remove dir in /usr/share/info
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Oct 1 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.8.7-1
|
|
|
eb792c4 |
- New Version 4.8.7
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Tue Jul 5 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.8.6-1
|
|
|
eb792c4 |
- New Version 4.8.6
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Wed May 25 2005 Jeremy Katz <katzj@redhat.com> - 4.8.4-4
|
|
|
eb792c4 |
- fix build with gcc4 (#156212)
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 4.8.4-3
|
|
|
eb792c4 |
- rebuild on all arches
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Thu Apr 07 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
eb792c4 |
- rebuilt
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Mar 7 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.8.4-1
|
|
|
eb792c4 |
- New Version 4.8.4
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Mon Dec 27 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.8.2-0.fdr.1
|
|
|
eb792c4 |
- New Version 4.8.2
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Oct 23 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.8.1-0.fdr.1
|
|
|
eb792c4 |
- New Version 4.8.1
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Sat Jul 17 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.7.2-0.fdr.1
|
|
|
eb792c4 |
- New Version 4.7.2
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Fri Mar 19 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.7-0.fdr.1
|
|
|
eb792c4 |
- New Version 4.7
|
|
|
eb792c4 |
|
|
|
eb792c4 |
* Thu Nov 27 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:4.6.1-0.fdr.1
|
|
|
eb792c4 |
- First Fedora release
|
|
|
eb792c4 |
|