summaryrefslogtreecommitdiff
path: root/packaging/libtasn1.spec
blob: ba3ae15737a318b382aad9587472a5be082708eb (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
Name:           libtasn1
Version:        2.14
Release:        0
License:        LGPL-2.1+ and GPL-3.0
Summary:        ASN
Url:            http://ftp.gnu.org/gnu/libtasn1/
Group:          Productivity/Networking/Security
Source:         %{name}-%{version}.tar.bz2
Source99:       baselibs.conf
BuildRequires:  info
BuildRequires:  pkg-config

%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 devel
Summary:        ASN
Group:          Productivity/Networking/Security
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

%build
%configure --disable-static
make %{?_smp_mflags}

%install
%make_install


%post -p /sbin/ldconfig

%postun  -p /sbin/ldconfig


%docs_package

%files
%defattr(-, root, root)
%{_bindir}/*
%{_libdir}/*.so.*

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

%changelog