]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
- converted to UTF-8
[packages/gnutls.git] / gnutls.spec
1 Summary:        The GNU Transport Layer Security Library
2 Summary(pl.UTF-8):   Biblioteka GNU TLS (Transport Layer Security)
3 Name:           gnutls
4 Version:        1.6.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:  fc3cc2509aa93e150cafd39619de7428
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 >= 0.14.5
15 BuildRequires:  libcfg+-devel
16 BuildRequires:  libgcrypt-devel >= 1.2.2
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtasn1-devel >= 0.3.4
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.4
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.UTF-8
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.UTF-8):   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.4
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.UTF-8
57 Pliki nagłówkowe i inne do gnutls.
58
59 %package static
60 Summary:        Static gnutls library
61 Summary(pl.UTF-8):   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.UTF-8
69 Biblioteka statyczna gnutls.
70
71 %package c++
72 Summary:        libgnutlsxx - C++ interface to gnutls library
73 Summary(pl.UTF-8):   libgnutlsxx - interfejs C++ do biblioteki gnutls
74 Group:          Libraries
75 Requires:       %{name} = %{version}-%{release}
76
77 %description c++
78 libgnutlsxx - C++ interface to gnutls library.
79
80 %description c++ -l pl.UTF-8
81 libgnutlsxx - interfejs C++ do biblioteki gnutls.
82
83 %package c++-devel
84 Summary:        Header files for libgnutlsxx, a C++ interface to gnutls library
85 Summary(pl.UTF-8):   Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls
86 Group:          Development/Libraries
87 Requires:       %{name}-c++ = %{version}-%{release}
88 Requires:       %{name}-devel = %{version}-%{release}
89 Requires:       libstdc++-devel
90
91 %description c++-devel
92 Header files for libgnutlsxx, a C++ interface to gnutls library.
93
94 %description c++-devel -l pl.UTF-8
95 Pliki nagłówkowe libgnutlsxx - interfejsu C++ do biblioteki gnutls.
96
97 %package c++-static
98 Summary:        Static version of libgnutlsxx, a C++ interface to gnutls library
99 Summary(pl.UTF-8):   Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls
100 Group:          Development/Libraries
101 Requires:       %{name}-c++-devel = %{version}-%{release}
102
103 %description c++-static
104 Static version of libgnutlsxx, a C++ interface to gnutls library.
105
106 %description c++-static -l pl.UTF-8
107 Statyczna wersja libgnutlsxx - interfejsu C++ do biblioteki gnutls.
108
109 %prep
110 %setup -q
111 %patch0 -p1
112
113 %build
114 %{__gettextize}
115 %{__libtoolize}
116 %{__aclocal} -I m4 -I gl/m4 -I lgl/m4
117 %{__autoconf}
118 %{__autoheader}
119 %{__automake}
120 %configure \
121         --disable-dependency-tracking
122
123 %{__make}
124
125 %install
126 rm -rf $RPM_BUILD_ROOT
127
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT \
130         m4datadir=%{_aclocaldir}
131
132 %find_lang %{name}
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %post
138 /sbin/ldconfig
139 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
140
141 %postun
142 /sbin/ldconfig
143 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
144
145 %post   c++ -p /sbin/ldconfig
146 %postun c++ -p /sbin/ldconfig
147
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %doc AUTHORS ChangeLog NEWS README THANKS
151 %attr(755,root,root) %{_bindir}/certtool
152 %attr(755,root,root) %{_bindir}/gnutls-*
153 %attr(755,root,root) %{_bindir}/psktool
154 %attr(755,root,root) %{_bindir}/srptool
155 %attr(755,root,root) %{_libdir}/libgnutls.so.*.*.*
156 %attr(755,root,root) %{_libdir}/libgnutls-extra.so.*.*.*
157 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so.*.*.*
158 %{_mandir}/man1/certtool.1*
159 %{_mandir}/man1/gnutls-*.1*
160 %{_mandir}/man1/psktool.1*
161 %{_mandir}/man1/srptool.1*
162 %{_infodir}/gnutls.info*
163
164 %files devel
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_bindir}/libgnutls-config
167 %attr(755,root,root) %{_bindir}/libgnutls-extra-config
168 %attr(755,root,root) %{_libdir}/libgnutls.so
169 %attr(755,root,root) %{_libdir}/libgnutls-extra.so
170 %attr(755,root,root) %{_libdir}/libgnutls-openssl.so
171 %{_libdir}/libgnutls.la
172 %{_libdir}/libgnutls-extra.la
173 %{_libdir}/libgnutls-openssl.la
174 %{_includedir}/gnutls
175 %exclude %{_includedir}/gnutls/gnutlsxx.h
176 %{_aclocaldir}/libgnutls.m4
177 %{_aclocaldir}/libgnutls-extra.m4
178 %{_pkgconfigdir}/gnutls.pc
179 %{_pkgconfigdir}/gnutls-extra.pc
180 %{_mandir}/man3/*gnutls*.3*
181
182 %files static
183 %defattr(644,root,root,755)
184 %{_libdir}/libgnutls.a
185 %{_libdir}/libgnutls-extra.a
186 %{_libdir}/libgnutls-openssl.a
187
188 %files c++
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_libdir}/libgnutlsxx.so.*.*.*
191
192 %files c++-devel
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_libdir}/libgnutlsxx.so
195 %{_libdir}/libgnutlsxx.la
196 %{_includedir}/gnutls/gnutlsxx.h
197
198 %files c++-static
199 %defattr(644,root,root,755)
200 %{_libdir}/libgnutlsxx.a
This page took 0.038149 seconds and 4 git commands to generate.