2007-01-15 23:17:11 +00:00
|
|
|
#
|
2014-10-16 16:14:51 +00:00
|
|
|
# spec file for package idutils
|
2007-01-15 23:17:11 +00:00
|
|
|
#
|
2014-10-16 16:14:51 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:17:11 +00:00
|
|
|
#
|
2009-06-17 17:39:50 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-15 23:17:11 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-06-17 17:39:50 +00:00
|
|
|
|
2007-01-15 23:17:11 +00:00
|
|
|
Name: idutils
|
2014-10-16 16:14:51 +00:00
|
|
|
Summary: Language-Independent Identifier Database Tool
|
2011-12-06 17:19:06 +00:00
|
|
|
License: GPL-2.0+
|
2007-01-15 23:17:11 +00:00
|
|
|
Group: Productivity/Text/Utilities
|
|
|
|
Version: 4.2
|
2014-10-16 16:14:51 +00:00
|
|
|
Release: 0
|
|
|
|
Url: http://www.gnu.org/software/idutils/
|
2007-01-15 23:17:11 +00:00
|
|
|
Source: ftp://ftp.gnu.org/pub/gnu/idutils/idutils-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-10-16 16:14:51 +00:00
|
|
|
BuildRequires: emacs-nox
|
|
|
|
PreReq: %{install_info_prereq}
|
|
|
|
Provides: id-utils
|
|
|
|
Obsoletes: id-utils
|
|
|
|
Obsoletes: id_utils
|
2007-01-15 23:17:11 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Mkid is a simple, fast, high-capacity, and language-independent
|
|
|
|
identifier database tool. Actually, the term identifier is too
|
|
|
|
limiting--mkid stores tokens, be they program identifiers of any form,
|
|
|
|
literal numbers, or ordinary words. Database queries can be issued
|
|
|
|
from the command line or from within Emacs, serving as an augmented
|
|
|
|
tags facility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Greg McGary <gkm@gnu.org>
|
|
|
|
Tom Horsley <Tom.Horsley@mail.hcsc.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
|
|
|
#autoreconf --force --install
|
|
|
|
#test -f po/Makevars || mv po/Makevars.template po/Makevars
|
2014-10-16 16:14:51 +00:00
|
|
|
%configure
|
2007-01-15 23:17:11 +00:00
|
|
|
export LC_CTYPE=ISO-8859-1
|
2014-10-16 16:14:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:17:11 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
install -d $RPM_BUILD_ROOT/var/lib/idutils
|
|
|
|
mv $RPM_BUILD_ROOT%{_prefix}/share/id-lang.map $RPM_BUILD_ROOT/var/lib/idutils
|
|
|
|
ln -s ../../var/lib/idutils/id-lang.map $RPM_BUILD_ROOT%{_prefix}/share/id-lang.map
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
%post
|
|
|
|
if test -f %{_infodir}/id-utils.info.gz; then
|
|
|
|
mv %{_infodir}/id-utils.info.gz %{_infodir}/id-utils.info.gz.rpmdelete
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/id-utils.info.gz
|
|
|
|
mv %{_infodir}/id-utils.info.gz.rpmdelete %{_infodir}/id-utils.info.gz
|
|
|
|
fi
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/idutils.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/idutils.info.gz
|
|
|
|
|
|
|
|
%files -f %name.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ABOUT-NLS AUTHORS COPYING NEWS README THANKS TODO
|
|
|
|
%config /var/lib/idutils/id-lang.map
|
|
|
|
%dir /var/lib/idutils
|
|
|
|
%{_prefix}/share/id-lang.map
|
|
|
|
%{_prefix}/share/emacs/site-lisp/idutils.el
|
|
|
|
%{_prefix}/share/emacs/site-lisp/idutils.elc
|
|
|
|
%{_prefix}/bin/*
|
|
|
|
%doc %{_infodir}/idutils.info*
|
|
|
|
|
2009-06-17 17:39:50 +00:00
|
|
|
%changelog
|