]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- updated to 1.2.7
[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.7
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4aaaf64c28f7e61a6f9612102d85964a
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:       zlib-devel
49
50 %description devel
51 Header files etc to develop gnutls applications.
52
53 %description devel -l pl
54 Pliki nag³ówkowe i inne do gnutls.
55
56 %package static
57 Summary:        Static gnutls library
58 Summary(pl):    Biblioteka statyczna gnutls
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static gnutls library.
64
65 %description static -l pl
66 Biblioteka statyczna gnutls.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 # supplied libtool is broken (relink)
74 %{__libtoolize}
75 %{__aclocal} -I m4 -I gl/m4
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79 %configure \
80         --disable-dependency-tracking
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT \
89         m4datadir=%{_aclocaldir}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post
95 /sbin/ldconfig
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
97
98 %postun
99 /sbin/ldconfig
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README THANKS
105 %attr(755,root,root) %{_bindir}/certtool
106 %attr(755,root,root) %{_bindir}/gnutls*
107 %attr(755,root,root) %{_bindir}/srptool
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109 %{_mandir}/man1/certtool.1*
110 %{_mandir}/man1/gnutls-*
111 %{_mandir}/man1/srptool.1*
112 %{_infodir}/*.info*
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/libgnutls*-config
117 %attr(755,root,root) %{_libdir}/lib*.so
118 %{_libdir}/lib*.la
119 %{_includedir}/gnutls
120 %{_aclocaldir}/*.m4
121 %{_pkgconfigdir}/*.pc
122 %{_mandir}/man3/*gnutls*.3*
123
124 %files static
125 %defattr(644,root,root,755)
126 %{_libdir}/lib*.a
This page took 0.034626 seconds and 4 git commands to generate.