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