Accepting request 343286 from home:sleep_walker:branches:devel:tools
- bump to new git snapshot 83a40d0, 2015-11-09 - it fixes missing librct problem - wipe unused files generate-tarball.sh rtags-2.0.tar.gz - add emacs-nox and gcc-c++ into dependencies OBS-URL: https://build.opensuse.org/request/show/343286 OBS-URL: https://build.opensuse.org/package/show/devel:tools/rtags?expand=0&rev=2
This commit is contained in:
parent
cb0d6f4f44
commit
7fab8d4e3b
@ -1,40 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
vers="2.0"
|
||||
|
||||
while getopts v:h opt ; do
|
||||
case $opt in
|
||||
v) vers="$OPTARG" ;;
|
||||
*) echo "Usage: $0 [-v RTAGS-VERSION]" ; exit 1; ;;
|
||||
esac
|
||||
done
|
||||
|
||||
msg() {
|
||||
echo "[*] $*"
|
||||
}
|
||||
|
||||
dir="rtags-$vers"
|
||||
tag="v$vers"
|
||||
tarball="$dir.tar.gz"
|
||||
|
||||
msg "cleaning existing repo/tarball"
|
||||
rm -rf "$dir" "$tarball"
|
||||
|
||||
msg "cloning repo"
|
||||
git clone https://github.com/Andersbakken/rtags.git "$dir"
|
||||
|
||||
msg "init submodules"
|
||||
cd "$dir"
|
||||
git checkout "$tag"
|
||||
git submodule init
|
||||
git submodule update
|
||||
cd ..
|
||||
|
||||
msg "make tarball"
|
||||
find "$dir" -type f | grep -v '/.git' | xargs -d '\n' tar cfvz "$tarball"
|
||||
|
||||
msg "remove repo"
|
||||
rm -rf "$dir"
|
||||
|
||||
msg "done!"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ecf4122ee1593d65630377ed64399b318654419d6869669f2c46ad87d553e643
|
||||
size 1148160
|
3
rtags-2.0.20151109.tar.xz
Normal file
3
rtags-2.0.20151109.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1cf8dd247dbe7b91bd8db1b19bdd9a7779d03722e2a2d443c407f80078d944c
|
||||
size 1161244
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9068070bf30ba42dee392541de16c37297ee2ea886f691ee6922963fb1ed2857
|
||||
size 1272524
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 9 21:52:08 UTC 2015 - sleep_walker@opensuse.org
|
||||
|
||||
- bump to new git snapshot 83a40d0, 2015-11-09
|
||||
- it fixes missing librct problem
|
||||
- wipe unused files
|
||||
generate-tarball.sh
|
||||
rtags-2.0.tar.gz
|
||||
- add emacs-nox and gcc-c++ into dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 08:53:59 UTC 2015 - sleep_walker@opensuse.org
|
||||
|
||||
|
34
rtags.spec
34
rtags.spec
@ -17,29 +17,21 @@
|
||||
|
||||
|
||||
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
||||
|
||||
Name: rtags
|
||||
Version: 2.0.20150915
|
||||
Version: 2.0.20151109
|
||||
Release: 0
|
||||
Summary: Clang based source code indexer
|
||||
License: GPL-3.0+
|
||||
Group: Development/Tools/Navigators
|
||||
Url: https://github.com/Andersbakken/rtags
|
||||
|
||||
# github release archives don't include rct (git submodule)
|
||||
# you need to:
|
||||
# - get the repo
|
||||
# - checkout the right version tag
|
||||
# - init & update the repo git submodule
|
||||
# - make a tarball out of that
|
||||
# See generate-tarball.sh
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: llvm-clang-devel
|
||||
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.
|
||||
@ -61,16 +53,16 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%cmake_install
|
||||
mkdir -p %{buildroot}%{_sitedir} %{buildroot}%{_scriptdir}
|
||||
install -t %{buildroot}%{_scriptdir} bin/*.sh
|
||||
|
||||
install -m 0755 -t %{buildroot}%{_scriptdir} bin/*.sh
|
||||
chmod 0755 %{buildroot}%{_bindir}/gcc-rtags-wrapper.sh
|
||||
|
||||
%files
|
||||
/usr/bin/rc
|
||||
/usr/bin/rdm
|
||||
/usr/bin/rp
|
||||
/usr/share/man/man7/rc.7.gz
|
||||
/usr/share/man/man7/rdm.7.gz
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man7/rc.7.gz
|
||||
%{_mandir}/man7/rdm.7.gz
|
||||
%{_sitedir}/rtags
|
||||
%{_scriptdir}
|
||||
%doc LICENSE.txt README.org
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user