2 # spec file for package libgpg-error
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
22 License: GPL-2.0+ ; LGPL-2.1+
23 Summary: Library That Defines Common Error Values for All GnuPG Components
24 Url: http://www.gnupg.org/
25 Group: Development/Libraries/C and C++
26 Source: %{name}-%{version}.tar.bz2
27 Source2: baselibs.conf
28 Patch0: %{name}-nld-build.diff
29 BuildRequires: gettext-tools
30 BuildRequires: libtool
31 BuildRoot: %{_tmppath}/%{name}-%{version}-build
34 This is a library that defines common error values for all GnuPG
35 components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
36 pinentry, SmartCard Daemon, and possibly more in the future.
39 License: GPL-2.0+ ; LGPL-2.1+ ; MIT
40 Summary: Development package for libgpg-error
41 Group: Development/Libraries/C and C++
43 Requires: libgpg-error = %{version}
46 Files needed for software development using libgpg-error.
49 %setup -q -n libgpg-error-%{version}
53 %configure --disable-static --with-pic
58 # Drop the lisp stuff, it depends on ASDF and CFFI
59 # which needs to be packaged first
60 rm -r %{buildroot}%{_datadir}/common-lisp
63 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
67 %files -f %{name}.lang
69 %{_libdir}/libgpg-error*.so.*
73 %doc README NEWS ChangeLog COPYING.LIB COPYING AUTHORS ABOUT-NLS
74 %{_datadir}/aclocal/gpg-error.m4
77 %{_libdir}/libgpg-error*.so