1Summary: Exuberant Ctags - a multi-language source code indexing tool 2Name: ctags 3Version: 99 4Release: 1 5License: GPLv2 6Group: Development/Tools 7Source: http://prdownloads.sourceforge.net/ctags/ctags-%{version}.tar.gz 8URL: http://ctags.sourceforge.net 9Buildroot: %{_tmppath}/%{name}-%{version}-root 10 11Patch0: empty0.patch 12Patch9999: dummy1.patch 13 14%define __scm_apply_git(qp:m:) %{__git} am 15 16%define YES yes 17%description 18Exuberant Ctags generates an index (or tag) file of language objects 19found in source files for many popular programming languages. This index 20makes it easy for text editors and other tools to locate the indexed 21items. Exuberant Ctags improves on traditional ctags because of its 22multilanguage support, its ability for the user to define new languages 23searched by regular expressions, and its ability to generate emacs-style 24TAGS files. 25 26Install ctags if you are going to use your system for programming. 27 28%undef __scm_apply_git 29%global perf_make make %{?_smp_mflags} -C tools/perf -s V=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 prefix=%{_prefix} lib=%{_lib} 30 31%define install_post \ 32 if [ "%{with_debug}" -ne "0" ]; then \ 33 : \ 34 fi \ 35 if [ "%{with_default}" -ne "0" ]; then \ 36 : \ 37 fi \ 38%{nil} 39 40%package docs 41%description docs 42Something must be written here. 43 44%package -n universal-ctags-devel 45%description universal-ctags-devel 46Something must be written here. 47 48%prep 49%setup -q 50 51%build 52%configure --with-libxml=%{YES} --with-libyml=%{YES}\ 53 --without-foo --enable-bar \ 54 --disable-baz\ 55 --with-bazz=0 56make 57 58%install 59rm -rf $RPM_BUILD_ROOT 60%makeinstall 61 62%clean 63rm -rf $RPM_BUILD_ROOT 64 65%files 66%defattr(-,root,root) 67%doc COPYING EXTENDING.html FAQ NEWS README ctags.html 68%{_bindir}/ctags 69%{_mandir}/man1/ctags* 70