summaryrefslogtreecommitdiff
path: root/packaging/libtasn1.spec
blob: ac63c2d80feeabc775296308aa2cd3fc9d706068 (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
66
67
68
69
70
71
72
73
74
75
76
Name:           libtasn1
Version:        4.13
Release:        0
License:        LGPL-2.1+ or GPL-3.0+
Summary:        ASN
Url:            http://ftp.gnu.org/gnu/libtasn1/
Group:          Security/Crypto Libraries
Source:         %{name}-%{version}.tar.gz
Source99:       baselibs.conf
Source1001:     libtasn1.manifest
BuildRequires:  info
BuildRequires:  pkg-config
BuildRequires:  makeinfo
BuildRequires:  help2man

%description
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org

%package tools
Summary:        ASN
Group:          Security/Crypto Libraries
Requires:       %{name} = %{version}

%description tools
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org

%package devel
Summary:        ASN
Group:          Development/Libraries
Requires:       %{name} = %{version}

%description devel
This is the ASN.1 library used in GNUTLS. More up to date information
can be found at http://www.gnu.org/software/gnutls and
http://www.gnutls.org

%prep
%setup -q
cp %{SOURCE1001} .

%build
touch ChangeLog
%reconfigure --disable-static
%__make %{?_smp_mflags}

%install
%make_install

%post -p /sbin/ldconfig

%postun  -p /sbin/ldconfig

%docs_package

%files tools
%manifest %{name}.manifest
%defattr(-, root, root)
%license COPYING
%{_bindir}/*

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

%files devel
%manifest %{name}.manifest
%defattr(-, root, root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/libtasn1.pc