summaryrefslogtreecommitdiff
path: root/packaging/libksba.spec
blob: 9f0e5784eb838adb2825fe9862a8fa17f08c93b3 (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
Name:           libksba
Version:        1.3.0
Release:        1
License:        GPL-3.0+
Summary:        KSBA Library
Url:            http://www.gnupg.org/aegypten/
Group:          Development/Libraries/C and C++
Source:         libksba-%{version}.tar.bz2
BuildRequires:  libgpg-error-devel >= 1.8
BuildRequires:  libtool

%description
KSBA is a library to simplify the task of working with X.509
certificates, CMS data, and related data.

%package devel
License:        GPL-2.0+ ; MIT
Summary:        A X
Group:          Development/Libraries/C and C++
Requires:       libgpg-error-devel
Requires:       libksba = %{version}
Provides:       libksba:/usr/include/ksba.h

%description devel
KSBA is a library to simplify the task of working with X.509
certificates, CMS data, and related data.

This package contains the needed files to compile and link against the
libksba.

%prep
%setup -q -n libksba-%{version}

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

%check
make check

%install
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%license COPYING
%{_libdir}/libksba*.so.*


%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/libksba*.so
%{_includedir}/*
%doc %{_infodir}/ksba*
%{_datadir}/aclocal/*

%changelog