Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Ports
global
global.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File global.spec of Package global
# # spec file for package global # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: global Version: 6.5.1 Release: 0 Summary: Common source code tag system License: GPL-3.0 Group: Development/Tools/Navigators Url: http://www.gnu.org/software/global/ Source0: ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz Source1: ftp://ftp.gnu.org/pub/gnu/global/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring Patch0: global-5.7.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: python BuildRequires: sqlite3-devel Requires(pre): %{install_info_prereq} Requires(preun): %{install_info_prereq} Recommends: ctags BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GLOBAL is a common source code tag system for C, C++, Yacc, and Java. You can locate the specified function in source files and move there easily. It is useful to hack a large project containing many subdirectories or many main() functions like MH, X, or Linux kernel. %prep %setup -q %patch0 -p1 %build autoreconf -fiv %configure \ --disable-static \ --with-sqlite3 \ --with-exuberant-ctags=%{_bindir}/ctags make %{?_smp_mflags} %install %make_install install -d -m 755 %{buildroot}/{usr/share/emacs/site-lisp,etc} mv %{buildroot}/%{_docdir}/%{name}/gtags.el %{buildroot}%{_datadir}/emacs/site-lisp/ mv %{buildroot}/%{_docdir}/%{name}/gtags.conf %{buildroot}%{_sysconfdir}/ rm -rf %{buildroot}/%{_docdir}/%{name}/INSTALL %fdupes -s %{buildroot} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files %defattr(-,root,root) %dir %{_datadir}/emacs %dir %{_datadir}/emacs/site-lisp %config(noreplace) %{_sysconfdir}/gtags.conf %{_bindir}/* %doc %{_docdir}/%{name} %{_mandir}/man1/* %{_infodir}/*.info* %{_datadir}/emacs/site-lisp/gtags.el %{_datadir}/gtags %{_libdir}/gtags %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor