2024-01-05 23:52:48 +01:00
Name : idutils
Version : 4.6
2024-01-05 23:52:49 +01:00
Release : 2mamba
2024-01-05 23:52:48 +01:00
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
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
## AUTOBUILDREQ-END
2024-01-05 23:52:49 +01:00
Requires(post) : %{__install_info}
2024-01-05 23:52:48 +01:00
%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.
2024-01-05 23:52:49 +01:00
%debug_package
2024-01-05 23:52:48 +01:00
2024-01-05 23:52:49 +01:00
%prep
2024-01-05 23:52:48 +01:00
%setup -q
2024-01-05 23:52:49 +01:00
sed -i -e '/gets is a security/d' lib/stdio.in.h
sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseterr.c
sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseeko.c
2024-01-05 23:52:48 +01:00
%build
%configure
%make
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall
%find_lang %{name}
2024-01-05 23:52:49 +01:00
rm -f %{buildroot} %{_infodir} /dir
2024-01-05 23:52:48 +01:00
%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
2024-01-05 23:52:49 +01:00
%{_infodir} /idutils.info*
%{_mandir} /man1/*.1*
2024-01-05 23:52:48 +01:00
%doc AUTHORS COPYING
# ChangeLog NEWS README THANKS TODO
%changelog
2024-01-05 23:52:49 +01:00
* Thu Nov 02 2023 Automatic Build System <autodist@mambasoft.it> 4.6-2mamba
- automatic rebuild by autodist
2024-01-05 23:52:48 +01:00
* 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