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