Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ymarkovitch
ctags
ctags.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ctags.spec of Package ctags
# # spec file for package ctags # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2016-2024 Yakov Markovitch # # 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 https://bugs.opensuse.org/ # Name: ctags Version: 6.1.20240215 Release: 0 Summary: A Program to Generate Tag Files for Use with vi and Other Editors License: GPL-2.0-or-later Group: Development/Tools/Navigators URL: https://github.com/universal-ctags/ctags Source0: %{name}-%{version}.tar.xz Patch1: ctags-env-sanitize-nowarning.patch Patch2: ctags-autoconf.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: pkg-config %if 0%{suse_version} < 1500 BuildRequires: python-docutils %else BuildRequires: python3-docutils %endif BuildRequires: update-alternatives PreReq: update-alternatives %description Universal CTags from Masatake Yamato, a successor of CTags from Darren Hiebert, generates tag files from source code in C, C++, Eiffel, Fortran, and Java to be used with vi and its derivatives, Emacs, and several other editors. %prep %setup -q %patch1 %global _default_patch_fuzz 2 %patch2 %build autoreconf -if ./configure CFLAGS="%{optflags} -O3 -Wall" \ --prefix=/usr --mandir=%{_mandir} --disable-etags --enable-iconv make %{?_smp_mflags} %install make install prefix=%{buildroot}/usr mandir=%{buildroot}%{_mandir} mv %{buildroot}%{_bindir}/{,universal-}ctags mv %{buildroot}%{_mandir}/man1/{,universal-}ctags.1 rm -rvf %{buildroot}/usr/lib{,exec} %post test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/universal-ctags 20 \ --slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/universal-ctags.1.gz update-alternatives --auto ctags %preun if [ $1 -eq 0 ]; then update-alternatives --remove ctags %{_bindir}/universal-ctags fi %files %defattr(-,root,root) %doc README.md %license COPYING %attr(755,root,root) %{_bindir}/universal-ctags %attr(755,root,root) %{_bindir}/readtags %attr(755,root,root) %{_bindir}/optscript %{_mandir}/man1/readtags.1.gz %{_mandir}/man1/universal-ctags.1.gz %{_mandir}/man5/ctags-json-output.5.gz %{_mandir}/man5/tags.5.gz %{_mandir}/man7/ctags-client-tools.7.gz %{_mandir}/man7/ctags-incompatibilities.7.gz %{_mandir}/man7/ctags-optlib.7.gz %{_mandir}/man7/ctags-lang-*.7.gz %{_mandir}/man7/ctags-faq.7.gz %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