84 lines
2.7 KiB
RPMSpec
84 lines
2.7 KiB
RPMSpec
Name: idutils
|
|
Version: 4.6
|
|
Release: 2mamba
|
|
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
|
|
Requires(post):%{__install_info}
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
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
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang %{name}
|
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
%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*
|
|
%{_mandir}/man1/*.1*
|
|
%doc AUTHORS COPYING
|
|
# ChangeLog NEWS README THANKS TODO
|
|
|
|
%changelog
|
|
* Thu Nov 02 2023 Automatic Build System <autodist@mambasoft.it> 4.6-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* 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
|