Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:adrianSuSE:PL
universal-ctags
universal-ctags.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File universal-ctags.spec of Package universal-ctags
# # spec file for package universal-ctags # # Copyright (c) 2023 SUSE LLC # # 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: universal-ctags Version: 6.0.0 Release: 0 Summary: A program to generate language tag files used with various editors License: GPL-2.0-only Group: Development/Tools/Navigators URL: https://github.com/universal-ctags/ctags Source: https://github.com/universal-ctags/ctags/releases/download/v%{version}/universal-ctags-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gzip BuildRequires: make BuildRequires: pkgconfig BuildRequires: python3-Pygments BuildRequires: python3-docutils BuildRequires: texlive-fancyvrb BuildRequires: texlive-latex-bin-bin BuildRequires: update-alternatives Requires(post): update-alternatives Requires(pre): update-alternatives %description Universal ctags, a maintained fork from Darren Hieberts project, generates tag files from source code for various languages to be used with Editors like Emacs, Vim and several others. %prep %autosetup -p1 %build echo '#define CTAGS_REPOINFO "%{version}"' > main/repoinfo.h ./autogen.sh %configure %make_build %make_build -C man %install install -D -m 755 ctags %{buildroot}/%{_bindir}/universal-ctags install -D -m 644 man/ctags.1 %{buildroot}/%{_mandir}/man1/universal-ctags.1 install -D -m 644 man/ctags-incompatibilities.7 %{buildroot}/%{_mandir}/man7/universal-ctags-incompatibilities.7 install -D -m 644 man/ctags-optlib.7 %{buildroot}/%{_mandir}/man7/universal-ctags-optlib.7 mkdir -p %{buildroot}%{_sysconfdir}/alternatives ln -s %{_sysconfdir}/alternatives/ctags %{buildroot}%{_bindir}/ctags ln -s %{_sysconfdir}/alternatives/ctags.1%{?ext_man} %{buildroot}%{_mandir}/man1/universal-ctags.1%{?ext_man} %post test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags update-alternatives --install %{_bindir}/ctags ctags %{_bindir}/universal-ctags 25 \ --slave %{_mandir}/man1/ctags.1.gz ctags.1 %{_mandir}/man1/universal-ctags.1.gz %postun if [ ! -f %{_bindir}/ctags ] ; then update-alternatives --remove ctags %{_bindir}/universal-ctags fi %files %license COPYING %{_bindir}/universal-ctags %{_mandir}/man1/universal-ctags.1%{?ext_man} %{_mandir}/man7/universal-ctags-incompatibilities.7%{?ext_man} %{_mandir}/man7/universal-ctags-optlib.7%{?ext_man} %{_bindir}/ctags %ghost %{_sysconfdir}/alternatives/ctags %ghost %{_sysconfdir}/alternatives/ctags.1%{?ext_man} %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