rtags/rtags.spec
Martin Pluskal 75b589c49d Accepting request 519050 from home:marxin:branches:devel:tools
- Update to version 2.13+git.20170825.93b00636:
  * Biump rct.
  * Not used.
  * grammar
  * Fix issue #1031. Detect if json.h is supported or not and turn off json output for completions if it isn't.
  * Kill previous rtags-find-symbol-at-point buffer if there is one.
  * Fix issue with the following example:
  * Fix an issue with this construct:
  * Bump database.
  * Bump version
  * Fix issue #1035 and issue #1035.

OBS-URL: https://build.opensuse.org/request/show/519050
OBS-URL: https://build.opensuse.org/package/show/devel:tools/rtags?expand=0&rev=7
2017-08-28 09:33:43 +00:00

69 lines
2.0 KiB
RPMSpec

#
# spec file for package rtags
#
# Copyright (c) 2017 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/
#
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: rtags
Version: 2.13+git.20170825.93b00636
Release: 0
Summary: Clang based source code indexer
License: GPL-3.0+
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