| 1 |
Name: idutils |
| 2 |
Version: 4.6.28-15da |
| 3 |
Release: 1%{?dist} |
| 4 |
Summary: A simple, fast, high-capacity, language-independent identifier database tool |
| 5 |
|
| 6 |
Group: Development/Tools |
| 7 |
License: GPLv3+ |
| 8 |
URL: http://www.gnu.org/software/idutils/ |
| 9 |
Source0: http://ftp.gnu.org/gnu/idutils/%{name}-%{version}.tar.gz |
| 10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| 11 |
|
| 12 |
BuildRequires: emacs, gettext-devel |
| 13 |
Requires(post): info |
| 14 |
Requires(preun): info |
| 15 |
|
| 16 |
%description |
| 17 |
`mkid' is a simple, fast, high-capacity, language-independent |
| 18 |
identifier database tool. Actually, the term `identifier' is too |
| 19 |
limiting--`mkid' stores tokens, be they program identifiers of any |
| 20 |
form, literal numbers, or words of human-readable text. Database |
| 21 |
queries can be issued from the command-line, or from within emacs, |
| 22 |
serving as an augmented tags facility. |
| 23 |
|
| 24 |
|
| 25 |
%prep |
| 26 |
%setup -q |
| 27 |
|
| 28 |
|
| 29 |
%build |
| 30 |
%configure |
| 31 |
make %{?_smp_mflags} |
| 32 |
|
| 33 |
|
| 34 |
%check |
| 35 |
make check |
| 36 |
|
| 37 |
|
| 38 |
%install |
| 39 |
rm -rf $RPM_BUILD_ROOT |
| 40 |
make install DESTDIR=$RPM_BUILD_ROOT |
| 41 |
%find_lang %{name} |
| 42 |
rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
| 43 |
|
| 44 |
%clean |
| 45 |
rm -rf $RPM_BUILD_ROOT |
| 46 |
|
| 47 |
|
| 48 |
%files -f %{name}.lang |
| 49 |
%defattr(-,root,root,-) |
| 50 |
%doc ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README* THANKS TODO |
| 51 |
%doc %{_mandir}/man1/*.1.gz |
| 52 |
%{_bindir}/* |
| 53 |
%{_datadir}/emacs/site-lisp/ |
| 54 |
%{_datadir}/id-lang.map |
| 55 |
%{_infodir}/idutils.info* |
| 56 |
|
| 57 |
|
| 58 |
%post |
| 59 |
/sbin/install-info %{_infodir}/idutils.info.gz %{_infodir}/dir || : |
| 60 |
|
| 61 |
|
| 62 |
%preun |
| 63 |
if [ "$1" = 0 ]; then |
| 64 |
/sbin/install-info --delete %{_infodir}/idutils.info.gz %{_infodir}/dir || : |
| 65 |
fi |
| 66 |
|
| 67 |
|
| 68 |
%changelog |
| 69 |
* Sat Oct 18 2008 Jim Meyering <[email protected]> |
| 70 |
- Newer version of gnulib to fix test-program build failure on ppc. |
| 71 |
|
| 72 |
* Fri Oct 17 2008 Jim Meyering <[email protected]> |
| 73 |
- Include man1/*.1.gz and tweak Source0. |
| 74 |
|
| 75 |
* Fri Sep 12 2008 Markus Armbruster <[email protected]> |
| 76 |
- Initial build for Fedora |