2007-01-16 00:22:02 +01:00
|
|
|
#
|
2007-11-22 18:06:02 +01:00
|
|
|
# spec file for package libgpg-error (Version 1.6)
|
2007-01-16 00:22:02 +01:00
|
|
|
#
|
2009-01-29 23:15:33 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:02 +01:00
|
|
|
#
|
2008-11-02 15:42:58 +01: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-16 00:22:02 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:27:18 +02:00
|
|
|
|
2007-01-16 00:22:02 +01:00
|
|
|
Name: libgpg-error
|
2007-11-22 18:06:02 +01:00
|
|
|
Url: http://www.gnupg.org/
|
|
|
|
Version: 1.6
|
2009-02-23 12:54:33 +01:00
|
|
|
Release: 9
|
2007-01-16 00:22:02 +01:00
|
|
|
Summary: Library That Defines Common Error Values for All GnuPG Components
|
2007-11-22 18:06:02 +01:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2007-01-16 00:22:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2007-11-22 18:06:02 +01:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:22:02 +01:00
|
|
|
Source: %name-%version.tar.bz2
|
|
|
|
# rename package to "libgpg-error-nld" and set this to 1 for NLD
|
|
|
|
%define nld_build 0
|
|
|
|
Patch0: %name-nld-build.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon, and possibly more in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcus Brinkmann <marcus@g10code.com>
|
|
|
|
|
|
|
|
%package -n libgpg-error0
|
|
|
|
Summary: Library That Defines Common Error Values for All GnuPG Components
|
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
|
|
|
Group: Development/Libraries/C and C++
|
2009-01-29 23:15:33 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libgpg-error-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-11-22 18:06:02 +01:00
|
|
|
Provides: libgpg-error = %version
|
|
|
|
Obsoletes: libgpg-error < %version
|
|
|
|
|
|
|
|
%description -n libgpg-error0
|
|
|
|
This is a library that defines common error values for all GnuPG
|
|
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
|
|
|
pinentry, SmartCard Daemon, and possibly more in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:22:02 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcus Brinkmann <marcus@g10code.com>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-10 14:27:18 +02:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
|
2007-01-16 00:22:02 +01:00
|
|
|
Summary: Development package for libgpg-error
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-11-02 15:42:58 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libgpg-error-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:22:02 +01:00
|
|
|
%if %nld_build
|
|
|
|
Conflicts: libgpg-error-devel
|
|
|
|
%endif
|
2009-02-23 12:54:33 +01:00
|
|
|
Requires: libgpg-error0 = %version glibc-devel
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files needed for software development using libgpg-error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcus Brinkmann <marcus@g10code.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libgpg-error-%version
|
|
|
|
%if %nld_build
|
|
|
|
%patch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
2009-02-23 12:54:33 +01:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure --disable-static --with-pic --libdir=/%{_lib}
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm $RPM_BUILD_ROOT/%{_lib}/libgpg-error.la
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
2009-02-23 12:54:33 +01:00
|
|
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
|
|
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
2007-01-16 00:22:02 +01:00
|
|
|
# Drop the lisp stuff, it depends on ASDF and CFFI
|
|
|
|
# which needs to be packaged first
|
|
|
|
rm -r %{buildroot}/usr/share/common-lisp
|
2007-11-22 18:06:02 +01:00
|
|
|
%find_lang %{name}
|
2007-01-16 00:22:02 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-02-23 12:54:33 +01:00
|
|
|
%post -n libgpg-error0 -p /sbin/ldconfig
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2009-02-23 12:54:33 +01:00
|
|
|
%postun -n libgpg-error0 -p /sbin/ldconfig
|
2007-01-16 00:22:02 +01:00
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%files -n libgpg-error0 -f %{name}.lang
|
2007-01-16 00:22:02 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
/%_lib/libgpg-error*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-11-22 18:06:02 +01:00
|
|
|
%doc README NEWS ChangeLog COPYING.LIB COPYING AUTHORS ABOUT-NLS
|
2007-01-16 00:22:02 +01:00
|
|
|
%_datadir/aclocal/gpg-error.m4
|
|
|
|
%_includedir/*
|
|
|
|
%_bindir/*
|
|
|
|
%_libdir/libgpg-error*.so
|
|
|
|
|
2007-11-22 18:06:02 +01:00
|
|
|
%changelog
|
2009-02-23 12:54:33 +01:00
|
|
|
* Fri Feb 20 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries, there is no reason to use them as
|
|
|
|
shared libraries live in /%%{_lib}
|
2009-01-29 23:15:33 +01:00
|
|
|
* Thu Jan 29 2009 olh@suse.de
|
|
|
|
- obsolete libgpg-error-XXbit in the library subpackage
|
2008-12-15 13:09:34 +01:00
|
|
|
* Wed Dec 10 2008 olh@suse.de
|
|
|
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
|
|
|
(bnc#437293)
|
2008-11-02 15:42:58 +01:00
|
|
|
* Thu Oct 30 2008 olh@suse.de
|
|
|
|
- obsolete old -XXbit packages (bnc#437293)
|
2008-05-16 22:10:30 +02:00
|
|
|
* Sun May 11 2008 coolo@suse.de
|
|
|
|
- fix rename of xxbit packages
|
2008-04-10 14:27:18 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
|
|
|
* Wed Nov 21 2007 mkoenig@suse.de
|
2007-11-22 18:06:02 +01:00
|
|
|
- update to version 1.6
|
|
|
|
* Minor build system fixes
|
|
|
|
* gpg-error has a new option --version
|
|
|
|
* Interface changes relative to the 1.4 release:
|
|
|
|
GPG_ERR_UNFINISHED NEW
|
|
|
|
GPG_ERR_SOURCE_GPA NEW
|
|
|
|
GPG_ERR_SOURCE_KLEO NEW
|
|
|
|
- package branch to conform shlib policy:
|
|
|
|
libgpg-error0
|
2008-04-10 14:27:18 +02:00
|
|
|
* Wed Dec 13 2006 mkoenig@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- get rid of .la file and fix devel so link
|
2008-04-10 14:27:18 +02:00
|
|
|
* Tue Dec 05 2006 mkoenig@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- move shared lib to /%%_lib
|
2008-04-10 14:27:18 +02:00
|
|
|
* Tue Sep 19 2006 mkoenig@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- update to version 1.4:
|
|
|
|
* New error codes for the Assuan IPC library.
|
|
|
|
* New error code GPG_ERR_MISSING_ERRNO
|
|
|
|
* New error source GPG_ERR_SOURCE_ANY
|
|
|
|
* New convenience functions gpg_err_code_from_syserror and
|
|
|
|
gpg_error_from_syserror
|
2008-04-10 14:27:18 +02:00
|
|
|
* Thu Jul 13 2006 mskibbe@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- add autoreconf --force ( includes the missing -fPIC option while
|
|
|
|
build )
|
2008-04-10 14:27:18 +02:00
|
|
|
* Wed Jul 12 2006 mskibbe@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- update to version 1.3 which
|
|
|
|
o includes fixes in Makefiles
|
|
|
|
o fix cast problems
|
|
|
|
o include utf8 functions
|
|
|
|
o add some languages
|
2008-04-10 14:27:18 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-10 14:27:18 +02:00
|
|
|
* Thu Jun 23 2005 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- require libgpg-error
|
|
|
|
- add %%clean section
|
2008-04-10 14:27:18 +02:00
|
|
|
* Thu Oct 14 2004 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- update to version 1.0
|
2008-04-10 14:27:18 +02:00
|
|
|
* Mon Sep 27 2004 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- fixed ac-quotation of gpg-error.m4
|
2008-04-10 14:27:18 +02:00
|
|
|
* Mon Jul 19 2004 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- correct nld_build if statement
|
2008-04-10 14:27:18 +02:00
|
|
|
* Wed Jul 14 2004 adrian@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- create -devel subpackage
|
|
|
|
- prepare for NLD
|
2008-04-10 14:27:18 +02:00
|
|
|
* Mon May 24 2004 ro@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- added return value to non-void function (main)
|
2008-04-10 14:27:18 +02:00
|
|
|
* Wed May 19 2004 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- update to version 0.7
|
2008-04-10 14:27:18 +02:00
|
|
|
* Tue Feb 17 2004 hvogel@suse.de
|
2007-01-16 00:22:02 +01:00
|
|
|
- initial package, version 0.6
|