76 lines
2.4 KiB
RPMSpec
76 lines
2.4 KiB
RPMSpec
|
Name: idutils
|
||
|
Version: 4.6
|
||
|
Release: 1mamba
|
||
|
Summary: A set for tools for maintaining an 'ID database'
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.gnu.org/software/idutils/
|
||
|
Source: http://ftp.gnu.org/gnu/idutils/idutils-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
Requires(post):%{__install_info}
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
An 'ID database' is a binary file containing a list of file names, a list of tokens, and a sparse matrix indicating which tokens appear in which files.
|
||
|
With this database and some tools to query it, many text-searching tasks become simpler and faster.
|
||
|
For example, you can list all files that reference a particular `#include' file throughout a huge source hierarchy, search for all the memos containing references to a project, or automatically invoke an editor on all files containing references to some function or variable.
|
||
|
Anyone with a large software project to maintain, or a large set of text files to organize, can benefit from the ID utilities.
|
||
|
Although the name `ID' is short for `identifier', the ID utilities handle more than just identifiers; they also treat other kinds of tokens, most notably numeric constants, and the contents of certain character strings.
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%find_lang %{name}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post
|
||
|
%install_info idutils.info
|
||
|
|
||
|
%preun
|
||
|
%uninstall_info idutils.info
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/aid
|
||
|
%{_bindir}/defid
|
||
|
%{_bindir}/eid
|
||
|
%{_bindir}/fid
|
||
|
%{_bindir}/fnid
|
||
|
%{_bindir}/gid
|
||
|
%{_bindir}/lid
|
||
|
%{_bindir}/mkid
|
||
|
%{_bindir}/xtokid
|
||
|
%{_datadir}/emacs/site-lisp/idutils.el
|
||
|
%{_datadir}/emacs/site-lisp/idutils.elc
|
||
|
%{_datadir}/id-lang.map
|
||
|
%{_infodir}/idutils.info.gz
|
||
|
%{_mandir}/man1/*.1.gz
|
||
|
%doc AUTHORS COPYING
|
||
|
# ChangeLog NEWS README THANKS TODO
|
||
|
|
||
|
%changelog
|
||
|
* Sun Feb 12 2012 Automatic Build System <autodist@mambasoft.it> 4.6-1mamba
|
||
|
- update to 4.6
|
||
|
|
||
|
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 4.5-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Jul 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2-1mamba
|
||
|
- package created by autospec
|