1 |
daviddavid |
1716372 |
%define major 0 |
2 |
|
|
%define libname %mklibname gpg-error %{major} |
3 |
|
|
%define develname %mklibname gpg-error -d |
4 |
blino |
478 |
|
5 |
|
|
Summary: Library containing common error values for GnuPG components |
6 |
|
|
Name: libgpg-error |
7 |
luigiwalser |
1930460 |
Version: 1.46 |
8 |
wally |
1842661 |
Release: %mkrel 1 |
9 |
blino |
478 |
License: LGPLv2+ |
10 |
|
|
Group: System/Libraries |
11 |
wally |
1344946 |
URL: https://www.gnupg.org/ |
12 |
|
|
Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-%{version}.tar.bz2 |
13 |
blino |
478 |
|
14 |
|
|
%description |
15 |
|
|
This is a library that defines common error values for all GnuPG |
16 |
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
17 |
|
|
pinentry, SmartCard Daemon and possibly more in the future. |
18 |
|
|
|
19 |
|
|
%package common |
20 |
|
|
Summary: Common files for libgpg-error |
21 |
|
|
Group: System/Libraries |
22 |
fwang |
447664 |
BuildArch: noarch |
23 |
blino |
478 |
|
24 |
|
|
%description common |
25 |
|
|
This package contains the common files that are used by the |
26 |
|
|
libgpg-error library. |
27 |
|
|
|
28 |
|
|
%package -n %{libname} |
29 |
|
|
Summary: Library containing common error values for GnuPG components |
30 |
|
|
Group: System/Libraries |
31 |
|
|
Provides: %{name} = %{version}-%{release} |
32 |
|
|
Requires: %{name}-common >= %{version}-%{release} |
33 |
|
|
|
34 |
|
|
%description -n %{libname} |
35 |
|
|
This is a library that defines common error values for all GnuPG |
36 |
|
|
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, |
37 |
|
|
pinentry, SmartCard Daemon and possibly more in the future. |
38 |
|
|
|
39 |
|
|
%package -n %{develname} |
40 |
|
|
Summary: Development related files of %{name} |
41 |
|
|
Group: Development/Other |
42 |
|
|
Provides: %{name}-devel = %{version}-%{release} |
43 |
akien |
615168 |
Provides: gpg-error-devel = %{version}-%{release} |
44 |
blino |
478 |
Requires: %{libname} = %{version}-%{release} |
45 |
|
|
|
46 |
|
|
%description -n %{develname} |
47 |
|
|
%{name} is a library that defines common error values for all |
48 |
|
|
GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, |
49 |
|
|
libgcrypt, pinentry, SmartCard Daemon and possibly more in the future. |
50 |
|
|
|
51 |
akien |
615168 |
This package contains headers and other necessary files to develop |
52 |
blino |
478 |
or compile applications that use %{name}. |
53 |
|
|
|
54 |
|
|
%prep |
55 |
|
|
%setup -q |
56 |
pterjan |
1217325 |
%autopatch -p1 |
57 |
blino |
478 |
|
58 |
|
|
%build |
59 |
luigiwalser |
1930460 |
%configure --disable-static \ |
60 |
|
|
--disable-rpath \ |
61 |
|
|
--enable-install-gpg-error-config |
62 |
kekepower |
1215765 |
%make_build |
63 |
blino |
478 |
|
64 |
|
|
%check |
65 |
kekepower |
1215765 |
%__make check |
66 |
blino |
478 |
|
67 |
|
|
%install |
68 |
kekepower |
1215765 |
%make_install |
69 |
luigiwalser |
1930460 |
rm -f %{buildroot}%{_libdir}/*.la |
70 |
blino |
478 |
|
71 |
|
|
%find_lang %{name} |
72 |
|
|
|
73 |
|
|
%files common -f %{name}.lang |
74 |
|
|
|
75 |
|
|
%files -n %{libname} |
76 |
ovitters |
876805 |
%{_libdir}/lib*.so.%{major}{,.*} |
77 |
blino |
478 |
|
78 |
|
|
%files -n %{develname} |
79 |
|
|
%doc AUTHORS ChangeLog NEWS README |
80 |
|
|
%{_bindir}/* |
81 |
|
|
%{_datadir}/aclocal/*.m4 |
82 |
wally |
1344949 |
%{_libdir}/pkgconfig/gpg-error.pc |
83 |
blino |
478 |
%{_libdir}/lib*.so |
84 |
|
|
%{_includedir}/* |
85 |
|
|
%{_datadir}/common-lisp/source/gpg-error |
86 |
mjack |
1175284 |
%{_datadir}/libgpg-error/errorref.txt |
87 |
luigiwalser |
837316 |
%{_infodir}/gpgrt.info.* |
88 |
luigiwalser |
1930460 |
%{_mandir}/man1/gpg-error-config.* |