forked from pool/rtags
Accepting request 733617 from devel:tools
- Update dependencies - Use more modern macros - update to 2.34 * see packaged CHANGELOG file or https://github.com/Andersbakken/rtags/blob/v2.34/CHANGELOG - use release tarball instead of checking out git OBS-URL: https://build.opensuse.org/request/show/733617 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtags?expand=0&rev=6
This commit is contained in:
commit
4a20791120
15
_service
15
_service
@ -1,15 +0,0 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="url">git://github.com/Andersbakken/rtags</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">rtags</param>
|
||||
<param name="versionformat">2.22+git.%cd.%h</param>
|
||||
<param name="revision">c4dea89941554688d4b02509c5cb0c5eeca47981</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
</services>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3f64004911ca9a44d4d745d28345af529675dbb028bb914e7993fc0386ccdb1
|
||||
size 1686076
|
3
rtags-2.34.tar.bz2
Normal file
3
rtags-2.34.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b716c463d369cc6d1032d22db51c21362da7fce3c25dc1e993893499402a30e6
|
||||
size 1437017
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- update to 2.34
|
||||
* see packaged CHANGELOG file or
|
||||
https://github.com/Andersbakken/rtags/blob/v2.34/CHANGELOG
|
||||
- use release tarball instead of checking out git
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 08 11:50:52 UTC 2019 - mliska@suse.cz
|
||||
|
||||
|
35
rtags.spec
35
rtags.spec
@ -16,22 +16,23 @@
|
||||
#
|
||||
|
||||
|
||||
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
||||
Name: rtags
|
||||
Version: 2.22+git.20190304.c4dea899
|
||||
Version: 2.34
|
||||
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
|
||||
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.
|
||||
@ -40,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
|
||||
@ -57,12 +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
|
||||
%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}
|
||||
%doc LICENSE.txt README.org
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user