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