SHA256
1
0
forked from pool/rtags
Files
rtags/rtags.spec
Martin Liška 1aa5f1ec76 - Update to version 2.18.1+git.20180909.ce3bdfd9:
* Fix typo d2b10d624
  * Start groundwork for making it possible to run rp in a thread
  * loose the warning. Kinda silly.
  * apparently this isn't okay.
  * elisp warnings
  * Opt-in for completion thread diagnostics.
  * Refactor automated test runner
  * Warning.
  * Fixed max-depth issues.
  * Fixed some of the recursion depth issues.
  * Adding imenu index function.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/rtags?expand=0&rev=11
2018-09-22 17:36:07 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package rtags
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: rtags
Version: 2.18.1+git.20180909.ce3bdfd9
Release: 0
Summary: Clang based source code indexer
License: GPL-3.0-or-later
Group: Development/Tools/Navigators
Url: https://github.com/Andersbakken/rtags
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: emacs-nox
BuildRequires: gcc-c++
BuildRequires: libopenssl-devel
BuildRequires: llvm-clang-devel
BuildRequires: llvm-devel
BuildRequires: ncurses-devel
%description
Rtags is Clang based source file indexer supporting C/C++/Objective-C(++) code.
%define _sitedir %{_datadir}/emacs/site-lisp
%define _scriptdir %{_datadir}/rtags/
%prep
%setup -q
%build
export CFLAGS="%{optflags} -Wno-unused-parameter"
export CXXFLAGS="%{optflags} -Wno-unused-parameter"
%cmake \
-DCURSES_CURSES_LIBRARY:FILEPATH="%{_libdir}/libncurses.so"
make %{?_smp_mflags}
%install
%cmake_install
mkdir -p %{buildroot}%{_sitedir} %{buildroot}%{_scriptdir}
install -m 0755 -t %{buildroot}%{_scriptdir} bin/*.sh
chmod 0755 %{buildroot}%{_bindir}/gcc-rtags-wrapper.sh
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man7/rc.7.gz
%{_mandir}/man7/rdm.7.gz
%{_sitedir}/rtags
%{_scriptdir}
%doc LICENSE.txt README.org
%changelog