Browse Source

new: universal-ctags

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11072 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 6 years ago
parent
commit
e280e2fb0c
1 changed files with 60 additions and 0 deletions
  1. 60 0
      u/universal-ctags/universal-ctags-vl.spec

+ 60 - 0
u/universal-ctags/universal-ctags-vl.spec

@@ -0,0 +1,60 @@
+%define ver 0.0.0
+%define rel 1
+%define gitrev 66ba533c
+
+Summary: a programming language indexing and/or cross-reference tool
+Name: universal-ctags
+Version: %{ver}
+Release: %{rel}.git%{gitrev}%{?_dist_release}
+Source0: %{name}-%{version}.git%{gitrev}.tar.xz
+License: GPLv2
+Group: Development/Tools
+URL: http://ctags.io/
+Conflicts: ctags
+Provides: ctags
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: python-docutils
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
+
+%description
+Universal-ctags was created to continue the development of Darren Hiebert’s
+Exuberant-ctags after activity on that project unfortunately stalled.
+
+%prep
+%setup -q -n %{name}-%{version}.git%{gitrev}
+
+
+%build
+./autogen.sh
+%configure --enable-iconv
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+%{__make} install-man DESTDIR=${RPM_BUILD_ROOT}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING README.md
+%{_bindir}/ctags
+%{_bindir}/readtags
+%{_mandir}/man1/ctags.1*
+%dir %{_libexecdir}/ctags
+%dir %{_libexecdir}/ctags/drivers
+%{_libexecdir}/ctags/drivers/coffeetags
+
+%changelog
+* Wed May 17 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 0.0.0-1.git66ba533c
+- initial build for Vine Linux
+