]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- use included minitasn1 for now (even CVS is not ready for system libtasn1 0.3.0)
[packages/gnutls.git] / gnutls.spec
1 # TODO: switch back to system libtasn1 when possible
2 Summary:        The GNU Transport Layer Security Library
3 Summary(pl):    Biblioteka GNU TLS (Transport Layer Security)
4 Name:           gnutls
5 Version:        1.3.4
6 Release:        1.1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.bz2
10 # Source0-md5:  81bed0c3a2b4c6ae20237a3f3c441001
11 Patch0:         %{name}-info.patch
12 URL:            http://www.gnu.org/software/gnutls/
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  libcfg+-devel
16 BuildRequires:  libgcrypt-devel >= 1.2.2
17 #BuildRequires: libtasn1-devel >= 0.2.18
18 BuildRequires:  libtool >= 2:1.5
19 BuildRequires:  lzo-devel
20 BuildRequires:  opencdk-devel >= 0.5.5
21 BuildRequires:  readline-devel
22 BuildRequires:  texinfo >= 4.8
23 BuildRequires:  zlib-devel
24 Requires(post,postun):  /sbin/ldconfig
25 Requires:       libgcrypt >= 1.2.2
26 #Requires:      libtasn1 >= 0.2.18
27 Requires:       opencdk >= 0.5.5
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GnuTLS is a project that aims to develop a library which provides a
32 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
33 the gnuTLS library implements the proposed standards by the IETF's TLS
34 working group.
35
36 %description -l pl
37 GnuTLS to projekt maj±cy na celu stworzenie biblioteki udostêpniaj±cej
38 pow³okê bezpieczeñstwa ponad pow³ok± transportow± (np. TCP/IP).
39 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
40 grupê robocz± IETF TLS.
41
42 %package devel
43 Summary:        Header files etc to develop gnutls applications
44 Summary(pl):    Pliki nag³ówkowe i inne do gnutls
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       libgcrypt-devel >= 1.2.2
48 #Requires:      libtasn1-devel >= 0.2.18
49 Requires:       opencdk-devel
50 Requires:       zlib-devel
51
52 %description devel
53 Header files etc to develop gnutls applications.
54
55 %description devel -l pl
56 Pliki nag³ówkowe i inne do gnutls.
57
58 %package static
59 Summary:        Static gnutls library
60 Summary(pl):    Biblioteka statyczna gnutls
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 Static gnutls library.
66
67 %description static -l pl
68 Biblioteka statyczna gnutls.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73
74 %build
75 # supplied libtool is broken (relink)
76 %{__libtoolize}
77 %{__aclocal} -I m4 -I gl/m4
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         --disable-dependency-tracking \
83         --with-included-libtasn1
84
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT \
92         m4datadir=%{_aclocaldir}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post
98 /sbin/ldconfig
99 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
100
101 %postun
102 /sbin/ldconfig
103 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README THANKS
108 %attr(755,root,root) %{_bindir}/certtool
109 %attr(755,root,root) %{_bindir}/gnutls*
110 %attr(755,root,root) %{_bindir}/psktool
111 %attr(755,root,root) %{_bindir}/srptool
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*
113 %{_mandir}/man1/certtool.1*
114 %{_mandir}/man1/gnutls-*
115 %{_mandir}/man1/psktool.1*
116 %{_mandir}/man1/srptool.1*
117 %{_infodir}/*.info*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/libgnutls*-config
122 %attr(755,root,root) %{_libdir}/lib*.so
123 %{_libdir}/lib*.la
124 %{_includedir}/gnutls
125 %{_aclocaldir}/*.m4
126 %{_pkgconfigdir}/*.pc
127 %{_mandir}/man3/*gnutls*.3*
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/lib*.a
This page took 0.060543 seconds and 4 git commands to generate.