Bump to 1.6.3
[platform/upstream/libksba.git] / packaging / libksba.spec
1 Name:           libksba
2 Version:        1.6.3
3 Release:        1
4 License:        LGPL-3.0+ or GPL-2.0+
5 Summary:        KSBA Library
6 Url:            http://www.gnupg.org/aegypten/
7 Group:          Security/Libraries
8 Source:         libksba-%{version}.tar.bz2
9 Source1001:     libksba.manifest
10 BuildRequires:  libgpg-error-devel >= 1.8
11 BuildRequires:  libtool
12
13 %description
14 KSBA is a library to simplify the task of working with X.509
15 certificates, CMS data, and related data.
16
17 %package devel
18 License:        GPL-3.0+
19 Summary:        KSBA Library development package
20 Requires:       libgpg-error-devel
21 Requires:       libksba = %{version}
22 Provides:       libksba:/usr/include/ksba.h
23
24 %description devel
25 KSBA is a library to simplify the task of working with X.509
26 certificates, CMS data, and related data.
27
28 This package contains the needed files to compile and link against the
29 libksba.
30
31 %prep
32 %setup -q -n libksba-%{version}
33 cp %{SOURCE1001} .
34
35 %build
36 autoreconf -fi
37 %configure --disable-static --with-pic
38 %__make %{?_smp_mflags}
39
40 %check
41 # %__make check
42
43 %install
44 %make_install
45
46 %post -p /sbin/ldconfig
47
48 %postun -p /sbin/ldconfig
49
50 %files
51 %manifest %{name}.manifest
52 %license COPYING.LGPLv3 COPYING.GPLv2
53 %{_libdir}/libksba*.so.*
54
55
56 %files devel
57 %manifest %{name}.manifest
58 %license COPYING.GPLv3
59 %{_libdir}/libksba*.so
60 %{_includedir}/*
61 %{_libdir}/pkgconfig/ksba.pc
62 %doc %{_infodir}/ksba*
63 %{_datadir}/aclocal/*
64
65 %changelog