ba3ae15737a318b382aad9587472a5be082708eb
[platform/upstream/libtasn1.git] / packaging / libtasn1.spec
1 Name:           libtasn1
2 Version:        2.14
3 Release:        0
4 License:        LGPL-2.1+ and GPL-3.0
5 Summary:        ASN
6 Url:            http://ftp.gnu.org/gnu/libtasn1/
7 Group:          Productivity/Networking/Security
8 Source:         %{name}-%{version}.tar.bz2
9 Source99:       baselibs.conf
10 BuildRequires:  info
11 BuildRequires:  pkg-config
12
13 %description
14 This is the ASN.1 library used in GNUTLS. More up to date information
15 can be found at http://www.gnu.org/software/gnutls and
16 http://www.gnutls.org
17
18 %package devel
19 Summary:        ASN
20 Group:          Productivity/Networking/Security
21 Requires:       %{name} = %{version}
22
23 %description devel
24 This is the ASN.1 library used in GNUTLS. More up to date information
25 can be found at http://www.gnu.org/software/gnutls and
26 http://www.gnutls.org
27
28 %prep
29 %setup -q
30
31 %build
32 %configure --disable-static
33 make %{?_smp_mflags}
34
35 %install
36 %make_install
37
38
39 %post -p /sbin/ldconfig
40
41 %postun  -p /sbin/ldconfig
42
43
44 %docs_package
45
46 %files
47 %defattr(-, root, root)
48 %{_bindir}/*
49 %{_libdir}/*.so.*
50
51 %files devel
52 %defattr(-, root, root)
53 %{_includedir}/*.h
54 %{_libdir}/*.so
55 %{_libdir}/pkgconfig/libtasn1.pc
56
57 %changelog