summaryrefslogtreecommitdiff
path: root/packaging/libksba.spec
blob: c50fa5b06f097765edc6b07c79f1cc3ecf2fb435 (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
65
Name:           libksba
Version:        1.3.0
Release:        1
License:        GPL-3.0+ and LGPL-3.0+
Summary:        KSBA Library
Url:            http://www.gnupg.org/aegypten/
Group:          Security/Libraries
Source:         libksba-%{version}.tar.bz2
Source1001: 	libksba.manifest
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
Summary:        A X
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}
cp %{SOURCE1001} .

%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
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING*
%{_libdir}/libksba*.so.*


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

%changelog