forked from pool/rtags
- Update dependencies
- Use more modern macros OBS-URL: https://build.opensuse.org/package/show/devel:tools/rtags?expand=0&rev=17
This commit is contained in:
parent
ae2edbc42c
commit
e801c9224d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 08:22:06 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
- Update dependencies
|
||||
- Use more modern macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 21:56:07 UTC 2019 - Adam Mizerski <adam@mizerski.pl>
|
||||
|
||||
|
31
rtags.spec
31
rtags.spec
@ -22,15 +22,17 @@ Release: 0
|
||||
Summary: Clang based source code indexer
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Navigators
|
||||
Url: https://github.com/Andersbakken/rtags
|
||||
URL: https://github.com/Andersbakken/rtags
|
||||
Source0: https://github.com/Andersbakken/rtags/releases/download/v%{version}/rtags-%{version}.tar.bz2
|
||||
BuildRequires: cmake
|
||||
BuildRequires: emacs-nox
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: llvm-clang-devel
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
%description
|
||||
Rtags is Clang based source file indexer supporting C/C++/Objective-C(++) code.
|
||||
@ -39,15 +41,12 @@ Rtags is Clang based source file indexer supporting C/C++/Objective-C(++) code.
|
||||
%define _scriptdir %{_datadir}/rtags/
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -Wno-unused-parameter"
|
||||
export CXXFLAGS="%{optflags} -Wno-unused-parameter"
|
||||
%cmake \
|
||||
-DCURSES_CURSES_LIBRARY:FILEPATH="%{_libdir}/libncurses.so"
|
||||
|
||||
make %{?_smp_mflags}
|
||||
-DCURSES_CURSES_LIBRARY:FILEPATH="%{_libdir}/libncurses.so"
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -56,13 +55,15 @@ 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 README.org CHANGELOG
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/rdm
|
||||
%{_bindir}/rc
|
||||
%{_bindir}/rp
|
||||
%{_bindir}/gcc-rtags-wrapper.sh
|
||||
%{_mandir}/man7/rc.7%{?ext_man}
|
||||
%{_mandir}/man7/rdm.7%{?ext_man}
|
||||
%{_sitedir}/rtags
|
||||
%{_scriptdir}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user