]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- patched for opencdk 0.5.1, release 3
[packages/gnutls.git] / gnutls.spec
1 Summary:        The GNU Transport Layer Security Library
2 Summary(pl):    Biblioteka GNU TLS (Transport Layer Security)
3 Name:           gnutls
4 Version:        0.8.9
5 Release:        3
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz
9 # Source0-md5:  69d1e02095cca39f6e037d66b2f44beb
10 Patch0:         %{name}-libgcrypt.patch
11 Patch1:         %{name}-opencdk.patch
12 URL:            http://www.gnu.org/software/gnutls/
13 BuildRequires:  autoconf >= 2.54
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  libgcrypt-devel >= 1.1.42
17 BuildRequires:  libtasn1-devel
18 BuildRequires:  lzo-devel
19 BuildRequires:  opencdk-devel >= 0.5.1
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 GnuTLS is a project that aims to develop a library which provides a
25 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
26 the gnuTLS library implements the proposed standards by the IETF's TLS
27 working group.
28
29 %description -l pl
30 GnuTLS to projekt maj±cy na celu stworzenie biblioteki udostêpniaj±cej
31 pow³okê bezpieczeñstwa ponad pow³ok± transportow± (np. TCP/IP).
32 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
33 grupê robocz± IETF TLS.
34
35 %package devel
36 Summary:        Header files etc to develop gnutls applications
37 Summary(pl):    Pliki nag³ówkowe i inne do gnutls
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}
40 Requires:       libgcrypt-devel >= 1.1.42
41 Requires:       libtasn1-devel
42 Requires:       zlib-devel
43
44 %description devel
45 Header files etc to develop gnutls applications.
46
47 %description devel -l pl
48 Pliki nag³ówkowe i inne do gnutls.
49
50 %package static
51 Summary:        Static gnutls library
52 Summary(pl):    Biblioteka statyczna gnutls
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static gnutls library.
58
59 %description static -l pl
60 Biblioteka statyczna gnutls.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66
67 %build
68 rm -f missing
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__automake}
73 %configure \
74         --disable-dependency-tracking
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         m4datadir=%{_aclocaldir}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README THANKS
94 %attr(755,root,root) %{_bindir}/*
95 %exclude %{_bindir}/*-config
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*-config
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/gnutls
104 %{_aclocaldir}/*
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
This page took 0.035883 seconds and 3 git commands to generate.