2007-01-15 23:17:11 +00:00
|
|
|
#
|
|
|
|
# spec file for package idutils (Version 4.2)
|
|
|
|
#
|
2009-06-17 17:39:50 +00:00
|
|
|
# Copyright (c) 2009 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 17:39:50 +00:00
|
|
|
|
2007-01-15 23:17:11 +00:00
|
|
|
Name: idutils
|
|
|
|
BuildRequires: emacs-nox
|
2009-06-17 17:39:50 +00:00
|
|
|
Url: http://www.gnu.org/software/idutils/
|
|
|
|
License: GPL v2 or later
|
2007-01-15 23:17:11 +00:00
|
|
|
Group: Productivity/Text/Utilities
|
|
|
|
Provides: id-utils
|
|
|
|
Obsoletes: id-utils id_utils
|
2009-06-17 17:39:50 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:17:11 +00:00
|
|
|
PreReq: %{install_info_prereq}
|
|
|
|
Summary: Language-Independent Identifier Database Tool
|
|
|
|
Version: 4.2
|
2009-06-17 17:39:50 +00:00
|
|
|
Release: 229
|
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
|
|
|
|
|
|
|
|
%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
|
|
|
|
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=%{_prefix} --infodir=%{_infodir}
|
|
|
|
export LC_CTYPE=ISO-8859-1
|
|
|
|
make
|
|
|
|
|
|
|
|
%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
|
|
|
|
* Fri Nov 10 2006 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Try harder.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Oct 19 2006 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Work around rpm bug.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Aug 10 2006 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Update to idutils 4.2.
|
|
|
|
* Bug fix release.
|
|
|
|
- Rename to idutils.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Jan 09 2006 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Update to id-utils 4.0.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- build as user
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Jun 20 2003 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- fix build with current gettext
|
2009-06-17 17:39:50 +00:00
|
|
|
* Tue May 13 2003 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Add %%defattr.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Apr 24 2003 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- fix install_info --delete call and move from preun to postun
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Apr 07 2003 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Only delete info entries when removing last version.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Feb 06 2003 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Use %%install_info.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Nov 18 2002 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- set AM_GNU_GETTEXT_VERSION to 0.10.40
|
|
|
|
- dont clobber po/Makefile
|
2009-06-17 17:39:50 +00:00
|
|
|
* Sat Mar 30 2002 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Update to id-utils 3.2d.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Nov 08 2001 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Add libjpeg libpng libtiff libungif to neededforbuild.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Wed Nov 07 2001 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Fix typo in locate_id_file_name.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Sep 03 2001 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Fix problem with rehashing.
|
|
|
|
- Fix crashes due to missing files.
|
|
|
|
- Use fgets instead of gets.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Wed Jun 06 2001 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Fix for new configure tools.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Tue Mar 13 2001 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- added emacs-x11 to neededforbuild
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Mar 08 2001 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Add xshared to neededforbuild.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Dec 08 2000 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Use regex from libc.
|
|
|
|
- Fix configure script.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Nov 17 2000 kukuk@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- fix neededforbuild: ge_exec -> emacs
|
2009-06-17 17:39:50 +00:00
|
|
|
* Tue Oct 24 2000 schwab@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Renamed from id_utils
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Jan 20 2000 ke@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Apply patch from ak@suse.de: fix segfault when given no arguments
|
|
|
|
(#1736).
|
|
|
|
- /usr/info -> usr/share/info.
|
|
|
|
- configure -> %%build.
|
|
|
|
- add group tag.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Wed Mar 17 1999 ro@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- changed diff file
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Jul 27 1998 bs@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- added export LC_CTYPE=ISO-8859-1 to build section - emacs needs it.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Jul 17 1998 ke@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- Apply patch from Greg McGary to recognize C++ files.
|
|
|
|
- Improve $RPM_BUILD_ROOT.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Fri Jul 10 1998 bs@suse.de
|
2007-01-15 23:17:11 +00:00
|
|
|
- added xaw3d to neededforbuild (ge_exec needs it)
|
2009-06-17 17:39:50 +00:00
|
|
|
* Thu Oct 09 1997 Karl Eichwalder <ke@suse.de>
|
2007-01-15 23:17:11 +00:00
|
|
|
* .spec: add $RPM_BUILD_ROOT.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Mon Sep 22 1997 Karl Eichwalder <ke@suse.de>
|
2007-01-15 23:17:11 +00:00
|
|
|
* .spec (preamble): #neededforbuild ge_exec.
|
|
|
|
* .spec (%%install): Do Check, create link.
|
|
|
|
* .spec (%%post, %%preun): Remove both.
|
|
|
|
* .spec (%%files): Add /usr/share/id-lang.map.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Wed Sep 10 1997 Karl Eichwalder <ke@suse.de>
|
2007-01-15 23:17:11 +00:00
|
|
|
* Use spec file.
|
2009-06-17 17:39:50 +00:00
|
|
|
* Sat Aug 16 1997 Karl Eichwalder <ke@suse.de>
|
2007-01-15 23:17:11 +00:00
|
|
|
* initial package: version 3.2
|