summaryrefslogtreecommitdiff
path: root/packaging/libgpg-error.spec
blob: 8516f4f637501bbd0ff0b3187fc00a389e930db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Name:           libgpg-error
Version:        1.10
Release:        0
License:        GPL-2.0+ ; LGPL-2.1+
Summary:        Library That Defines Common Error Values for All GnuPG Components
Url:            http://www.gnupg.org/
Group:          Security/Crypto Libraries
Source:         %{name}-%{version}.tar.bz2
Source1:        baselibs.conf
Source1001: 	libgpg-error.manifest
BuildRequires:  gettext-tools
BuildRequires:  libtool

%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.

%package devel
License:        GPL-2.0+ ; LGPL-2.1+ ; MIT
Summary:        Development package for libgpg-error
Group:          Development/Libraries
Requires:       glibc-devel
Requires:       libgpg-error = %{version}

%description devel
Files needed for software development using libgpg-error.

%prep
%setup -q -n libgpg-error-%{version}
cp %{SOURCE1001} .

%build
autoreconf -fiv
%configure --disable-static --with-pic
make %{?_smp_mflags}

%install
%make_install
rm -r %{buildroot}%{_datadir}/common-lisp
%find_lang %{name}

%post  -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%lang_package


%files 
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING.LIB COPYING 
%{_libdir}/libgpg-error*.so.*

%files devel
%manifest %{name}.manifest
%defattr(-,root,root)
%{_datadir}/aclocal/gpg-error.m4
%{_includedir}/*
%{_bindir}/*
%{_libdir}/libgpg-error*.so

%changelog