]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- BR: autoconf 2.60 (AC_CHECK_*_ONCE)
[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.4.1
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1948be128e8f684da034b32988867a13
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/gnutls/
12 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  gettext-devel
15 BuildRequires:  libcfg+-devel
16 BuildRequires:  libgcrypt-devel >= 1.2.2
17 BuildRequires:  libtasn1-devel >= 0.3.4
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.3.4
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.3.4
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 %{__gettextize}
76 %{__libtoolize}
77 %{__aclocal} -I m4 -I gl/m4
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         --disable-dependency-tracking
83
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT \
91         m4datadir=%{_aclocaldir}
92
93 %find_lang %{name}
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post
99 /sbin/ldconfig
100 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
101
102 %postun
103 /sbin/ldconfig
104 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog NEWS README THANKS
109 %attr(755,root,root) %{_bindir}/certtool
110 %attr(755,root,root) %{_bindir}/gnutls*
111 %attr(755,root,root) %{_bindir}/psktool
112 %attr(755,root,root) %{_bindir}/srptool
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %{_mandir}/man1/certtool.1*
115 %{_mandir}/man1/gnutls-*
116 %{_mandir}/man1/psktool.1*
117 %{_mandir}/man1/srptool.1*
118 %{_infodir}/*.info*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/libgnutls*-config
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_libdir}/lib*.la
125 %{_includedir}/gnutls
126 %{_aclocaldir}/*.m4
127 %{_pkgconfigdir}/*.pc
128 %{_mandir}/man3/*gnutls*.3*
129
130 %files static
131 %defattr(644,root,root,755)
132 %{_libdir}/lib*.a
This page took 0.030888 seconds and 3 git commands to generate.